Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [/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.2151/0.2165, allocations: 82.22 MB / 0.5935 GB, free: 5.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.0319/0.2485, allocations: 29.66 MB / 0.6224 GB, free: 8.184 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0227/0.2712, allocations: 14.3 MB / 0.6364 GB, free: 9.852 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004427/0.2757, allocations: 139.1 kB / 0.6365 GB, free: 9.715 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003434/0.2792, allocations: 0.7015 MB / 0.6372 GB, free: 9.008 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01029/0.2895, allocations: 2.423 MB / 0.6396 GB, free: 6.574 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006129/0.2957, allocations: 1.367 MB / 0.6409 GB, free: 5.207 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01381/0.3095, allocations: 9.539 MB / 0.6502 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01722/0.3268, allocations: 9.835 MB / 0.6598 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007163/0.334, allocations: 2.892 MB / 0.6627 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007465/0.3415, allocations: 3.395 MB / 0.666 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001276/0.3428, allocations: 292 kB / 0.6663 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003315/0.3461, allocations: 0.8038 MB / 0.667 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002996/0.3491, allocations: 2.198 MB / 0.6692 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002489/0.3516, allocations: 1.081 MB / 0.6702 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.3629, allocations: 9.019 MB / 0.6791 GB, free: 14 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.3629, allocations: 0 / 0.6791 GB, free: 14 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.455e-06/0.3629, allocations: 0 / 0.6791 GB, free: 14 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0003418/0.3633, allocations: 0 / 0.6791 GB, free: 14 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1309 * Number of variables: 1309 Notification: Performance of Generate backend data structure: time 0.01308/0.3764, allocations: 4.829 MB / 0.6838 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.3764, allocations: 8.031 kB / 0.6838 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00773/0.3842, allocations: 1.117 MB / 0.6849 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008315/0.3925, allocations: 3.216 MB / 0.688 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000363/0.3929, allocations: 365.8 kB / 0.6884 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002123/0.395, allocations: 483.9 kB / 0.6888 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4074/0.8025, allocations: 7.874 MB / 0.6965 GB, free: 84.38 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003045/0.8028, allocations: 23.45 kB / 0.6965 GB, free: 84.38 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001929/0.8048, allocations: 214.2 kB / 0.6967 GB, free: 84.38 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009925/0.8058, allocations: 437.4 kB / 0.6972 GB, free: 84.36 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01544/0.8212, allocations: 5.991 MB / 0.703 GB, free: 83.9 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03656/0.8578, allocations: 24.85 MB / 0.7273 GB, free: 66.69 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002672/0.8605, allocations: 2.022 MB / 0.7292 GB, free: 65.61 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002046/0.8626, allocations: 1.847 MB / 0.731 GB, free: 64.66 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/0.8627, allocations: 18.3 kB / 0.7311 GB, free: 64.66 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.8628, allocations: 64.34 kB / 0.7311 GB, free: 64.59 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=171): time 3.828e-06/0.8628, allocations: 0 / 0.7311 GB, free: 64.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=276): time 0.1183/0.9811, allocations: 38.97 MB / 0.7692 GB, free: 31.16 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.9812, allocations: 81.58 kB / 0.7693 GB, free: 31.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002833/0.984, allocations: 2.254 MB / 0.7715 GB, free: 28.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003645/0.9844, allocations: 73.7 kB / 0.7715 GB, free: 28.72 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.9854, allocations: 2.241 MB / 0.7737 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006885/0.9861, allocations: 0.9289 MB / 0.7746 GB, free: 25.54 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.9863, allocations: 63.94 kB / 0.7747 GB, free: 25.48 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.9864, allocations: 428.1 kB / 0.7751 GB, free: 25.05 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002245/0.9887, allocations: 1.966 MB / 0.777 GB, free: 23.08 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002448/0.9911, allocations: 2.595 MB / 0.7796 GB, free: 20.24 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002613/0.9938, allocations: 2.377 MB / 0.7819 GB, free: 17.85 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.9938, allocations: 8 kB / 0.7819 GB, free: 17.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01168/1.005, allocations: 7.731 MB / 0.7894 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.218e-05/1.006, allocations: 16.25 kB / 0.7894 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-05/1.006, allocations: 16 kB / 0.7895 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00756/1.013, allocations: 3.195 MB / 0.7926 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/1.015, allocations: 402.4 kB / 0.793 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04005/1.055, allocations: 31.13 MB / 0.8234 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002883/1.058, allocations: 167.1 kB / 0.8235 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000333/1.058, allocations: 112.1 kB / 0.8236 GB, free: 6.219 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00344/1.062, allocations: 1.786 MB / 0.8254 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007072/1.062, allocations: 332.1 kB / 0.8257 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01335/1.076, allocations: 7.341 MB / 0.8329 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-05/1.076, allocations: 28 kB / 0.8329 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.513e-05/1.076, allocations: 31.95 kB / 0.8329 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.092e-05/1.076, allocations: 15.94 kB / 0.8329 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02291/1.099, allocations: 12.92 MB / 0.8456 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-05/1.099, allocations: 12.67 kB / 0.8456 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009397/1.1, allocations: 228.8 kB / 0.8458 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007613/1.107, allocations: 2.849 MB / 0.8486 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003028/1.108, allocations: 52 kB / 0.8486 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03946/1.147, allocations: 29.95 MB / 0.8779 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/1.147, allocations: 8 kB / 0.8779 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01245/1.16, allocations: 6.856 MB / 0.8846 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002705/1.163, allocations: 0.7938 MB / 0.8853 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001066/1.164, allocations: 52 kB / 0.8854 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002005/1.166, allocations: 167.8 kB / 0.8856 GB, free: 5.531 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009871/1.167, allocations: 257.5 kB / 0.8858 GB, free: 5.281 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001775/1.167, allocations: 72 kB / 0.8859 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002436/1.169, allocations: 1.498 MB / 0.8873 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/1.169, allocations: 4 kB / 0.8873 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.005467/1.175, allocations: 1.34 MB / 0.8886 GB, free: 2.367 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000465/1.175, allocations: 175 kB / 0.8888 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01211/1.187, allocations: 6.921 MB / 0.8956 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/1.187, allocations: 4 kB / 0.8956 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00785/1.195, allocations: 4.415 MB / 0.8999 GB, free: 6.68 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004923/1.2, allocations: 1.052 MB / 0.9009 GB, free: 5.656 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02073/1.221, allocations: 11.94 MB / 0.9126 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005259/1.226, allocations: 3.638 MB / 0.9161 GB, free: 5.961 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002493/1.229, allocations: 0.5673 MB / 0.9167 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004838/1.229, allocations: 163.4 kB / 0.9168 GB, free: 5.23 MB / 0.6544 GB Notification: Performance of SimCode: time 1.183e-06/1.229, allocations: 0 / 0.9168 GB, free: 5.23 MB / 0.6544 GB Notification: Performance of Templates: time 0.4164/1.646, allocations: 71.8 MB / 0.987 GB, free: 211.7 MB / 0.6856 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) Environment - environmentSimulation: