Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1943/0.1951, allocations: 82.22 MB / 0.5941 GB, free: 5.547 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01039/0.2055, allocations: 9.41 MB / 0.6033 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006156/0.2117, allocations: 3.175 MB / 0.6064 GB, free: 8.906 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009419/0.2127, allocations: 31.81 kB / 0.6064 GB, free: 8.875 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006871/0.2134, allocations: 178.7 kB / 0.6066 GB, free: 8.699 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002257/0.2157, allocations: 0.6771 MB / 0.6073 GB, free: 8.02 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.2173, allocations: 0.546 MB / 0.6078 GB, free: 7.473 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004678/0.222, allocations: 4.017 MB / 0.6117 GB, free: 3.445 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005069/0.2271, allocations: 3.121 MB / 0.6148 GB, free: 280 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001719/0.2288, allocations: 0.8287 MB / 0.6156 GB, free: 15.44 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002384/0.2312, allocations: 1.285 MB / 0.6168 GB, free: 14.15 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004943/0.2317, allocations: 100 kB / 0.6169 GB, free: 14.05 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.2331, allocations: 447.3 kB / 0.6174 GB, free: 13.62 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001083/0.2342, allocations: 0.8262 MB / 0.6182 GB, free: 12.79 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001068/0.2353, allocations: 0.8529 MB / 0.619 GB, free: 11.93 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003188/0.2385, allocations: 3.22 MB / 0.6222 GB, free: 8.695 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2385, allocations: 0 / 0.6222 GB, free: 8.695 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2385, allocations: 0 / 0.6222 GB, free: 8.695 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.048e-05/0.2385, allocations: 4 kB / 0.6222 GB, free: 8.691 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 416 * Number of variables: 416 Notification: Performance of Generate backend data structure: time 0.003151/0.2417, allocations: 1.596 MB / 0.6237 GB, free: 7.039 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.2418, allocations: 12.02 kB / 0.6237 GB, free: 7.027 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005784/0.2475, allocations: 0.8805 MB / 0.6246 GB, free: 6.145 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/0.2494, allocations: 1.106 MB / 0.6257 GB, free: 4.992 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.466e-05/0.2495, allocations: 115.3 kB / 0.6258 GB, free: 4.879 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003/0.2498, allocations: 148.2 kB / 0.6259 GB, free: 4.734 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004798/0.2546, allocations: 3.01 MB / 0.6289 GB, free: 1.625 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.919e-05/0.2547, allocations: 8 kB / 0.6289 GB, free: 1.617 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001866/0.2549, allocations: 63.97 kB / 0.6289 GB, free: 1.555 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002222/0.2551, allocations: 179 kB / 0.6291 GB, free: 1.379 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003965/0.2591, allocations: 2.6 MB / 0.6316 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01489/0.274, allocations: 10.72 MB / 0.6421 GB, free: 3.664 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002233/0.2762, allocations: 1.338 MB / 0.6434 GB, free: 2.312 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/0.2777, allocations: 1.079 MB / 0.6445 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.835e-05/0.2778, allocations: 12.66 kB / 0.6445 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.766e-05/0.2779, allocations: 39.22 kB / 0.6445 GB, free: 1.176 MB / 494.1 MB Notification: Performance of pre-optimization done (n=82): time 3.317e-06/0.2779, allocations: 0 / 0.6445 GB, free: 1.176 MB / 494.1 MB Notification: Performance of matching and sorting (n=139): time 0.0768/0.3547, allocations: 19.78 MB / 0.6638 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.3548, allocations: 68.72 kB / 0.6639 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/0.3566, allocations: 0.9144 MB / 0.6648 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001863/0.3568, allocations: 49.7 kB / 0.6648 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005895/0.3574, allocations: 0.7282 MB / 0.6656 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006558/0.358, allocations: 485 kB / 0.666 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003363/0.3584, allocations: 129.6 kB / 0.6661 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.3586, allocations: 357.9 kB / 0.6665 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002011/0.3606, allocations: 1.394 MB / 0.6678 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002293/0.3629, allocations: 1.721 MB / 0.6695 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004356/0.3673, allocations: 3.217 MB / 0.6727 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/0.3673, allocations: 4 kB / 0.6727 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01257/0.3799, allocations: 5.834 MB / 0.6784 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.38, allocations: 8 kB / 0.6784 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/0.38, allocations: 12.03 kB / 0.6784 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009364/0.3894, allocations: 2.801 MB / 0.6811 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009044/0.3903, allocations: 195.6 kB / 0.6813 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4336/0.8239, allocations: 24.35 MB / 0.7051 GB, free: 86.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.8255, allocations: 105.2 kB / 0.7052 GB, free: 86.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.8256, allocations: 54.31 kB / 0.7052 GB, free: 86.63 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (10,20,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001117/0.8267, allocations: 0.7392 MB / 0.706 GB, free: 86.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002192/0.8269, allocations: 112.5 kB / 0.7061 GB, free: 86.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01183/0.8388, allocations: 5.611 MB / 0.7115 GB, free: 84.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/0.8388, allocations: 13.81 kB / 0.7116 GB, free: 84.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.904e-05/0.8389, allocations: 22.3 kB / 0.7116 GB, free: 84.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.797e-05/0.8389, allocations: 8.219 kB / 0.7116 GB, free: 84.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0173/0.8562, allocations: 8.995 MB / 0.7204 GB, free: 81.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/0.8563, allocations: 4.5 kB / 0.7204 GB, free: 81.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005086/0.8568, allocations: 123.3 kB / 0.7205 GB, free: 81.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008781/0.8656, allocations: 2.613 MB / 0.723 GB, free: 79.83 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002032/0.8658, allocations: 31.38 kB / 0.7231 GB, free: 79.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02745/0.8933, allocations: 21.87 MB / 0.7444 GB, free: 61.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.8934, allocations: 7.938 kB / 0.7444 GB, free: 61.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01026/0.9036, allocations: 5.337 MB / 0.7496 GB, free: 55.85 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008876/0.9045, allocations: 492.1 kB / 0.7501 GB, free: 55.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003121/0.9049, allocations: 35.98 kB / 0.7502 GB, free: 55.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.906, allocations: 79.89 kB / 0.7502 GB, free: 55.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005877/0.9066, allocations: 125.1 kB / 0.7503 GB, free: 55.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.9067, allocations: 43.94 kB / 0.7504 GB, free: 55.07 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008903/0.9076, allocations: 0.6471 MB / 0.751 GB, free: 54.43 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9076, allocations: 0 / 0.751 GB, free: 54.43 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003153/0.9108, allocations: 0.707 MB / 0.7517 GB, free: 53.72 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004333/0.9112, allocations: 134.1 kB / 0.7518 GB, free: 53.58 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007494/0.9187, allocations: 4.472 MB / 0.7562 GB, free: 49.07 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/0.9187, allocations: 0 / 0.7562 GB, free: 49.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004777/0.9235, allocations: 2.779 MB / 0.7589 GB, free: 46.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/0.9254, allocations: 206 kB / 0.7591 GB, free: 46.04 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006392/0.9319, allocations: 5.016 MB / 0.764 GB, free: 40.99 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001485/0.9334, allocations: 1.714 MB / 0.7657 GB, free: 39.25 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007815/0.9342, allocations: 339.2 kB / 0.766 GB, free: 38.92 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.9344, allocations: 59.42 kB / 0.7661 GB, free: 38.86 MB / 0.5294 GB Notification: Performance of SimCode: time 7.91e-07/0.9344, allocations: 0 / 0.7661 GB, free: 38.86 MB / 0.5294 GB Notification: Performance of Templates: time 0.05054/0.9849, allocations: 37.17 MB / 0.8024 GB, free: 1.863 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) Environment - environmentSimulation: