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.2109/0.2147, allocations: 80.84 MB / 0.5897 GB, free: 7.102 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01865/0.2334, allocations: 13.64 MB / 0.603 GB, free: 9.402 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01771/0.2512, allocations: 9.615 MB / 0.6124 GB, free: 15.76 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003031/0.2544, allocations: 55.62 kB / 0.6125 GB, free: 15.7 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004678/0.2591, allocations: 1.556 MB / 0.614 GB, free: 14.14 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007423/0.2666, allocations: 1.44 MB / 0.6154 GB, free: 12.71 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002691/0.2693, allocations: 0.6885 MB / 0.6161 GB, free: 12.02 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005533/0.2748, allocations: 3.133 MB / 0.6191 GB, free: 8.883 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002736/0.2776, allocations: 1.34 MB / 0.6204 GB, free: 7.512 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002088/0.2797, allocations: 0.9182 MB / 0.6213 GB, free: 6.59 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001779/0.2815, allocations: 1.16 MB / 0.6225 GB, free: 5.426 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001825/0.2817, allocations: 96 kB / 0.6225 GB, free: 5.332 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.2834, allocations: 0.8851 MB / 0.6234 GB, free: 4.445 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005903/0.284, allocations: 0.5412 MB / 0.6239 GB, free: 3.902 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009086/0.2849, allocations: 0.847 MB / 0.6248 GB, free: 3.051 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002986/0.2879, allocations: 2.687 MB / 0.6274 GB, free: 364 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2879, allocations: 0 / 0.6274 GB, free: 364 kB / 478.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.2879, allocations: 0 / 0.6274 GB, free: 364 kB / 478.1 MB Notification: Performance of Transformations before backend: time 3.323e-05/0.288, allocations: 0 / 0.6274 GB, free: 364 kB / 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.003881/0.2918, allocations: 2.107 MB / 0.6295 GB, free: 14.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.2919, allocations: 12.03 kB / 0.6295 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01043/0.3023, allocations: 2.085 MB / 0.6315 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002766/0.3051, allocations: 1.189 MB / 0.6327 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.942e-05/0.3053, allocations: 90.22 kB / 0.6327 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002717/0.3055, allocations: 115.9 kB / 0.6329 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005563/0.3111, allocations: 2.657 MB / 0.6355 GB, free: 7.836 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.998e-05/0.3112, allocations: 7.938 kB / 0.6355 GB, free: 7.828 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/0.3113, allocations: 47.98 kB / 0.6355 GB, free: 7.781 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005691/0.3119, allocations: 182 kB / 0.6357 GB, free: 7.602 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006731/0.3187, allocations: 2.779 MB / 0.6384 GB, free: 4.812 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01521/0.3339, allocations: 8.85 MB / 0.647 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006138/0.3401, allocations: 2.533 MB / 0.6495 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002795/0.3429, allocations: 1.288 MB / 0.6508 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.213e-05/0.343, allocations: 13 kB / 0.6508 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.3431, allocations: 51.44 kB / 0.6508 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=89): time 3.216e-06/0.3431, allocations: 0 / 0.6508 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=131): time 0.04284/0.3859, allocations: 13.42 MB / 0.6639 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.386, allocations: 64.72 kB / 0.664 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.3875, allocations: 1.117 MB / 0.6651 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001828/0.3877, allocations: 49.7 kB / 0.6651 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005199/0.3882, allocations: 0.6961 MB / 0.6658 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004373/0.3887, allocations: 453.4 kB / 0.6662 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004938/0.3892, allocations: 259.4 kB / 0.6665 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3893, allocations: 365.9 kB / 0.6668 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003062/0.3924, allocations: 1.339 MB / 0.6681 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003118/0.3955, allocations: 1.604 MB / 0.6697 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006168/0.4017, allocations: 2.998 MB / 0.6726 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.4017, allocations: 0 / 0.6726 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01086/0.4126, allocations: 4.442 MB / 0.677 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.4127, allocations: 8 kB / 0.677 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.4127, allocations: 8 kB / 0.677 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005281/0.418, allocations: 1.43 MB / 0.6784 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002018/0.42, allocations: 439.2 kB / 0.6788 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02527/0.4453, allocations: 24.56 MB / 0.7028 GB, free: 256 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3208/0.7661, allocations: 302.6 kB / 0.7031 GB, free: 105.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002618/0.7664, allocations: 64.69 kB / 0.7031 GB, free: 105.2 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008695/0.7673, allocations: 433.6 kB / 0.7036 GB, free: 105.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004084/0.7677, allocations: 161.6 kB / 0.7037 GB, free: 105.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01113/0.7789, allocations: 4.456 MB / 0.7081 GB, free: 104.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.7789, allocations: 11.47 kB / 0.7081 GB, free: 104.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.803e-05/0.779, allocations: 15.97 kB / 0.7081 GB, free: 104.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.478e-05/0.779, allocations: 6.328 kB / 0.7081 GB, free: 104.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01623/0.7952, allocations: 6.764 MB / 0.7147 GB, free: 104.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/0.7953, allocations: 5.125 kB / 0.7147 GB, free: 104.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/0.7968, allocations: 383.4 kB / 0.7151 GB, free: 104.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004521/0.8014, allocations: 1.309 MB / 0.7164 GB, free: 104.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001574/0.8016, allocations: 36.22 kB / 0.7164 GB, free: 104.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02841/0.83, allocations: 23.51 MB / 0.7393 GB, free: 85.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/0.83, allocations: 5.203 kB / 0.7394 GB, free: 85.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0155/0.8455, allocations: 4.205 MB / 0.7435 GB, free: 83.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001691/0.8473, allocations: 458.1 kB / 0.7439 GB, free: 82.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004316/0.8477, allocations: 24.03 kB / 0.7439 GB, free: 82.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00304/0.8508, allocations: 305.3 kB / 0.7442 GB, free: 82.74 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008626/0.8517, allocations: 126.8 kB / 0.7443 GB, free: 82.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002112/0.8519, allocations: 51 kB / 0.7444 GB, free: 82.65 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001553/0.8535, allocations: 0.7504 MB / 0.7451 GB, free: 82.24 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.21e-07/0.8535, allocations: 0 / 0.7451 GB, free: 82.24 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003516/0.857, allocations: 0.5609 MB / 0.7457 GB, free: 82.18 MB / 0.545 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 (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004294/0.8575, allocations: 141.3 kB / 0.7458 GB, free: 82.06 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01223/0.8697, allocations: 5.144 MB / 0.7508 GB, free: 78.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/0.8698, allocations: 0 / 0.7508 GB, free: 78.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006493/0.8763, allocations: 3.492 MB / 0.7542 GB, free: 76.12 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00346/0.8798, allocations: 0.5119 MB / 0.7547 GB, free: 75.87 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009114/0.8889, allocations: 4.694 MB / 0.7593 GB, free: 72.35 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001724/0.8907, allocations: 1.476 MB / 0.7608 GB, free: 70.84 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00201/0.8927, allocations: 425.9 kB / 0.7612 GB, free: 70.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005098/0.8933, allocations: 119.4 kB / 0.7613 GB, free: 70.32 MB / 0.545 GB Notification: Performance of SimCode: time 1.493e-06/0.8933, allocations: 0 / 0.7613 GB, free: 70.32 MB / 0.545 GB Notification: Performance of Templates: time 0.06039/0.9537, allocations: 37.64 MB / 0.798 GB, free: 33.13 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (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)