Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [/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.2101/0.2122, allocations: 80.84 MB / 0.6706 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009884/0.2222, allocations: 6.692 MB / 0.6772 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006135/0.2284, allocations: 3.266 MB / 0.6804 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008651/0.2293, allocations: 27.81 kB / 0.6804 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002577/0.2319, allocations: 0.9605 MB / 0.6813 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.2336, allocations: 0.5401 MB / 0.6819 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.235, allocations: 442.1 kB / 0.6823 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001603/0.2366, allocations: 1.209 MB / 0.6835 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.2377, allocations: 0.6622 MB / 0.6841 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007471/0.2384, allocations: 466.3 kB / 0.6845 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008407/0.2393, allocations: 0.541 MB / 0.6851 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.2394, allocations: 68 kB / 0.6851 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008521/0.2403, allocations: 379.2 kB / 0.6855 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003037/0.2406, allocations: 299.2 kB / 0.6858 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004233/0.241, allocations: 445.7 kB / 0.6862 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.2424, allocations: 1.195 MB / 0.6874 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2424, allocations: 0 / 0.6874 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2424, allocations: 0 / 0.6874 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.2424, allocations: 0 / 0.6874 GB, free: 0.8281 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.002036/0.2445, allocations: 1.149 MB / 0.6885 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.2445, allocations: 12.03 kB / 0.6885 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/0.2461, allocations: 239.5 kB / 0.6887 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.2471, allocations: 0.6076 MB / 0.6893 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.267e-05/0.2472, allocations: 53.66 kB / 0.6894 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.2473, allocations: 64.36 kB / 0.6894 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.2488, allocations: 1.069 MB / 0.6905 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.111e-05/0.2488, allocations: 11.84 kB / 0.6905 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.631e-05/0.2489, allocations: 35.98 kB / 0.6905 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001624/0.2491, allocations: 81.25 kB / 0.6906 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.2502, allocations: 0.7503 MB / 0.6913 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005409/0.2557, allocations: 4.85 MB / 0.6961 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.2568, allocations: 0.5603 MB / 0.6966 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004356/0.2572, allocations: 326 kB / 0.6969 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.2573, allocations: 4.438 kB / 0.6969 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.2573, allocations: 39 kB / 0.697 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=47): time 4.608e-06/0.2573, allocations: 0 / 0.697 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.004088/0.2614, allocations: 1.99 MB / 0.6989 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.2615, allocations: 55.84 kB / 0.699 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008625/0.2623, allocations: 0.5664 MB / 0.6995 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.321e-05/0.2624, allocations: 33.7 kB / 0.6996 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/0.2627, allocations: 411.1 kB / 0.7 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.2629, allocations: 173.6 kB / 0.7001 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.2631, allocations: 126.5 kB / 0.7002 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.2633, allocations: 374.8 kB / 0.7006 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004148/0.2637, allocations: 277.8 kB / 0.7009 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005465/0.2643, allocations: 496.9 kB / 0.7013 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.2653, allocations: 0.8171 MB / 0.7021 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.974e-06/0.2653, allocations: 7.938 kB / 0.7021 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001921/0.2673, allocations: 1.086 MB / 0.7032 GB, free: 15.85 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.2673, allocations: 8 kB / 0.7032 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.2673, allocations: 11.94 kB / 0.7032 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009087/0.2682, allocations: 279.9 kB / 0.7035 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004901/0.2688, allocations: 127.8 kB / 0.7036 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00713/0.2759, allocations: 7.122 MB / 0.7106 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007766/0.2767, allocations: 43.97 kB / 0.7106 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.9e-05/0.2768, allocations: 28 kB / 0.7106 GB, free: 7.664 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005248/0.2774, allocations: 253.8 kB / 0.7109 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.2776, allocations: 83.02 kB / 0.711 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/0.2793, allocations: 0.8926 MB / 0.7118 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.2794, allocations: 4 kB / 0.7118 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.2794, allocations: 7.938 kB / 0.7118 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2794, allocations: 0 / 0.7118 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002864/0.2823, allocations: 1.724 MB / 0.7135 GB, free: 4.582 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.2823, allocations: 4 kB / 0.7135 GB, free: 4.578 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/0.2826, allocations: 55.89 kB / 0.7136 GB, free: 4.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007728/0.2834, allocations: 279.3 kB / 0.7139 GB, free: 4.238 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.2834, allocations: 11.94 kB / 0.7139 GB, free: 4.227 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007022/0.2905, allocations: 7.111 MB / 0.7208 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.2905, allocations: 7.938 kB / 0.7208 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/0.2925, allocations: 0.9874 MB / 0.7218 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004984/0.293, allocations: 196.1 kB / 0.722 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.2932, allocations: 8.188 kB / 0.722 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005296/0.2937, allocations: 31.97 kB / 0.722 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/0.2939, allocations: 55.81 kB / 0.7221 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/0.294, allocations: 16 kB / 0.7221 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005813/0.2946, allocations: 387.1 kB / 0.7224 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2946, allocations: 0 / 0.7224 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001139/0.2957, allocations: 216 kB / 0.7226 GB, free: 10.61 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002391/0.296, allocations: 123.1 kB / 0.7228 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002299/0.2983, allocations: 1.271 MB / 0.724 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.2983, allocations: 4 kB / 0.724 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.2996, allocations: 0.8893 MB / 0.7249 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.3008, allocations: 222.5 kB / 0.7251 GB, free: 8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.3038, allocations: 1.375 MB / 0.7264 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007979/0.3046, allocations: 1.016 MB / 0.7274 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005038/0.3052, allocations: 129.9 kB / 0.7275 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.3053, allocations: 43.44 kB / 0.7276 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of SimCode: time 2.354e-06/0.3053, allocations: 0 / 0.7276 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of Templates: time 0.02398/0.3293, allocations: 11.3 MB / 0.7386 GB, free: 10.18 MB / 0.5762 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)