Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 107.2 kB / 16.4 MB, free: 6.445 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.0013/0.0013, allocations: 193.2 kB / 17.34 MB, free: 5.707 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.252/1.252, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6642/0.6642, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 62.17 kB / 0.5577 GB, free: 32.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.129, allocations: 76.18 MB / 0.6321 GB, free: 4.531 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02242/0.1514, allocations: 20.4 MB / 0.652 GB, free: 52 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01297/0.1644, allocations: 7.694 MB / 0.6595 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/0.1662, allocations: 59.81 kB / 0.6596 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003552/0.1698, allocations: 1.354 MB / 0.6609 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002684/0.1725, allocations: 1.007 MB / 0.6619 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00458/0.1771, allocations: 1.992 MB / 0.6638 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004853/0.182, allocations: 4.327 MB / 0.668 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00732/0.1893, allocations: 6.153 MB / 0.6741 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002339/0.1917, allocations: 1.866 MB / 0.6759 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003051/0.1947, allocations: 2.201 MB / 0.678 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0008145/0.1956, allocations: 432 kB / 0.6784 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.1973, allocations: 0.9402 MB / 0.6794 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001473/0.1988, allocations: 1.657 MB / 0.681 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001703/0.2005, allocations: 1.716 MB / 0.6827 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005255/0.2058, allocations: 6.186 MB / 0.6887 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.2058, allocations: 0 / 0.6887 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.096e-06/0.2058, allocations: 0 / 0.6887 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001739/0.206, allocations: 0 / 0.6887 GB, free: 10.33 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.006713/0.2127, allocations: 3.055 MB / 0.6917 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.2128, allocations: 8.031 kB / 0.6917 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003528/0.2163, allocations: 0.7429 MB / 0.6924 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002319/0.2186, allocations: 1.571 MB / 0.6939 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.2188, allocations: 218.2 kB / 0.6942 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004163/0.2192, allocations: 288.4 kB / 0.6944 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007923/0.2271, allocations: 5.086 MB / 0.6994 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.915e-05/0.2272, allocations: 11.84 kB / 0.6994 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003072/0.2275, allocations: 120 kB / 0.6995 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002276/0.2278, allocations: 212.6 kB / 0.6997 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006483/0.2343, allocations: 4.223 MB / 0.7038 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02216/0.2564, allocations: 22.92 MB / 0.7262 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002693/0.2592, allocations: 1.735 MB / 0.7279 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001485/0.2607, allocations: 1.149 MB / 0.729 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001322/0.2608, allocations: 101.7 kB / 0.7291 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.2609, allocations: 47.16 kB / 0.7292 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=84): time 2.504e-06/0.2609, allocations: 4 kB / 0.7292 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87): time 0.005276/0.2661, allocations: 4.009 MB / 0.7331 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.2662, allocations: 141.2 kB / 0.7332 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.2673, allocations: 0.8682 MB / 0.7341 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.476e-05/0.2674, allocations: 41.7 kB / 0.7341 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006452/0.268, allocations: 1.162 MB / 0.7353 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000245/0.2683, allocations: 303.7 kB / 0.7356 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004045/0.2687, allocations: 282.5 kB / 0.7358 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.2689, allocations: 410.7 kB / 0.7362 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.2701, allocations: 0.8257 MB / 0.737 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.2716, allocations: 1.31 MB / 0.7383 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0026/0.2742, allocations: 2.167 MB / 0.7404 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.2742, allocations: 4 kB / 0.7404 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003331/0.2776, allocations: 2.207 MB / 0.7426 GB, free: 76 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.2776, allocations: 12 kB / 0.7426 GB, free: 64 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.2776, allocations: 16.09 kB / 0.7426 GB, free: 48 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.521e-05/0.2777, allocations: 24 kB / 0.7426 GB, free: 24 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/0.2793, allocations: 407.3 kB / 0.743 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-05/0.2793, allocations: 27.92 kB / 0.743 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.2806, allocations: 227.1 kB / 0.7433 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.2807, allocations: 63.97 kB / 0.7433 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00246/0.2832, allocations: 1.677 MB / 0.745 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001394/0.2846, allocations: 1.19 MB / 0.7461 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002292/0.2869, allocations: 1.898 MB / 0.748 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.207e-06/0.2869, allocations: 11.92 kB / 0.748 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.00287/0.2898, allocations: 1.929 MB / 0.7499 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.2898, allocations: 13.88 kB / 0.7499 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.2898, allocations: 16 kB / 0.7499 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.2898, allocations: 23.98 kB / 0.7499 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.2911, allocations: 371.6 kB / 0.7503 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.574e-05/0.2912, allocations: 36.17 kB / 0.7503 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.2923, allocations: 179.3 kB / 0.7505 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.341e-05/0.2924, allocations: 55.98 kB / 0.7505 GB, free: 7.465 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003051/0.2927, allocations: 267.8 kB / 0.7508 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/0.2929, allocations: 102.8 kB / 0.7509 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002743/0.2957, allocations: 1.854 MB / 0.7527 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.2957, allocations: 11.98 kB / 0.7527 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.2957, allocations: 4 kB / 0.7527 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.2957, allocations: 3.984 kB / 0.7527 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2814/0.5771, allocations: 9.574 MB / 0.7621 GB, free: 114.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/0.5772, allocations: 12.28 kB / 0.7621 GB, free: 114.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/0.5784, allocations: 317.2 kB / 0.7624 GB, free: 114.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-05/0.5784, allocations: 15.72 kB / 0.7624 GB, free: 114.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-05/0.5785, allocations: 32.77 kB / 0.7624 GB, free: 114.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.918e-05/0.5785, allocations: 23.41 kB / 0.7624 GB, free: 114.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-05/0.5785, allocations: 17.22 kB / 0.7625 GB, free: 114.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002674/0.5812, allocations: 2.4 MB / 0.7648 GB, free: 113.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005092/0.5817, allocations: 374.5 kB / 0.7652 GB, free: 113.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.5819, allocations: 37.27 kB / 0.7652 GB, free: 113.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009655/0.5829, allocations: 143.1 kB / 0.7653 GB, free: 113.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.5831, allocations: 89.42 kB / 0.7654 GB, free: 113.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.208e-05/0.5832, allocations: 39.08 kB / 0.7655 GB, free: 113.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000872/0.584, allocations: 0.6147 MB / 0.7661 GB, free: 112.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.584, allocations: 0 / 0.7661 GB, free: 112.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00231/0.5864, allocations: 0.7522 MB / 0.7668 GB, free: 112.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002204/0.5866, allocations: 149.3 kB / 0.7669 GB, free: 112.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004881/0.5915, allocations: 2.903 MB / 0.7698 GB, free: 111.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/0.5915, allocations: 2 kB / 0.7698 GB, free: 111.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001409/0.5929, allocations: 0.9113 MB / 0.7707 GB, free: 111.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/0.5947, allocations: 302.1 kB / 0.771 GB, free: 111.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007207/0.6019, allocations: 4.993 MB / 0.7758 GB, free: 109 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001702/0.6037, allocations: 2.126 MB / 0.7779 GB, free: 108 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001615/0.6053, allocations: 0.7485 MB / 0.7786 GB, free: 107.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003553/0.6057, allocations: 85.86 kB / 0.7787 GB, free: 107.9 MB / 0.5919 GB Notification: Performance of SimCode: time 8.81e-07/0.6057, allocations: 4 kB / 0.7787 GB, free: 107.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.02208/0.6277, allocations: 18.26 MB / 0.7965 GB, free: 95.04 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)