Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001184/0.001184, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001234/0.001234, allocations: 196.3 kB / 16.26 MB, free: 6.621 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.619/1.619, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.811/1.811, allocations: 292.2 MB / 0.5485 GB, free: 13.67 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.001401/0.001401, allocations: 67.28 kB / 0.671 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3128, allocations: 114.6 MB / 0.7829 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006131/0.319, allocations: 4.331 MB / 0.7871 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004008/0.3231, allocations: 2.39 MB / 0.7894 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002773/0.3234, allocations: 15.88 kB / 0.7894 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.3246, allocations: 354.6 kB / 0.7898 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008757/0.3254, allocations: 342.5 kB / 0.7901 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007752/0.3262, allocations: 294.8 kB / 0.7904 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006707/0.3269, allocations: 0.6866 MB / 0.7911 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005131/0.3274, allocations: 282.3 kB / 0.7913 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003134/0.3278, allocations: 251 kB / 0.7916 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003534/0.3281, allocations: 282.8 kB / 0.7918 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.959e-05/0.3282, allocations: 28 kB / 0.7919 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006738/0.3289, allocations: 431 kB / 0.7923 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.329, allocations: 143.5 kB / 0.7924 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002079/0.3292, allocations: 238.7 kB / 0.7926 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008224/0.3301, allocations: 0.7553 MB / 0.7934 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3301, allocations: 0 / 0.7934 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3301, allocations: 0 / 0.7934 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.3301, allocations: 4 kB / 0.7934 GB, free: 3.125 MB / 0.6075 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.001188/0.3313, allocations: 0.7948 MB / 0.7942 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.3313, allocations: 8.031 kB / 0.7942 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.3327, allocations: 180.1 kB / 0.7943 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005325/0.3332, allocations: 404.5 kB / 0.7947 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.3333, allocations: 29.36 kB / 0.7947 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.745e-05/0.3334, allocations: 28.38 kB / 0.7948 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009228/0.3343, allocations: 0.6588 MB / 0.7954 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.3343, allocations: 3.938 kB / 0.7954 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.203e-05/0.3344, allocations: 23.97 kB / 0.7954 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/0.3345, allocations: 55.95 kB / 0.7955 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000734/0.3352, allocations: 0.4926 MB / 0.796 GB, free: 280 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003335/0.3386, allocations: 3.775 MB / 0.7997 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/0.3402, allocations: 0.6328 MB / 0.8003 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.3405, allocations: 182.4 kB / 0.8005 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.3405, allocations: 4 kB / 0.8005 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.3406, allocations: 50.48 kB / 0.8005 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=30): time 3.778e-06/0.3406, allocations: 0 / 0.8005 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002269/0.3428, allocations: 1.269 MB / 0.8017 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.927e-05/0.3429, allocations: 110.8 kB / 0.8019 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004384/0.3434, allocations: 401.7 kB / 0.8022 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.3434, allocations: 29.7 kB / 0.8023 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/0.3436, allocations: 283.5 kB / 0.8025 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.01e-05/0.3437, allocations: 122.3 kB / 0.8026 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.3439, allocations: 98.16 kB / 0.8027 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.344, allocations: 354.8 kB / 0.8031 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.3443, allocations: 177 kB / 0.8033 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004203/0.3447, allocations: 379.2 kB / 0.8036 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006815/0.3454, allocations: 0.5835 MB / 0.8042 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.3454, allocations: 3.938 kB / 0.8042 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009861/0.3464, allocations: 0.6786 MB / 0.8048 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.3465, allocations: 8 kB / 0.8049 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.3465, allocations: 8 kB / 0.8049 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003828/0.3469, allocations: 103.3 kB / 0.805 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/0.3473, allocations: 107.8 kB / 0.8051 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0038/0.3511, allocations: 4.352 MB / 0.8093 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003913/0.3515, allocations: 27.98 kB / 0.8093 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.163e-05/0.3515, allocations: 28.11 kB / 0.8094 GB, free: 1.496 MB / 0.6231 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.0003728/0.3519, allocations: 201.6 kB / 0.8096 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.3521, allocations: 47.44 kB / 0.8096 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009685/0.353, allocations: 0.5224 MB / 0.8101 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.3531, allocations: 4 kB / 0.8101 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3531, allocations: 0 / 0.8101 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.3531, allocations: 7.984 kB / 0.8101 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.3548, allocations: 1.283 MB / 0.8114 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3548, allocations: 4 kB / 0.8114 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.3551, allocations: 59.91 kB / 0.8114 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002522/0.3553, allocations: 90.78 kB / 0.8115 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.3554, allocations: 12 kB / 0.8115 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003443/0.3588, allocations: 4.34 MB / 0.8158 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.3588, allocations: 4 kB / 0.8158 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.3599, allocations: 0.7943 MB / 0.8166 GB, free: 9.523 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.3601, allocations: 144.5 kB / 0.8167 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.116e-05/0.3601, allocations: 20.27 kB / 0.8167 GB, free: 9.344 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.3604, allocations: 15.98 kB / 0.8167 GB, free: 9.328 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/0.3605, allocations: 43.83 kB / 0.8168 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.3605, allocations: 15.94 kB / 0.8168 GB, free: 9.27 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003384/0.3609, allocations: 279.1 kB / 0.8171 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3609, allocations: 0 / 0.8171 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007489/0.3616, allocations: 120 kB / 0.8172 GB, free: 8.879 MB / 0.6387 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.000193/0.3618, allocations: 119.1 kB / 0.8173 GB, free: 8.75 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001318/0.3632, allocations: 0.821 MB / 0.8181 GB, free: 7.891 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3632, allocations: 4 kB / 0.8181 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006712/0.3639, allocations: 0.5358 MB / 0.8186 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000904/0.3648, allocations: 141.1 kB / 0.8187 GB, free: 7.184 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.3664, allocations: 1.081 MB / 0.8198 GB, free: 6.043 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005251/0.367, allocations: 0.8624 MB / 0.8206 GB, free: 5.152 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002848/0.3673, allocations: 100.5 kB / 0.8207 GB, free: 5.051 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.251e-05/0.3674, allocations: 39.42 kB / 0.8208 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of SimCode: time 8.12e-07/0.3674, allocations: 0 / 0.8208 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of Templates: time 0.0108/0.3782, allocations: 5.778 MB / 0.8264 GB, free: 15.3 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)