Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL_pf.S.1.|RL_pf.S.2.|varRL_y.S.1.|varRL_y.S.2.|varRC_y.S.1.|varRC_y.S.2.|varRL_P.S.1.|varRL_P.S.2.|E.S.1.|E.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL_pf.S.1.|RL_pf.S.2.|varRL_y.S.1.|varRL_y.S.2.|varRC_y.S.1.|varRC_y.S.2.|varRL_P.S.1.|varRL_P.S.2.|E.S.1.|E.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.522/2.522, allocations: 390.5 MB / 398 MB, free: 10.99 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 182.8 kB / 491.2 MB, free: 1.602 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.74/1.74, allocations: 221.5 MB / 0.7868 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 95.64 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.303e-05/2.304e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3042, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.035/1.34, allocations: 178.6 MB / 1.387 GB, free: 16.88 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/1.34, allocations: 97.52 kB / 1.387 GB, free: 16.86 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07063/1.411, allocations: 31.06 MB / 1.417 GB, free: 11.31 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.933e-06/1.411, allocations: 0 / 1.417 GB, free: 11.31 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.624e-05/1.411, allocations: 19.98 kB / 1.417 GB, free: 11.29 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001772/1.413, allocations: 0.7449 MB / 1.418 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/1.413, allocations: 8.031 kB / 1.418 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/1.414, allocations: 179.1 kB / 1.418 GB, free: 10.35 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006228/1.415, allocations: 379.7 kB / 1.418 GB, free: 9.973 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/1.415, allocations: 12 kB / 1.418 GB, free: 9.961 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.282e-05/1.415, allocations: 24 kB / 1.418 GB, free: 9.938 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008282/1.416, allocations: 478.2 kB / 1.419 GB, free: 9.617 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/1.417, allocations: 0.7166 MB / 1.42 GB, free: 8.957 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.827e-05/1.417, allocations: 7.938 kB / 1.42 GB, free: 8.949 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.224e-05/1.417, allocations: 0 / 1.42 GB, free: 8.949 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.836e-05/1.417, allocations: 51.73 kB / 1.42 GB, free: 8.902 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004204/1.421, allocations: 4.398 MB / 1.424 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009686/1.422, allocations: 0.5484 MB / 1.425 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000327/1.422, allocations: 254.6 kB / 1.425 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-05/1.422, allocations: 11.92 kB / 1.425 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/1.422, allocations: 42.31 kB / 1.425 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=38): time 2.495e-06/1.422, allocations: 0 / 1.425 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=39): time 0.001111/1.424, allocations: 0.6149 MB / 1.425 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/1.424, allocations: 81.11 kB / 1.426 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002727/1.424, allocations: 279.6 kB / 1.426 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/1.424, allocations: 25.7 kB / 1.426 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/1.424, allocations: 284.6 kB / 1.426 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/1.424, allocations: 132.8 kB / 1.426 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/1.424, allocations: 96 / 1.426 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.424, allocations: 350.4 kB / 1.427 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/1.425, allocations: 217.4 kB / 1.427 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000424/1.425, allocations: 418.8 kB / 1.427 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003778/1.426, allocations: 284 kB / 1.427 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/1.426, allocations: 7.953 kB / 1.427 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009426/1.427, allocations: 0.6538 MB / 1.428 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0011/1.428, allocations: 2.606 MB / 1.431 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/1.428, allocations: 7.984 kB / 1.431 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.832e-05/1.428, allocations: 12 kB / 1.431 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007913/1.429, allocations: 183.5 kB / 1.431 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.998e-05/1.429, allocations: 15.94 kB / 1.431 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005307/1.429, allocations: 67.77 kB / 1.431 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.664e-05/1.429, allocations: 35.8 kB / 1.431 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/1.429, allocations: 4 kB / 1.431 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007308/1.43, allocations: 486.2 kB / 1.431 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/1.43, allocations: 4 kB / 1.431 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/1.43, allocations: 12 kB / 1.431 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005966/1.431, allocations: 159.3 kB / 1.432 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/1.431, allocations: 16.23 kB / 1.432 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003862/1.431, allocations: 63.64 kB / 1.432 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/1.431, allocations: 23 kB / 1.432 GB, free: 13.32 MB / 0.8542 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001728/1.431, allocations: 124.1 kB / 1.432 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/1.431, allocations: 43.52 kB / 1.432 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000922/1.432, allocations: 0.5454 MB / 1.432 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/1.432, allocations: 4 kB / 1.432 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.986e-06/1.432, allocations: 4 kB / 1.432 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.999e-05/1.432, allocations: 3.984 kB / 1.432 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/1.434, allocations: 1.275 MB / 1.434 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/1.434, allocations: 0 / 1.434 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007513/1.435, allocations: 155.4 kB / 1.434 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-06/1.435, allocations: 4.219 kB / 1.434 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.6e-05/1.435, allocations: 8 kB / 1.434 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.942e-06/1.435, allocations: 4 kB / 1.434 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.435, allocations: 3.938 kB / 1.434 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009004/1.436, allocations: 0.7802 MB / 1.435 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002347/1.436, allocations: 179.2 kB / 1.435 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.613e-05/1.436, allocations: 0 / 1.435 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004676/1.437, allocations: 54.05 kB / 1.435 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/1.437, allocations: 41.91 kB / 1.435 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/1.437, allocations: 12 kB / 1.435 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002161/1.437, allocations: 219 kB / 1.435 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/1.437, allocations: 0 / 1.435 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009286/1.438, allocations: 176.1 kB / 1.435 GB, free: 10.12 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002017/1.438, allocations: 122.7 kB / 1.435 GB, free: 9.988 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00117/1.44, allocations: 0.8034 MB / 1.436 GB, free: 9.41 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.44, allocations: 0 / 1.436 GB, free: 9.41 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003307/1.44, allocations: 247.6 kB / 1.436 GB, free: 9.234 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007249/1.441, allocations: 108.7 kB / 1.436 GB, free: 9.152 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/1.443, allocations: 0.7838 MB / 1.437 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005951/1.443, allocations: 0.8889 MB / 1.438 GB, free: 7.512 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0006788/1.444, allocations: 216 kB / 1.438 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/1.444, allocations: 34.19 kB / 1.438 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of SimCode: time 6.71e-07/1.444, allocations: 4 kB / 1.438 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of Templates: time 0.01403/1.458, allocations: 6.185 MB / 1.444 GB, free: 1.148 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)