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_R_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_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.1654/0.1661, allocations: 82.22 MB / 0.5934 GB, free: 6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03564/0.2018, allocations: 32.56 MB / 0.6252 GB, free: 5.348 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01831/0.2202, allocations: 11.12 MB / 0.636 GB, free: 10.21 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003546/0.2237, allocations: 131.2 kB / 0.6362 GB, free: 10.08 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003043/0.2268, allocations: 0.7531 MB / 0.6369 GB, free: 9.32 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006605/0.2334, allocations: 1.745 MB / 0.6386 GB, free: 7.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004368/0.2378, allocations: 1.286 MB / 0.6399 GB, free: 6.289 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.007891/0.2457, allocations: 4.31 MB / 0.6441 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02243/0.2682, allocations: 12.65 MB / 0.6564 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006059/0.2743, allocations: 2.472 MB / 0.6588 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005673/0.28, allocations: 2.671 MB / 0.6614 GB, free: 88 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001323/0.2814, allocations: 344 kB / 0.6618 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/0.2837, allocations: 0.5854 MB / 0.6623 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002356/0.2861, allocations: 2.233 MB / 0.6645 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001849/0.288, allocations: 1.159 MB / 0.6657 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.009714/0.2977, allocations: 9.958 MB / 0.6754 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2977, allocations: 4 kB / 0.6754 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.255e-06/0.2978, allocations: 0 / 0.6754 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0002991/0.2981, allocations: 0 / 0.6754 GB, free: 1.77 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: 1512 * Number of variables: 1512 Notification: Performance of Generate backend data structure: time 0.0109/0.309, allocations: 5.07 MB / 0.6803 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.309, allocations: 8.031 kB / 0.6803 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004985/0.314, allocations: 0.9842 MB / 0.6813 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01008/0.3241, allocations: 3.334 MB / 0.6846 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005393/0.3247, allocations: 427.3 kB / 0.685 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002189/0.3269, allocations: 0.5351 MB / 0.6855 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3483/0.6752, allocations: 9.237 MB / 0.6945 GB, free: 82.27 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001643/0.6754, allocations: 25.22 kB / 0.6945 GB, free: 82.26 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007545/0.6762, allocations: 246 kB / 0.6948 GB, free: 82.26 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007006/0.6769, allocations: 420.6 kB / 0.6952 GB, free: 82.25 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01555/0.6925, allocations: 7.05 MB / 0.7021 GB, free: 82.08 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04193/0.7344, allocations: 28.59 MB / 0.73 GB, free: 61.64 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004216/0.7387, allocations: 3.114 MB / 0.733 GB, free: 60.03 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001296/0.7389, allocations: 25.62 kB / 0.733 GB, free: 60.02 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.904e-05/0.7389, allocations: 68.12 kB / 0.7331 GB, free: 59.96 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=209): time 3.697e-06/0.7389, allocations: 0 / 0.7331 GB, free: 59.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=212): time 0.01984/0.7588, allocations: 10.44 MB / 0.7433 GB, free: 54.05 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.7589, allocations: 72.38 kB / 0.7434 GB, free: 53.99 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.761, allocations: 1.989 MB / 0.7453 GB, free: 52.89 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001545/0.7612, allocations: 65.14 kB / 0.7454 GB, free: 52.84 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009151/0.7621, allocations: 2.383 MB / 0.7477 GB, free: 50.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004045/0.7625, allocations: 0.7275 MB / 0.7484 GB, free: 50.12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.7627, allocations: 49.91 kB / 0.7485 GB, free: 50.08 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.7628, allocations: 416.5 kB / 0.7489 GB, free: 49.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00155/0.7644, allocations: 1.37 MB / 0.7502 GB, free: 48.98 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001768/0.7661, allocations: 2.084 MB / 0.7522 GB, free: 46.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001764/0.7679, allocations: 1.731 MB / 0.7539 GB, free: 45 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.7679, allocations: 12 kB / 0.7539 GB, free: 44.99 MB / 0.5294 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006352/0.7743, allocations: 5.047 MB / 0.7589 GB, free: 39.92 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.7743, allocations: 12 kB / 0.7589 GB, free: 39.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.7744, allocations: 24 kB / 0.7589 GB, free: 39.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002993/0.7774, allocations: 1.522 MB / 0.7604 GB, free: 38.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.7788, allocations: 455.2 kB / 0.7608 GB, free: 37.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01631/0.7952, allocations: 17.75 MB / 0.7781 GB, free: 19.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002569/0.7978, allocations: 151.8 kB / 0.7783 GB, free: 19.51 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002425/0.7981, allocations: 108 kB / 0.7784 GB, free: 19.4 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(7,51.0%) 31,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003601/0.8017, allocations: 1.941 MB / 0.7803 GB, free: 17.45 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000858/0.8025, allocations: 288.6 kB / 0.7806 GB, free: 17.16 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005977/0.8085, allocations: 4.439 MB / 0.7849 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/0.8085, allocations: 23.98 kB / 0.7849 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-05/0.8086, allocations: 16 kB / 0.7849 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.666e-05/0.8086, allocations: 11.95 kB / 0.7849 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/0.8217, allocations: 9.708 MB / 0.7944 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.8217, allocations: 4 kB / 0.7944 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009051/0.8227, allocations: 236.6 kB / 0.7947 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002678/0.8253, allocations: 1.421 MB / 0.796 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.8255, allocations: 36 kB / 0.7961 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02099/0.8465, allocations: 17.73 MB / 0.8134 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/0.8465, allocations: 4 kB / 0.8134 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008111/0.8547, allocations: 4.879 MB / 0.8182 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00188/0.8566, allocations: 0.6382 MB / 0.8188 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004034/0.857, allocations: 43.95 kB / 0.8188 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/0.8582, allocations: 115.9 kB / 0.8189 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004981/0.8587, allocations: 181.6 kB / 0.8191 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/0.8589, allocations: 56 kB / 0.8192 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002/0.8609, allocations: 1.295 MB / 0.8204 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.9e-07/0.8609, allocations: 0 / 0.8204 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003595/0.8645, allocations: 1.102 MB / 0.8215 GB, free: 6.328 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003831/0.8649, allocations: 171 kB / 0.8217 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007561/0.8725, allocations: 4.689 MB / 0.8262 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/0.8725, allocations: 5 kB / 0.8262 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004608/0.8771, allocations: 2.926 MB / 0.8291 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003465/0.8806, allocations: 0.799 MB / 0.8299 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01692/0.8976, allocations: 11.38 MB / 0.841 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004526/0.9021, allocations: 3.795 MB / 0.8447 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002165/0.9043, allocations: 0.5674 MB / 0.8453 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003737/0.9047, allocations: 147.4 kB / 0.8454 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of SimCode: time 1.042e-06/0.9047, allocations: 3.938 kB / 0.8454 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of Templates: time 0.08195/0.9867, allocations: 48.52 MB / 0.8928 GB, free: 13.78 MB / 0.6387 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) Environment - environmentSimulation: