Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001476, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001898/0.001898, allocations: 187.9 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.801/1.801, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 72.16 kB / 0.6723 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.276, allocations: 114.6 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01402/0.2901, allocations: 11.06 MB / 0.7949 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009922/0.3001, allocations: 5.828 MB / 0.8006 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.302, allocations: 51.69 kB / 0.8007 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004349/0.3065, allocations: 1.729 MB / 0.8024 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003561/0.3101, allocations: 1.147 MB / 0.8035 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002364/0.3124, allocations: 0.8098 MB / 0.8043 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003252/0.3157, allocations: 2.123 MB / 0.8063 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001548/0.3173, allocations: 1.307 MB / 0.8076 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.3187, allocations: 0.8445 MB / 0.8084 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/0.32, allocations: 0.9143 MB / 0.8093 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001803/0.3202, allocations: 116 kB / 0.8094 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002662/0.3228, allocations: 1.173 MB / 0.8106 GB, free: 1.516 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004991/0.3233, allocations: 0.5259 MB / 0.8111 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007054/0.324, allocations: 0.7849 MB / 0.8119 GB, free: 204 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003348/0.3274, allocations: 2.414 MB / 0.8142 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3274, allocations: 7.938 kB / 0.8142 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.745e-06/0.3274, allocations: 0 / 0.8142 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.768e-05/0.3275, allocations: 0 / 0.8142 GB, free: 13.77 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003383/0.3309, allocations: 1.871 MB / 0.8161 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.3309, allocations: 8.031 kB / 0.8161 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004419/0.3354, allocations: 0.6777 MB / 0.8167 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/0.3371, allocations: 1.008 MB / 0.8177 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.321e-05/0.3372, allocations: 90.89 kB / 0.8178 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/0.3374, allocations: 128.3 kB / 0.8179 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00329/0.3407, allocations: 2.21 MB / 0.8201 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.834e-05/0.3407, allocations: 15.88 kB / 0.8201 GB, free: 7.43 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.3409, allocations: 59.97 kB / 0.8202 GB, free: 7.371 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002237/0.3411, allocations: 162.3 kB / 0.8203 GB, free: 7.211 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002795/0.3439, allocations: 1.867 MB / 0.8221 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01258/0.3565, allocations: 12.44 MB / 0.8343 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00417/0.3607, allocations: 1.98 MB / 0.8362 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008289/0.3616, allocations: 0.6011 MB / 0.8368 GB, free: 5.348 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001772/0.3618, allocations: 106.1 kB / 0.8369 GB, free: 5.223 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.3618, allocations: 39.56 kB / 0.837 GB, free: 5.176 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=103): time 3.186e-06/0.3618, allocations: 0 / 0.837 GB, free: 5.176 MB / 0.6544 GB Notification: Performance of matching and sorting (n=110): time 0.006099/0.3679, allocations: 3.71 MB / 0.8406 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.368, allocations: 68.41 kB / 0.8406 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.3691, allocations: 0.9164 MB / 0.8415 GB, free: 300 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.297e-05/0.3692, allocations: 45.7 kB / 0.8416 GB, free: 248 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005065/0.3697, allocations: 0.7276 MB / 0.8423 GB, free: 15.5 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003052/0.37, allocations: 382.5 kB / 0.8427 GB, free: 15.12 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004181/0.3705, allocations: 287.2 kB / 0.8429 GB, free: 14.84 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.3706, allocations: 301.1 kB / 0.8432 GB, free: 14.54 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009165/0.3715, allocations: 0.6129 MB / 0.8438 GB, free: 13.93 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.3728, allocations: 1.113 MB / 0.8449 GB, free: 12.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002228/0.375, allocations: 1.832 MB / 0.8467 GB, free: 10.55 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.375, allocations: 4 kB / 0.8467 GB, free: 10.54 MB / 0.67 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003164/0.3782, allocations: 2.099 MB / 0.8487 GB, free: 8.41 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.3782, allocations: 12 kB / 0.8488 GB, free: 8.398 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.3783, allocations: 16 kB / 0.8488 GB, free: 8.383 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000791/0.3791, allocations: 259.4 kB / 0.849 GB, free: 8.105 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.3804, allocations: 375.4 kB / 0.8494 GB, free: 7.738 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009424/0.3898, allocations: 11.58 MB / 0.8607 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.3911, allocations: 123.8 kB / 0.8608 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.3912, allocations: 79.92 kB / 0.8609 GB, free: 10.84 MB / 0.6856 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.0006989/0.3919, allocations: 409.3 kB / 0.8613 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/0.3921, allocations: 126.5 kB / 0.8614 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002777/0.3949, allocations: 1.677 MB / 0.863 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.118e-06/0.3949, allocations: 8 kB / 0.863 GB, free: 8.586 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3949, allocations: 4 kB / 0.863 GB, free: 8.582 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.3949, allocations: 7.969 kB / 0.863 GB, free: 8.574 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004812/0.3997, allocations: 3.295 MB / 0.8663 GB, free: 5.133 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.238e-06/0.3998, allocations: 7.938 kB / 0.8663 GB, free: 5.125 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008296/0.4006, allocations: 223.6 kB / 0.8665 GB, free: 4.906 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006844/0.4013, allocations: 239 kB / 0.8667 GB, free: 4.648 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.588e-05/0.4014, allocations: 31.94 kB / 0.8667 GB, free: 4.617 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009283/0.4107, allocations: 11.57 MB / 0.878 GB, free: 7.926 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.254e-05/0.4107, allocations: 11.94 kB / 0.8781 GB, free: 7.914 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003368/0.4141, allocations: 1.792 MB / 0.8798 GB, free: 6.012 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006649/0.4148, allocations: 303.4 kB / 0.8801 GB, free: 5.695 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.4149, allocations: 31.94 kB / 0.8801 GB, free: 5.664 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000733/0.4157, allocations: 99.8 kB / 0.8802 GB, free: 5.566 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002375/0.4159, allocations: 100.6 kB / 0.8803 GB, free: 5.469 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.039e-05/0.416, allocations: 36 kB / 0.8803 GB, free: 5.434 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009564/0.417, allocations: 0.6138 MB / 0.8809 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of sort global known variables: time 5.21e-07/0.417, allocations: 4 kB / 0.881 GB, free: 4.809 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001737/0.4187, allocations: 396 kB / 0.8813 GB, free: 4.422 MB / 0.7012 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.0003241/0.4191, allocations: 142 kB / 0.8815 GB, free: 4.277 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003722/0.4228, allocations: 2.5 MB / 0.8839 GB, free: 1.676 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4228, allocations: 0 / 0.8839 GB, free: 1.676 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002062/0.4249, allocations: 1.634 MB / 0.8855 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/0.4266, allocations: 352.4 kB / 0.8858 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004487/0.4311, allocations: 2.744 MB / 0.8885 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/0.4322, allocations: 1.327 MB / 0.8898 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001005/0.4332, allocations: 367.3 kB / 0.8902 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/0.4335, allocations: 95.42 kB / 0.8903 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of SimCode: time 2.435e-06/0.4335, allocations: 0 / 0.8903 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of Templates: time 0.03192/0.4654, allocations: 17.07 MB / 0.9069 GB, free: 10.03 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)