Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.Loads.Examples.ThreePhases,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [/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.2232/0.2242, allocations: 82.22 MB / 0.5941 GB, free: 5.566 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01339/0.2377, allocations: 10.36 MB / 0.6043 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01076/0.2485, allocations: 6.18 MB / 0.6103 GB, free: 4.957 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00183/0.2504, allocations: 43.62 kB / 0.6103 GB, free: 4.914 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.2517, allocations: 242 kB / 0.6106 GB, free: 4.676 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005281/0.257, allocations: 1.14 MB / 0.6117 GB, free: 3.531 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003301/0.2604, allocations: 0.7362 MB / 0.6124 GB, free: 2.797 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00581/0.2662, allocations: 2.813 MB / 0.6151 GB, free: 15.97 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005191/0.2714, allocations: 2.348 MB / 0.6174 GB, free: 13.59 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002282/0.2737, allocations: 0.6844 MB / 0.6181 GB, free: 12.9 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00213/0.2759, allocations: 0.887 MB / 0.619 GB, free: 12.01 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004702/0.2764, allocations: 63.98 kB / 0.619 GB, free: 11.95 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003442/0.2798, allocations: 1.431 MB / 0.6204 GB, free: 10.51 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009049/0.2808, allocations: 466.5 kB / 0.6209 GB, free: 10.05 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001671/0.2824, allocations: 0.7047 MB / 0.6216 GB, free: 9.34 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005658/0.2881, allocations: 2.371 MB / 0.6239 GB, free: 6.961 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/0.2882, allocations: 0 / 0.6239 GB, free: 6.961 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.2882, allocations: 0 / 0.6239 GB, free: 6.961 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001195/0.2883, allocations: 0 / 0.6239 GB, free: 6.961 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: 361 * Number of variables: 361 Notification: Performance of Generate backend data structure: time 0.004845/0.2932, allocations: 1.591 MB / 0.6254 GB, free: 5.316 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.3e-05/0.2933, allocations: 8.031 kB / 0.6254 GB, free: 5.309 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005365/0.2986, allocations: 0.6699 MB / 0.6261 GB, free: 4.637 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002641/0.3013, allocations: 0.9067 MB / 0.627 GB, free: 3.684 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.3015, allocations: 98.77 kB / 0.6271 GB, free: 3.586 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005893/0.3021, allocations: 124.2 kB / 0.6272 GB, free: 3.465 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004368/0.3065, allocations: 2.182 MB / 0.6293 GB, free: 1.062 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.199e-05/0.3066, allocations: 19.88 kB / 0.6293 GB, free: 1.043 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002117/0.3068, allocations: 55.97 kB / 0.6294 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002475/0.3071, allocations: 162.2 kB / 0.6295 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003479/0.3106, allocations: 1.851 MB / 0.6313 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01345/0.324, allocations: 10.55 MB / 0.6417 GB, free: 3.938 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004615/0.3287, allocations: 1.98 MB / 0.6436 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008923/0.3297, allocations: 0.6128 MB / 0.6442 GB, free: 1.328 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001833/0.3299, allocations: 106.1 kB / 0.6443 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.3299, allocations: 39.56 kB / 0.6443 GB, free: 1.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=103): time 2.996e-06/0.3299, allocations: 0 / 0.6443 GB, free: 1.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=110): time 0.006956/0.3369, allocations: 3.749 MB / 0.648 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.337, allocations: 60.41 kB / 0.648 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.3384, allocations: 0.9242 MB / 0.6489 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.824e-05/0.3385, allocations: 45.7 kB / 0.649 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005733/0.339, allocations: 0.7198 MB / 0.6497 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003951/0.3394, allocations: 386.5 kB / 0.6501 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.3396, allocations: 121.6 kB / 0.6502 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3398, allocations: 305.1 kB / 0.6505 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.3409, allocations: 0.6207 MB / 0.6511 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.3422, allocations: 1.125 MB / 0.6522 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002656/0.3449, allocations: 1.855 MB / 0.654 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-05/0.3449, allocations: 4 kB / 0.654 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004186/0.3491, allocations: 2.119 MB / 0.6561 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/0.3492, allocations: 15.94 kB / 0.6561 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.603e-05/0.3492, allocations: 12 kB / 0.6561 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009111/0.3501, allocations: 263 kB / 0.6563 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.3515, allocations: 375.4 kB / 0.6567 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009786/0.3613, allocations: 10.76 MB / 0.6672 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.3628, allocations: 119.9 kB / 0.6673 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002365/0.363, allocations: 76.14 kB / 0.6674 GB, free: 7.758 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009733/0.364, allocations: 416.2 kB / 0.6678 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003316/0.3644, allocations: 130.4 kB / 0.6679 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003284/0.3677, allocations: 1.696 MB / 0.6696 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/0.3677, allocations: 19.94 kB / 0.6696 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/0.3677, allocations: 0 / 0.6696 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.3677, allocations: 3.984 kB / 0.6696 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006004/0.3738, allocations: 3.334 MB / 0.6728 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/0.3738, allocations: 8 kB / 0.6729 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008822/0.3747, allocations: 216.3 kB / 0.6731 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007835/0.3755, allocations: 250.5 kB / 0.6733 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.502e-05/0.3756, allocations: 28 kB / 0.6733 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008801/0.3844, allocations: 10.75 MB / 0.6838 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/0.3845, allocations: 7.938 kB / 0.6838 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003138/0.3876, allocations: 1.815 MB / 0.6856 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008229/0.3885, allocations: 327.3 kB / 0.6859 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003682/0.3889, allocations: 27.98 kB / 0.6859 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000913/0.3898, allocations: 95.81 kB / 0.686 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000224/0.39, allocations: 92.77 kB / 0.6861 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-05/0.3901, allocations: 32 kB / 0.6862 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000948/0.3911, allocations: 0.6254 MB / 0.6868 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3911, allocations: 4 kB / 0.6868 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001658/0.3927, allocations: 388 kB / 0.6871 GB, free: 2.105 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003029/0.3931, allocations: 143 kB / 0.6873 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00388/0.3969, allocations: 2.504 MB / 0.6897 GB, free: 15.35 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/0.397, allocations: 0 / 0.6897 GB, free: 15.35 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002277/0.3993, allocations: 1.645 MB / 0.6913 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002793/0.4021, allocations: 338.3 kB / 0.6917 GB, free: 13.28 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005298/0.4074, allocations: 3.394 MB / 0.695 GB, free: 9.793 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.4086, allocations: 1.335 MB / 0.6963 GB, free: 8.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001256/0.4099, allocations: 391.2 kB / 0.6966 GB, free: 8.043 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003394/0.4103, allocations: 95.42 kB / 0.6967 GB, free: 7.949 MB / 0.545 GB Notification: Performance of SimCode: time 7.72e-07/0.4103, allocations: 0 / 0.6967 GB, free: 7.949 MB / 0.545 GB Notification: Performance of Templates: time 0.3896/0.7999, allocations: 16.18 MB / 0.7125 GB, free: 102.7 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) Environment - environmentSimulation: