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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [/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.187/0.1879, allocations: 82.21 MB / 0.5935 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01518/0.2031, allocations: 12.37 MB / 0.6056 GB, free: 9.559 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01412/0.2173, allocations: 8.965 MB / 0.6143 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001763/0.2191, allocations: 51.62 kB / 0.6144 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.2204, allocations: 261.9 kB / 0.6146 GB, free: 268 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004788/0.2252, allocations: 1.301 MB / 0.6159 GB, free: 14.96 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001989/0.2272, allocations: 0.5132 MB / 0.6164 GB, free: 14.45 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004251/0.2315, allocations: 2.629 MB / 0.6189 GB, free: 11.82 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004037/0.2356, allocations: 1.782 MB / 0.6207 GB, free: 9.988 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002075/0.2377, allocations: 0.8363 MB / 0.6215 GB, free: 9.148 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002337/0.24, allocations: 1.024 MB / 0.6225 GB, free: 8.121 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004676/0.2405, allocations: 75.94 kB / 0.6226 GB, free: 8.047 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/0.2422, allocations: 439.4 kB / 0.623 GB, free: 7.617 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000866/0.2431, allocations: 0.5023 MB / 0.6235 GB, free: 7.113 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007817/0.2438, allocations: 332.8 kB / 0.6238 GB, free: 6.781 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002946/0.2468, allocations: 2.084 MB / 0.6258 GB, free: 4.691 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.2468, allocations: 0 / 0.6258 GB, free: 4.691 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2468, allocations: 0 / 0.6258 GB, free: 4.691 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.156e-05/0.2469, allocations: 0 / 0.6258 GB, free: 4.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: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.004891/0.2518, allocations: 1.808 MB / 0.6276 GB, free: 2.828 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.2519, allocations: 8.031 kB / 0.6276 GB, free: 2.82 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/0.263, allocations: 2.151 MB / 0.6297 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003359/0.2664, allocations: 1.146 MB / 0.6308 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.2666, allocations: 82.2 kB / 0.6309 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005862/0.2672, allocations: 119.9 kB / 0.631 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007143/0.2743, allocations: 2.662 MB / 0.6336 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-05/0.2744, allocations: 15.84 kB / 0.6336 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003306/0.2748, allocations: 63.91 kB / 0.6337 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006199/0.2754, allocations: 174.1 kB / 0.6339 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007518/0.2829, allocations: 2.826 MB / 0.6366 GB, free: 9.363 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01522/0.2982, allocations: 8.894 MB / 0.6453 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006321/0.3045, allocations: 2.572 MB / 0.6478 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003046/0.3076, allocations: 1.307 MB / 0.6491 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001305/0.3078, allocations: 16.84 kB / 0.6491 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.3079, allocations: 47.56 kB / 0.6492 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=89): time 3.386e-06/0.3079, allocations: 0 / 0.6492 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=131): time 0.04322/0.3511, allocations: 13.48 MB / 0.6623 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.3512, allocations: 72.64 kB / 0.6624 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.3528, allocations: 1.109 MB / 0.6635 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001718/0.353, allocations: 45.7 kB / 0.6635 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005744/0.3535, allocations: 0.7001 MB / 0.6642 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004962/0.354, allocations: 453.4 kB / 0.6646 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.3542, allocations: 28 kB / 0.6647 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3544, allocations: 361.9 kB / 0.665 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003197/0.3576, allocations: 1.35 MB / 0.6663 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003233/0.3608, allocations: 1.628 MB / 0.6679 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003354/0.3642, allocations: 1.454 MB / 0.6693 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.3642, allocations: 3.938 kB / 0.6693 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01062/0.3748, allocations: 4.466 MB / 0.6737 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.3749, allocations: 8 kB / 0.6737 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.3749, allocations: 8 kB / 0.6737 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004836/0.3798, allocations: 1.422 MB / 0.6751 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/0.3817, allocations: 451.2 kB / 0.6755 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3898/0.7716, allocations: 24.52 MB / 0.6995 GB, free: 83.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002514/0.7741, allocations: 312.9 kB / 0.6998 GB, free: 83.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001873/0.7743, allocations: 62.7 kB / 0.6998 GB, free: 83.77 MB / 0.5294 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 (99): * Single equations (assignments): 86 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009432/0.7753, allocations: 448.3 kB / 0.7003 GB, free: 83.65 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003058/0.7756, allocations: 161.8 kB / 0.7004 GB, free: 83.65 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/0.7873, allocations: 4.483 MB / 0.7048 GB, free: 83.41 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/0.7874, allocations: 15.27 kB / 0.7048 GB, free: 83.41 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.145e-05/0.7874, allocations: 12.41 kB / 0.7048 GB, free: 83.41 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-05/0.7875, allocations: 9.391 kB / 0.7048 GB, free: 83.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01554/0.803, allocations: 6.816 MB / 0.7115 GB, free: 82.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/0.8031, allocations: 2.875 kB / 0.7115 GB, free: 82.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001765/0.8048, allocations: 387.7 kB / 0.7119 GB, free: 82.13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0049/0.8098, allocations: 1.296 MB / 0.7131 GB, free: 81.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002975/0.8101, allocations: 43.88 kB / 0.7132 GB, free: 81.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02283/0.8329, allocations: 23.5 MB / 0.7361 GB, free: 61.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.833, allocations: 7.281 kB / 0.7361 GB, free: 61.61 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009292/0.8423, allocations: 4.235 MB / 0.7403 GB, free: 59.18 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009573/0.8433, allocations: 453.1 kB / 0.7407 GB, free: 58.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005504/0.8439, allocations: 27.88 kB / 0.7407 GB, free: 58.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002115/0.846, allocations: 321 kB / 0.741 GB, free: 58.67 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005816/0.8466, allocations: 122.3 kB / 0.7411 GB, free: 58.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/0.8468, allocations: 51.34 kB / 0.7412 GB, free: 58.58 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001382/0.8482, allocations: 0.7382 MB / 0.7419 GB, free: 58.17 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8482, allocations: 7.375 kB / 0.7419 GB, free: 58.16 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002704/0.8509, allocations: 0.5565 MB / 0.7425 GB, free: 58.11 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(2,100.0%) 4,(3,100.0%) 9,(2,100.0%) 4,(3,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002722/0.8512, allocations: 147 kB / 0.7426 GB, free: 57.99 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009574/0.8608, allocations: 5.148 MB / 0.7476 GB, free: 54.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/0.8608, allocations: 0 / 0.7476 GB, free: 54.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006401/0.8672, allocations: 3.505 MB / 0.7511 GB, free: 51.36 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003318/0.8706, allocations: 0.5173 MB / 0.7516 GB, free: 50.87 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008376/0.879, allocations: 4.579 MB / 0.756 GB, free: 46.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001259/0.8803, allocations: 1.468 MB / 0.7575 GB, free: 44.77 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001865/0.8821, allocations: 433.6 kB / 0.7579 GB, free: 44.34 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004482/0.8826, allocations: 111.4 kB / 0.758 GB, free: 44.23 MB / 0.5294 GB Notification: Performance of SimCode: time 1.263e-06/0.8826, allocations: 4 kB / 0.758 GB, free: 44.23 MB / 0.5294 GB Notification: Performance of Templates: time 0.05518/0.9378, allocations: 36.06 MB / 0.7932 GB, free: 8.586 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: