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.4744/0.4766, allocations: 80.81 MB / 0.5904 GB, free: 22.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01102/0.4877, allocations: 10.92 MB / 0.6011 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008672/0.4965, allocations: 6.204 MB / 0.6071 GB, free: 5.613 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/0.4984, allocations: 51.62 kB / 0.6072 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00426/0.5027, allocations: 1.719 MB / 0.6089 GB, free: 3.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004242/0.5069, allocations: 1.221 MB / 0.6101 GB, free: 2.613 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002724/0.5097, allocations: 0.8069 MB / 0.6109 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003003/0.5127, allocations: 2.08 MB / 0.6129 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00198/0.5147, allocations: 1.294 MB / 0.6141 GB, free: 14.41 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.5164, allocations: 0.8406 MB / 0.615 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001668/0.5181, allocations: 0.9416 MB / 0.6159 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002044/0.5183, allocations: 112 kB / 0.616 GB, free: 12.52 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002833/0.5212, allocations: 1.173 MB / 0.6171 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006921/0.5219, allocations: 0.5142 MB / 0.6176 GB, free: 10.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0011/0.523, allocations: 0.7654 MB / 0.6184 GB, free: 10.05 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004509/0.5275, allocations: 2.36 MB / 0.6207 GB, free: 7.688 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.5276, allocations: 7.938 kB / 0.6207 GB, free: 7.68 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.5276, allocations: 0 / 0.6207 GB, free: 7.68 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.36e-05/0.5276, allocations: 3.938 kB / 0.6207 GB, free: 7.676 MB / 462.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.003676/0.5313, allocations: 1.84 MB / 0.6225 GB, free: 5.781 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.5313, allocations: 8.031 kB / 0.6225 GB, free: 5.773 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004645/0.536, allocations: 0.666 MB / 0.6232 GB, free: 5.105 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001857/0.5379, allocations: 0.9028 MB / 0.624 GB, free: 4.156 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-05/0.538, allocations: 90.83 kB / 0.6241 GB, free: 4.066 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000235/0.5382, allocations: 132.3 kB / 0.6243 GB, free: 3.938 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003351/0.5416, allocations: 2.182 MB / 0.6264 GB, free: 1.527 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-05/0.5417, allocations: 19.78 kB / 0.6264 GB, free: 1.508 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001551/0.5418, allocations: 59.97 kB / 0.6265 GB, free: 1.449 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001968/0.542, allocations: 162.2 kB / 0.6266 GB, free: 1.289 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002944/0.545, allocations: 1.855 MB / 0.6284 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01184/0.5568, allocations: 10.53 MB / 0.6387 GB, free: 4.414 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004546/0.5614, allocations: 1.992 MB / 0.6407 GB, free: 2.414 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009184/0.5624, allocations: 0.6128 MB / 0.6413 GB, free: 1.793 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002124/0.5626, allocations: 102.1 kB / 0.6414 GB, free: 1.676 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/0.5627, allocations: 47.5 kB / 0.6414 GB, free: 1.621 MB / 478.1 MB Notification: Performance of pre-optimization done (n=103): time 3.707e-06/0.5627, allocations: 0 / 0.6414 GB, free: 1.621 MB / 478.1 MB Notification: Performance of matching and sorting (n=110): time 0.006828/0.5695, allocations: 3.73 MB / 0.645 GB, free: 13.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.5696, allocations: 64.41 kB / 0.6451 GB, free: 13.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/0.571, allocations: 0.9204 MB / 0.646 GB, free: 12.72 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.628e-05/0.5711, allocations: 45.7 kB / 0.646 GB, free: 12.67 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005926/0.5717, allocations: 0.7197 MB / 0.6467 GB, free: 11.94 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003853/0.5721, allocations: 390.5 kB / 0.6471 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005255/0.5726, allocations: 287.2 kB / 0.6474 GB, free: 11.26 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.5728, allocations: 309.1 kB / 0.6477 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.5739, allocations: 0.6207 MB / 0.6483 GB, free: 10.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.5755, allocations: 1.117 MB / 0.6494 GB, free: 9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002791/0.5783, allocations: 1.863 MB / 0.6512 GB, free: 6.922 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.5784, allocations: 4 kB / 0.6512 GB, free: 6.918 MB / 494.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003657/0.582, allocations: 2.111 MB / 0.6533 GB, free: 4.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/0.5821, allocations: 15.94 kB / 0.6533 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.817e-05/0.5821, allocations: 16 kB / 0.6533 GB, free: 4.738 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009295/0.5831, allocations: 267.2 kB / 0.6536 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.5844, allocations: 379.3 kB / 0.6539 GB, free: 4.082 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00977/0.5942, allocations: 11.58 MB / 0.6652 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/0.5959, allocations: 124 kB / 0.6653 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/0.5961, allocations: 71.98 kB / 0.6654 GB, free: 7.188 MB / 0.4981 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.0008506/0.5969, allocations: 405.2 kB / 0.6658 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/0.5972, allocations: 134.4 kB / 0.6659 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003079/0.6003, allocations: 1.704 MB / 0.6676 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.6003, allocations: 12 kB / 0.6676 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.6003, allocations: 7.938 kB / 0.6676 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.6004, allocations: 7.969 kB / 0.6676 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005506/0.6059, allocations: 3.327 MB / 0.6709 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.6059, allocations: 8 kB / 0.6709 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000908/0.6068, allocations: 227.7 kB / 0.6711 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007426/0.6076, allocations: 242.6 kB / 0.6713 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.6077, allocations: 28 kB / 0.6714 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009957/0.6177, allocations: 11.56 MB / 0.6826 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.423e-06/0.6177, allocations: 7.938 kB / 0.6827 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003135/0.6209, allocations: 1.819 MB / 0.6844 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006758/0.6216, allocations: 307.5 kB / 0.6847 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003012/0.6219, allocations: 31.89 kB / 0.6848 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.6229, allocations: 91.86 kB / 0.6848 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002555/0.6232, allocations: 100.7 kB / 0.6849 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.297e-05/0.6233, allocations: 32 kB / 0.685 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001022/0.6243, allocations: 0.6216 MB / 0.6856 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6243, allocations: 0 / 0.6856 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001942/0.6263, allocations: 384 kB / 0.6859 GB, free: 0.6992 MB / 0.5137 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.0003494/0.6266, allocations: 155.5 kB / 0.6861 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005219/0.6318, allocations: 2.926 MB / 0.6889 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/0.6319, allocations: 0 / 0.6889 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002489/0.6344, allocations: 1.638 MB / 0.6905 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/0.637, allocations: 365.9 kB / 0.6909 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005792/0.6428, allocations: 2.792 MB / 0.6936 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001563/0.6444, allocations: 1.327 MB / 0.6949 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001574/0.646, allocations: 399.2 kB / 0.6953 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000434/0.6465, allocations: 99.41 kB / 0.6954 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of SimCode: time 1.462e-06/0.6465, allocations: 0 / 0.6954 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of Templates: time 0.03643/0.6829, allocations: 17.03 MB / 0.712 GB, free: 5.855 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (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)