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.0009902/0.0009903, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001216/0.001216, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001736/0.001736, allocations: 278.6 kB / 291.4 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9634/0.9634, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004529/0.0004533, allocations: 13.78 kB / 0.598 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1914, allocations: 88.54 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01034/0.2017, allocations: 9.948 MB / 0.6942 GB, free: 5.484 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007916/0.2097, allocations: 5.437 MB / 0.6995 GB, free: 52 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.2108, allocations: 39.69 kB / 0.6995 GB, free: 12 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006399/0.2114, allocations: 250 kB / 0.6998 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002119/0.2136, allocations: 0.8903 MB / 0.7007 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.215, allocations: 0.5927 MB / 0.7012 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00232/0.2174, allocations: 2.352 MB / 0.7035 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0037/0.2211, allocations: 2.172 MB / 0.7057 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.2221, allocations: 0.6962 MB / 0.7063 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009746/0.2231, allocations: 0.8288 MB / 0.7071 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.2232, allocations: 67.94 kB / 0.7072 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.2246, allocations: 0.6007 MB / 0.7078 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003987/0.225, allocations: 458.6 kB / 0.7082 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002668/0.2253, allocations: 292.9 kB / 0.7085 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001689/0.227, allocations: 1.8 MB / 0.7103 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.227, allocations: 4 kB / 0.7103 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.227, allocations: 0 / 0.7103 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.96e-05/0.227, allocations: 0 / 0.7103 GB, free: 4.965 MB / 0.4981 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.002232/0.2293, allocations: 1.614 MB / 0.7118 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.2293, allocations: 12.03 kB / 0.7119 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004091/0.2334, allocations: 0.6767 MB / 0.7125 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.2347, allocations: 0.8789 MB / 0.7134 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.959e-05/0.2348, allocations: 90.53 kB / 0.7135 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/0.235, allocations: 132 kB / 0.7136 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002993/0.238, allocations: 2.191 MB / 0.7157 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.061e-05/0.2381, allocations: 15.86 kB / 0.7157 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.2382, allocations: 67.91 kB / 0.7158 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001925/0.2384, allocations: 162.3 kB / 0.716 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002705/0.2411, allocations: 1.855 MB / 0.7178 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0105/0.2516, allocations: 12.47 MB / 0.73 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003883/0.2555, allocations: 1.961 MB / 0.7319 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008094/0.2564, allocations: 0.6049 MB / 0.7325 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001566/0.2565, allocations: 106 kB / 0.7326 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.2566, allocations: 47.5 kB / 0.7326 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=103): time 2.735e-06/0.2566, allocations: 3.938 kB / 0.7326 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=110): time 0.005417/0.262, allocations: 3.698 MB / 0.7362 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.2621, allocations: 68.34 kB / 0.7363 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000953/0.263, allocations: 0.9125 MB / 0.7372 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/0.2631, allocations: 41.7 kB / 0.7372 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004259/0.2635, allocations: 0.7354 MB / 0.7379 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002705/0.2638, allocations: 382.5 kB / 0.7383 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.609e-05/0.2639, allocations: 28 kB / 0.7383 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.264, allocations: 369.9 kB / 0.7387 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008368/0.2648, allocations: 0.6128 MB / 0.7393 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.266, allocations: 1.094 MB / 0.7403 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.267, allocations: 0.768 MB / 0.7411 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.267, allocations: 8 kB / 0.7411 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002991/0.27, allocations: 2.08 MB / 0.7431 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.2701, allocations: 12 kB / 0.7431 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.2701, allocations: 16 kB / 0.7432 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007142/0.2708, allocations: 267.1 kB / 0.7434 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.272, allocations: 371.4 kB / 0.7438 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007678/0.2797, allocations: 10.75 MB / 0.7543 GB, free: 5.016 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.2809, allocations: 123.8 kB / 0.7544 GB, free: 4.895 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.965e-05/0.281, allocations: 71.98 kB / 0.7545 GB, free: 4.824 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006489/0.2817, allocations: 401.8 kB / 0.7548 GB, free: 4.422 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/0.2819, allocations: 134.5 kB / 0.755 GB, free: 4.289 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002695/0.2846, allocations: 1.677 MB / 0.7566 GB, free: 2.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.2846, allocations: 15.95 kB / 0.7566 GB, free: 2.555 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.2846, allocations: 0 / 0.7566 GB, free: 2.555 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.2846, allocations: 3.984 kB / 0.7566 GB, free: 2.551 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004508/0.2891, allocations: 3.288 MB / 0.7598 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/0.2892, allocations: 4 kB / 0.7598 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007857/0.29, allocations: 223.7 kB / 0.7601 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006148/0.2906, allocations: 238.7 kB / 0.7603 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.418e-05/0.2907, allocations: 35.92 kB / 0.7603 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007125/0.2978, allocations: 10.74 MB / 0.7708 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/0.2978, allocations: 11.94 kB / 0.7708 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002731/0.3006, allocations: 1.792 MB / 0.7726 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005175/0.3011, allocations: 319.4 kB / 0.7729 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.3012, allocations: 28 kB / 0.7729 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006216/0.3019, allocations: 91.88 kB / 0.773 GB, free: 444 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/0.3021, allocations: 96.77 kB / 0.7731 GB, free: 344 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.826e-05/0.3021, allocations: 36 kB / 0.7731 GB, free: 308 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.3601/0.6623, allocations: 0.6036 MB / 0.7737 GB, free: 85.81 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.01e-07/0.6623, allocations: 0.6562 kB / 0.7737 GB, free: 85.81 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002099/0.6644, allocations: 392.8 kB / 0.7741 GB, free: 85.81 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002329/0.6646, allocations: 144.6 kB / 0.7742 GB, free: 85.72 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003923/0.6686, allocations: 2.479 MB / 0.7766 GB, free: 84.85 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.6686, allocations: 1.062 kB / 0.7766 GB, free: 84.85 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002076/0.6707, allocations: 1.633 MB / 0.7782 GB, free: 83.94 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.6725, allocations: 326 kB / 0.7785 GB, free: 83.94 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005019/0.6775, allocations: 3.257 MB / 0.7817 GB, free: 82.42 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009212/0.6784, allocations: 1.327 MB / 0.783 GB, free: 81.71 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001165/0.6796, allocations: 359.8 kB / 0.7834 GB, free: 81.69 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002724/0.6799, allocations: 94.91 kB / 0.7835 GB, free: 81.68 MB / 0.5606 GB Notification: Performance of SimCode: time 9.02e-07/0.6799, allocations: 3.719 kB / 0.7835 GB, free: 81.68 MB / 0.5606 GB Notification: Performance of Templates: time 0.02892/0.7088, allocations: 15.75 MB / 0.7988 GB, free: 78.01 MB / 0.5606 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)