Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001457/0.001457, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001776/0.001776, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.323/1.323, allocations: 222.9 MB / 239.9 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002085/0.002085, allocations: 279 kB / 290.4 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9547/0.9547, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 92.12 kB / 0.5947 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1553, allocations: 86.98 MB / 0.6796 GB, free: 1.027 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02236/0.1777, allocations: 20.26 MB / 0.6994 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01122/0.189, allocations: 7.463 MB / 0.7067 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001603/0.1906, allocations: 59.81 kB / 0.7068 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003195/0.1938, allocations: 1.259 MB / 0.708 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002187/0.196, allocations: 0.8991 MB / 0.7089 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004315/0.2003, allocations: 1.843 MB / 0.7107 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00428/0.2046, allocations: 4.362 MB / 0.7149 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008908/0.2135, allocations: 7.32 MB / 0.7221 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00239/0.216, allocations: 1.85 MB / 0.7239 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003003/0.219, allocations: 2.314 MB / 0.7261 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006038/0.2196, allocations: 428 kB / 0.7266 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.2212, allocations: 0.9167 MB / 0.7274 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001445/0.2226, allocations: 1.649 MB / 0.7291 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001781/0.2244, allocations: 1.716 MB / 0.7307 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005278/0.2297, allocations: 6.174 MB / 0.7368 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2297, allocations: 4 kB / 0.7368 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2297, allocations: 3.938 kB / 0.7368 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001267/0.2299, allocations: 0 / 0.7368 GB, free: 6.332 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.0064/0.2363, allocations: 3.036 MB / 0.7397 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.2364, allocations: 12.03 kB / 0.7397 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003252/0.2396, allocations: 0.6805 MB / 0.7404 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002336/0.242, allocations: 1.54 MB / 0.7419 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/0.2421, allocations: 218.2 kB / 0.7421 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004596/0.2426, allocations: 280.4 kB / 0.7424 GB, free: 484 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008024/0.2506, allocations: 5.055 MB / 0.7473 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-05/0.2507, allocations: 7.938 kB / 0.7473 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003919/0.2511, allocations: 120 kB / 0.7474 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002337/0.2514, allocations: 204.6 kB / 0.7476 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006632/0.258, allocations: 4.184 MB / 0.7517 GB, free: 6.699 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3195/0.5776, allocations: 23 MB / 0.7742 GB, free: 82.38 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002929/0.5805, allocations: 1.718 MB / 0.7759 GB, free: 82.29 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001479/0.582, allocations: 1.133 MB / 0.777 GB, free: 82.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001472/0.5822, allocations: 103.4 kB / 0.7771 GB, free: 82.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.5822, allocations: 45.12 kB / 0.7771 GB, free: 82.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=84): time 2.745e-06/0.5822, allocations: 0.9688 kB / 0.7771 GB, free: 82.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87): time 0.006575/0.5888, allocations: 3.988 MB / 0.781 GB, free: 81.04 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.5889, allocations: 139.6 kB / 0.7811 GB, free: 80.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009957/0.5899, allocations: 0.8508 MB / 0.782 GB, free: 80.63 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.719e-05/0.59, allocations: 42.73 kB / 0.782 GB, free: 80.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005393/0.5905, allocations: 1.158 MB / 0.7831 GB, free: 79.71 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/0.5908, allocations: 312.8 kB / 0.7834 GB, free: 79.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004376/0.5913, allocations: 274 kB / 0.7837 GB, free: 79.36 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.5914, allocations: 405.7 kB / 0.7841 GB, free: 79.01 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.5925, allocations: 0.8044 MB / 0.7849 GB, free: 78.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.5938, allocations: 1.288 MB / 0.7861 GB, free: 77.87 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002433/0.5962, allocations: 2.144 MB / 0.7882 GB, free: 76.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.245e-05/0.5962, allocations: 3.703 kB / 0.7882 GB, free: 76.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003128/0.5994, allocations: 2.176 MB / 0.7904 GB, free: 75.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.5994, allocations: 14.08 kB / 0.7904 GB, free: 75.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/0.5994, allocations: 13.41 kB / 0.7904 GB, free: 75.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.683e-05/0.5995, allocations: 20.81 kB / 0.7904 GB, free: 75.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/0.601, allocations: 404.3 kB / 0.7908 GB, free: 75.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.15e-05/0.6011, allocations: 36.38 kB / 0.7908 GB, free: 75.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.6023, allocations: 200.7 kB / 0.791 GB, free: 75.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/0.6025, allocations: 63.47 kB / 0.7911 GB, free: 75.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002239/0.6047, allocations: 1.658 MB / 0.7927 GB, free: 75.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001065/0.6058, allocations: 1.174 MB / 0.7938 GB, free: 74.29 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002103/0.6079, allocations: 1.87 MB / 0.7957 GB, free: 73.12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.555e-05/0.6079, allocations: 4.219 kB / 0.7957 GB, free: 73.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.002984/0.6109, allocations: 1.888 MB / 0.7975 GB, free: 72.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.611, allocations: 12.31 kB / 0.7975 GB, free: 72.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/0.611, allocations: 15.12 kB / 0.7975 GB, free: 72.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/0.611, allocations: 27 kB / 0.7976 GB, free: 72.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.6122, allocations: 353.8 kB / 0.7979 GB, free: 72.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.133e-05/0.6123, allocations: 33.28 kB / 0.7979 GB, free: 72.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.6134, allocations: 157.4 kB / 0.7981 GB, free: 72.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.6135, allocations: 63.69 kB / 0.7982 GB, free: 72.31 MB / 0.5606 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.0003398/0.6139, allocations: 264.7 kB / 0.7984 GB, free: 72.07 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002736/0.6141, allocations: 104.2 kB / 0.7985 GB, free: 72.01 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002541/0.6167, allocations: 1.846 MB / 0.8003 GB, free: 71.31 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.6167, allocations: 8.906 kB / 0.8003 GB, free: 71.31 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.6167, allocations: 1.219 kB / 0.8003 GB, free: 71.31 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.6167, allocations: 10.72 kB / 0.8003 GB, free: 71.31 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01145/0.6282, allocations: 9.579 MB / 0.8097 GB, free: 66.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.965e-05/0.6282, allocations: 11.81 kB / 0.8097 GB, free: 66.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.6294, allocations: 312.7 kB / 0.81 GB, free: 65.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-05/0.6294, allocations: 19.75 kB / 0.81 GB, free: 65.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.103e-05/0.6295, allocations: 27.75 kB / 0.81 GB, free: 65.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.395e-05/0.6295, allocations: 25.78 kB / 0.8101 GB, free: 65.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.333e-06/0.6295, allocations: 15.66 kB / 0.8101 GB, free: 65.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002259/0.6318, allocations: 2.4 MB / 0.8124 GB, free: 64.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000545/0.6323, allocations: 369.3 kB / 0.8128 GB, free: 63.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002159/0.6326, allocations: 41.08 kB / 0.8128 GB, free: 63.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009344/0.6335, allocations: 144.7 kB / 0.8129 GB, free: 63.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.6337, allocations: 90.17 kB / 0.813 GB, free: 63.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.12e-05/0.6337, allocations: 36.53 kB / 0.8131 GB, free: 63.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000623/0.6344, allocations: 0.5907 MB / 0.8136 GB, free: 63.49 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6344, allocations: 0 / 0.8136 GB, free: 63.49 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002547/0.6369, allocations: 0.7509 MB / 0.8144 GB, free: 63.44 MB / 0.5606 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.0002131/0.6372, allocations: 145.5 kB / 0.8145 GB, free: 63.31 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003588/0.6408, allocations: 2.995 MB / 0.8174 GB, free: 61.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.6408, allocations: 4.219 kB / 0.8174 GB, free: 61.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.6418, allocations: 0.9083 MB / 0.8183 GB, free: 61.44 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/0.6436, allocations: 312.4 kB / 0.8186 GB, free: 61.17 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006945/0.6505, allocations: 6.206 MB / 0.8247 GB, free: 54.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001817/0.6524, allocations: 2.127 MB / 0.8268 GB, free: 52.64 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001809/0.6542, allocations: 0.7336 MB / 0.8275 GB, free: 51.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004542/0.6547, allocations: 83.42 kB / 0.8276 GB, free: 51.84 MB / 0.5606 GB Notification: Performance of SimCode: time 1.814e-06/0.6547, allocations: 0 / 0.8276 GB, free: 51.84 MB / 0.5606 GB Notification: Performance of Templates: time 0.023/0.6777, allocations: 17.29 MB / 0.8444 GB, free: 34.8 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)