Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.OnePhase.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008245/0.0008243, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005916/0.005916, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.777/2.777, allocations: 473.4 MB / 0.7469 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005173/0.0005175, allocations: 16.38 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3433, allocations: 162.2 MB / 1.074 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005184/0.3485, allocations: 3.939 MB / 1.078 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004056/0.3526, allocations: 2.35 MB / 1.08 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003266/0.3529, allocations: 15.88 kB / 1.08 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002726/0.3532, allocations: 67.42 kB / 1.08 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008355/0.3541, allocations: 358.4 kB / 1.081 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007094/0.3548, allocations: 295.4 kB / 1.081 GB, free: 444 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007818/0.3556, allocations: 0.866 MB / 1.082 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007851/0.3564, allocations: 446.8 kB / 1.082 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002721/0.3567, allocations: 219 kB / 1.082 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003399/0.357, allocations: 266.8 kB / 1.083 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.848e-05/0.3571, allocations: 16 kB / 1.083 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007392/0.3578, allocations: 0.534 MB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.3579, allocations: 123.6 kB / 1.083 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.3581, allocations: 248.4 kB / 1.084 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007127/0.3589, allocations: 0.7438 MB / 1.084 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3589, allocations: 0 / 1.084 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3589, allocations: 0 / 1.084 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.3589, allocations: 0 / 1.084 GB, free: 12.96 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0009775/0.3599, allocations: 0.7054 MB / 1.085 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.3599, allocations: 8.031 kB / 1.085 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/0.3613, allocations: 180.1 kB / 1.085 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004812/0.3618, allocations: 416.4 kB / 1.086 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.3618, allocations: 25.36 kB / 1.086 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.263e-05/0.3619, allocations: 36.38 kB / 1.086 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008384/0.3627, allocations: 0.651 MB / 1.086 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.3628, allocations: 7.938 kB / 1.086 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.8e-05/0.3628, allocations: 15.98 kB / 1.086 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.597e-05/0.3629, allocations: 47.97 kB / 1.086 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006853/0.3636, allocations: 0.4954 MB / 1.087 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002877/0.3665, allocations: 3.786 MB / 1.091 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.3681, allocations: 0.6322 MB / 1.091 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/0.3684, allocations: 178.5 kB / 1.091 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.3684, allocations: 4 kB / 1.091 GB, free: 5.305 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.3684, allocations: 42.5 kB / 1.091 GB, free: 5.254 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 2.215e-06/0.3684, allocations: 0 / 1.091 GB, free: 5.254 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.002122/0.3706, allocations: 1.277 MB / 1.093 GB, free: 3.902 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.3706, allocations: 107.1 kB / 1.093 GB, free: 3.773 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003713/0.371, allocations: 401.7 kB / 1.093 GB, free: 3.371 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.3711, allocations: 37.7 kB / 1.093 GB, free: 3.328 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.3712, allocations: 283.4 kB / 1.093 GB, free: 3.047 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.152e-05/0.3713, allocations: 122.3 kB / 1.094 GB, free: 2.926 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-05/0.3714, allocations: 49.69 kB / 1.094 GB, free: 2.871 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3715, allocations: 350.8 kB / 1.094 GB, free: 2.52 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/0.3718, allocations: 177 kB / 1.094 GB, free: 2.348 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003611/0.3721, allocations: 375.2 kB / 1.094 GB, free: 1.891 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000656/0.3728, allocations: 0.5874 MB / 1.095 GB, free: 1.211 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.3728, allocations: 7.938 kB / 1.095 GB, free: 1.203 MB / 0.8419 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001024/0.3738, allocations: 0.6635 MB / 1.096 GB, free: 0.5234 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.3739, allocations: 12.16 kB / 1.096 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.3739, allocations: 8 kB / 1.096 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000334/0.3742, allocations: 98.44 kB / 1.096 GB, free: 408 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/0.3746, allocations: 111.8 kB / 1.096 GB, free: 296 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003073/0.3777, allocations: 4.052 MB / 1.1 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003817/0.3781, allocations: 23.98 kB / 1.1 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.3782, allocations: 27.98 kB / 1.1 GB, free: 11.79 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002771/0.3784, allocations: 201.7 kB / 1.1 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.3786, allocations: 47.44 kB / 1.1 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009527/0.3795, allocations: 0.5188 MB / 1.101 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.3796, allocations: 8 kB / 1.101 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3796, allocations: 0 / 1.101 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.3796, allocations: 0 / 1.101 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.3813, allocations: 1.291 MB / 1.102 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3814, allocations: 4 kB / 1.102 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.3816, allocations: 56.19 kB / 1.102 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002636/0.3819, allocations: 94.5 kB / 1.102 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.3819, allocations: 8 kB / 1.102 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002749/0.3846, allocations: 4.036 MB / 1.106 GB, free: 5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3847, allocations: 3.938 kB / 1.106 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008538/0.3855, allocations: 0.7816 MB / 1.107 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.3857, allocations: 152.5 kB / 1.107 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.079e-05/0.3858, allocations: 11.94 kB / 1.107 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/0.3861, allocations: 27.95 kB / 1.107 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.124e-05/0.3861, allocations: 31.97 kB / 1.107 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.3862, allocations: 15.94 kB / 1.107 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002667/0.3864, allocations: 279.1 kB / 1.107 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3864, allocations: 0 / 1.107 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006565/0.3871, allocations: 124 kB / 1.107 GB, free: 3.512 MB / 0.8575 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0001319/0.3872, allocations: 115.1 kB / 1.107 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001149/0.3884, allocations: 0.8016 MB / 1.108 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.3884, allocations: 4 kB / 1.108 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006618/0.3891, allocations: 0.5397 MB / 1.109 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.3901, allocations: 129 kB / 1.109 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.3915, allocations: 1.1 MB / 1.11 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.392, allocations: 0.8625 MB / 1.111 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002725/0.3922, allocations: 108.4 kB / 1.111 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.525e-05/0.3923, allocations: 39.44 kB / 1.111 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.3923, allocations: 0 / 1.111 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of Templates: time 0.009905/0.4023, allocations: 5.456 MB / 1.116 GB, free: 10.25 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)