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.1746/0.1754, allocations: 82.22 MB / 0.5934 GB, free: 6.008 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01398/0.1894, allocations: 11.72 MB / 0.6048 GB, free: 10.25 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.2023, allocations: 8.741 MB / 0.6134 GB, free: 1.484 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.2039, allocations: 51.62 kB / 0.6134 GB, free: 1.434 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.205, allocations: 250.3 kB / 0.6136 GB, free: 1.188 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004253/0.2092, allocations: 1.273 MB / 0.6149 GB, free: 15.92 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.211, allocations: 0.5256 MB / 0.6154 GB, free: 15.39 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002891/0.2139, allocations: 1.48 MB / 0.6168 GB, free: 13.91 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003185/0.2171, allocations: 1.789 MB / 0.6186 GB, free: 12.08 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001327/0.2185, allocations: 0.7628 MB / 0.6193 GB, free: 11.32 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001527/0.22, allocations: 0.8368 MB / 0.6202 GB, free: 10.48 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003693/0.2204, allocations: 76 kB / 0.6202 GB, free: 10.4 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.2217, allocations: 387.5 kB / 0.6206 GB, free: 10.02 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006716/0.2224, allocations: 462.6 kB / 0.621 GB, free: 9.57 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000647/0.223, allocations: 336.8 kB / 0.6214 GB, free: 9.234 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002897/0.2259, allocations: 2.041 MB / 0.6234 GB, free: 7.188 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.226, allocations: 0 / 0.6234 GB, free: 7.188 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.226, allocations: 0 / 0.6234 GB, free: 7.188 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.649e-05/0.2261, allocations: 0 / 0.6234 GB, free: 7.188 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.004195/0.2303, allocations: 1.799 MB / 0.6251 GB, free: 5.336 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.2303, allocations: 12.03 kB / 0.6251 GB, free: 5.324 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01141/0.2417, allocations: 2.166 MB / 0.6272 GB, free: 3.152 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003185/0.245, allocations: 1.15 MB / 0.6284 GB, free: 1.945 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.902e-05/0.2451, allocations: 82.28 kB / 0.6284 GB, free: 1.863 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005056/0.2456, allocations: 123.9 kB / 0.6286 GB, free: 1.742 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006905/0.2525, allocations: 2.658 MB / 0.6311 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.401e-05/0.2526, allocations: 7.906 kB / 0.6312 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002792/0.2529, allocations: 51.98 kB / 0.6312 GB, free: 14.88 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006704/0.2536, allocations: 178.1 kB / 0.6314 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008054/0.2617, allocations: 2.826 MB / 0.6341 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01701/0.2787, allocations: 8.894 MB / 0.6428 GB, free: 2.777 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006783/0.2856, allocations: 2.576 MB / 0.6453 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.269e-05/0.2857, allocations: 9 kB / 0.6453 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.2857, allocations: 47.52 kB / 0.6454 GB, free: 76 kB / 494.1 MB Notification: Performance of pre-optimization done (n=89): time 2.394e-06/0.2857, allocations: 0 / 0.6454 GB, free: 76 kB / 494.1 MB Notification: Performance of matching and sorting (n=131): time 0.04549/0.3312, allocations: 13.49 MB / 0.6586 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.484e-05/0.3314, allocations: 72.72 kB / 0.6586 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002497/0.3339, allocations: 1.105 MB / 0.6597 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002583/0.3342, allocations: 45.7 kB / 0.6598 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000786/0.335, allocations: 0.7 MB / 0.6604 GB, free: 392 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007528/0.3357, allocations: 457.6 kB / 0.6609 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.3359, allocations: 24 kB / 0.6609 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002231/0.3361, allocations: 361.9 kB / 0.6612 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003597/0.3397, allocations: 1.362 MB / 0.6626 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003686/0.3434, allocations: 1.612 MB / 0.6642 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003546/0.347, allocations: 1.458 MB / 0.6656 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/0.347, allocations: 4 kB / 0.6656 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01158/0.3586, allocations: 4.466 MB / 0.6699 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/0.3587, allocations: 8 kB / 0.6699 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.3587, allocations: 8 kB / 0.67 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005105/0.3638, allocations: 1.416 MB / 0.6713 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/0.366, allocations: 459.1 kB / 0.6718 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3568/0.7228, allocations: 25 MB / 0.6962 GB, free: 84.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/0.7255, allocations: 310.8 kB / 0.6965 GB, free: 84.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/0.7256, allocations: 67.02 kB / 0.6965 GB, free: 84.57 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.0008425/0.7265, allocations: 437.8 kB / 0.697 GB, free: 84.46 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003235/0.7268, allocations: 157.8 kB / 0.6971 GB, free: 84.46 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/0.7377, allocations: 4.481 MB / 0.7015 GB, free: 84.24 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.7377, allocations: 18.59 kB / 0.7015 GB, free: 84.24 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-05/0.7378, allocations: 11.66 kB / 0.7015 GB, free: 84.24 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.891e-05/0.7378, allocations: 14.64 kB / 0.7015 GB, free: 84.24 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01483/0.7526, allocations: 6.801 MB / 0.7082 GB, free: 83.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.7527, allocations: 3.188 kB / 0.7082 GB, free: 83.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001744/0.7544, allocations: 391.1 kB / 0.7086 GB, free: 83.47 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004458/0.7589, allocations: 1.307 MB / 0.7098 GB, free: 83.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/0.7591, allocations: 40.41 kB / 0.7099 GB, free: 83.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02006/0.7791, allocations: 23.98 MB / 0.7333 GB, free: 63.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.7792, allocations: 3.906 kB / 0.7333 GB, free: 63.22 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009878/0.7891, allocations: 4.38 MB / 0.7376 GB, free: 60.55 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/0.7901, allocations: 461.2 kB / 0.738 GB, free: 60.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002479/0.7904, allocations: 24.22 kB / 0.738 GB, free: 60.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001954/0.7924, allocations: 312.8 kB / 0.7383 GB, free: 60.05 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000489/0.7929, allocations: 133.7 kB / 0.7385 GB, free: 59.97 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.793, allocations: 51.47 kB / 0.7385 GB, free: 59.95 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001001/0.794, allocations: 0.7411 MB / 0.7392 GB, free: 59.53 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.01e-07/0.794, allocations: 3.875 kB / 0.7392 GB, free: 59.53 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002105/0.7961, allocations: 0.5551 MB / 0.7398 GB, free: 59.48 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.0002702/0.7964, allocations: 148.8 kB / 0.7399 GB, free: 59.35 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009392/0.8058, allocations: 5.147 MB / 0.7449 GB, free: 55.97 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.8058, allocations: 0 / 0.7449 GB, free: 55.97 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006159/0.812, allocations: 3.519 MB / 0.7484 GB, free: 53.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002095/0.8141, allocations: 493.2 kB / 0.7489 GB, free: 52.74 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007088/0.8212, allocations: 4.57 MB / 0.7533 GB, free: 48.16 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000837/0.8221, allocations: 1.503 MB / 0.7548 GB, free: 46.62 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001581/0.8237, allocations: 429.6 kB / 0.7552 GB, free: 46.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003341/0.824, allocations: 115.4 kB / 0.7553 GB, free: 46.09 MB / 0.5294 GB Notification: Performance of SimCode: time 1.162e-06/0.824, allocations: 0 / 0.7553 GB, free: 46.09 MB / 0.5294 GB Notification: Performance of Templates: time 0.0478/0.8719, allocations: 36.05 MB / 0.7905 GB, free: 10.46 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: