Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001044/0.001044, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.001082/0.001082, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.223/1.223, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002064/0.002064, allocations: 289.1 kB / 291 MB, free: 14.73 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8964/0.8964, allocations: 169.2 MB / 0.4985 GB, free: 4.766 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 99 kB / 0.5953 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1528, allocations: 86.98 MB / 0.6803 GB, free: 8.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.3104/0.4632, allocations: 11.02 MB / 0.691 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008816/0.4721, allocations: 5.765 MB / 0.6967 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.4734, allocations: 45 kB / 0.6967 GB, free: 11.12 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00407/0.4775, allocations: 1.631 MB / 0.6983 GB, free: 10.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003628/0.4811, allocations: 1.048 MB / 0.6993 GB, free: 9.582 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002428/0.4835, allocations: 0.7514 MB / 0.7001 GB, free: 9.199 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003268/0.4868, allocations: 2.127 MB / 0.7021 GB, free: 8.227 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002394/0.4892, allocations: 1.498 MB / 0.7036 GB, free: 7.555 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001897/0.4911, allocations: 0.8524 MB / 0.7044 GB, free: 7.172 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001772/0.4929, allocations: 0.9397 MB / 0.7054 GB, free: 6.77 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002603/0.4932, allocations: 114.3 kB / 0.7055 GB, free: 6.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002998/0.4962, allocations: 1.183 MB / 0.7066 GB, free: 6.348 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007228/0.4969, allocations: 0.5301 MB / 0.7071 GB, free: 6.121 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009986/0.4979, allocations: 0.7826 MB / 0.7079 GB, free: 5.645 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003667/0.5016, allocations: 1.887 MB / 0.7097 GB, free: 5.125 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.5016, allocations: 1.281 kB / 0.7097 GB, free: 5.125 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5016, allocations: 0 / 0.7097 GB, free: 5.125 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.961e-05/0.5017, allocations: 0 / 0.7097 GB, free: 5.125 MB / 494.1 MB 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.003529/0.5052, allocations: 1.866 MB / 0.7116 GB, free: 3.902 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.5053, allocations: 10.62 kB / 0.7116 GB, free: 3.902 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004944/0.5102, allocations: 0.6707 MB / 0.7122 GB, free: 3.777 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/0.5123, allocations: 0.9126 MB / 0.7131 GB, free: 3.227 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.802e-05/0.5124, allocations: 93.86 kB / 0.7132 GB, free: 3.184 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000267/0.5127, allocations: 131 kB / 0.7133 GB, free: 3.137 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003629/0.5163, allocations: 2.209 MB / 0.7155 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.095e-05/0.5164, allocations: 9.375 kB / 0.7155 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001426/0.5165, allocations: 62.3 kB / 0.7156 GB, free: 1.855 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002538/0.5168, allocations: 165.6 kB / 0.7157 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002923/0.5197, allocations: 1.865 MB / 0.7175 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01175/0.5315, allocations: 12.48 MB / 0.7297 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004427/0.536, allocations: 1.973 MB / 0.7317 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008369/0.5368, allocations: 0.6029 MB / 0.7322 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001842/0.537, allocations: 106.3 kB / 0.7323 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.5371, allocations: 43.03 kB / 0.7324 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=103): time 3.717e-06/0.5371, allocations: 0 / 0.7324 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=110): time 0.006434/0.5435, allocations: 3.715 MB / 0.736 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.5436, allocations: 67.8 kB / 0.7361 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.5448, allocations: 0.9185 MB / 0.737 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.879e-05/0.5449, allocations: 44.39 kB / 0.737 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004347/0.5453, allocations: 0.7305 MB / 0.7377 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002819/0.5456, allocations: 383.8 kB / 0.7381 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004002/0.546, allocations: 286.6 kB / 0.7384 GB, free: 352 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.736e-05/0.5461, allocations: 301.1 kB / 0.7387 GB, free: 48 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008975/0.547, allocations: 0.6175 MB / 0.7393 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/0.5482, allocations: 1.107 MB / 0.7403 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002262/0.5505, allocations: 1.83 MB / 0.7421 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.5505, allocations: 4.344 kB / 0.7421 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003387/0.5539, allocations: 2.1 MB / 0.7442 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.5539, allocations: 15.28 kB / 0.7442 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/0.554, allocations: 15.56 kB / 0.7442 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008204/0.5548, allocations: 259 kB / 0.7445 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.556, allocations: 379.6 kB / 0.7448 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008228/0.5643, allocations: 11.58 MB / 0.7561 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.5659, allocations: 123.8 kB / 0.7563 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/0.566, allocations: 79.92 kB / 0.7563 GB, free: 15.46 MB / 0.5294 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.0007908/0.5668, allocations: 405.2 kB / 0.7567 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/0.567, allocations: 134.4 kB / 0.7568 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002636/0.5697, allocations: 1.677 MB / 0.7585 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.5697, allocations: 12 kB / 0.7585 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.5697, allocations: 4 kB / 0.7585 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.5697, allocations: 7.984 kB / 0.7585 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004741/0.5745, allocations: 3.283 MB / 0.7617 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.5745, allocations: 8 kB / 0.7617 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008397/0.5754, allocations: 219.6 kB / 0.7619 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006851/0.5761, allocations: 247.3 kB / 0.7622 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.798e-05/0.5761, allocations: 31.94 kB / 0.7622 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008035/0.5842, allocations: 11.58 MB / 0.7735 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.5842, allocations: 4 kB / 0.7735 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002881/0.5871, allocations: 1.803 MB / 0.7753 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006041/0.5877, allocations: 303.4 kB / 0.7756 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/0.5879, allocations: 31.91 kB / 0.7756 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000697/0.5886, allocations: 91.86 kB / 0.7757 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002001/0.5888, allocations: 100.7 kB / 0.7758 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.148e-05/0.5889, allocations: 32 kB / 0.7758 GB, free: 10.06 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007385/0.5896, allocations: 0.6177 MB / 0.7764 GB, free: 9.434 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5896, allocations: 0 / 0.7764 GB, free: 9.434 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001478/0.5911, allocations: 392 kB / 0.7768 GB, free: 9.051 MB / 0.545 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.0002296/0.5914, allocations: 146.9 kB / 0.7769 GB, free: 8.898 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004326/0.5957, allocations: 2.875 MB / 0.7797 GB, free: 5.926 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.5957, allocations: 0 / 0.7797 GB, free: 5.926 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001924/0.5977, allocations: 1.63 MB / 0.7813 GB, free: 4.195 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001766/0.5994, allocations: 365.3 kB / 0.7817 GB, free: 3.852 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004658/0.6041, allocations: 3.495 MB / 0.7851 GB, free: 256 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008342/0.605, allocations: 1.327 MB / 0.7864 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003805/0.6053, allocations: 111.4 kB / 0.7865 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/0.6053, allocations: 0 / 0.7865 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of Templates: time 0.05447/0.6598, allocations: 59.16 MB / 0.8443 GB, free: 3.609 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)