Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008495/0.0008495, allocations: 90.75 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.0009251/0.0009251, 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.38/1.38, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001781/0.001781, allocations: 270.5 kB / 291.3 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.003/1.003, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00041/0.00041, allocations: 25.88 kB / 0.598 GB, free: 28.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1695, allocations: 88.54 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01926/0.1888, allocations: 18.38 MB / 0.7024 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009596/0.1985, allocations: 6.133 MB / 0.7084 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.1998, allocations: 75.56 kB / 0.7085 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008852/0.2007, allocations: 392.9 kB / 0.7089 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002135/0.2029, allocations: 0.9599 MB / 0.7098 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002104/0.205, allocations: 0.7686 MB / 0.7106 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006417/0.2114, allocations: 5.48 MB / 0.7159 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01057/0.222, allocations: 6.406 MB / 0.7222 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003346/0.2254, allocations: 1.51 MB / 0.7237 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003616/0.229, allocations: 1.974 MB / 0.7256 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005101/0.2296, allocations: 176 kB / 0.7257 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001664/0.2312, allocations: 487.4 kB / 0.7262 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001727/0.233, allocations: 1.341 MB / 0.7275 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001106/0.2341, allocations: 0.6446 MB / 0.7282 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005742/0.2398, allocations: 5.384 MB / 0.7334 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.2399, allocations: 0 / 0.7334 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.715e-06/0.2399, allocations: 0 / 0.7334 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001713/0.2401, allocations: 0 / 0.7334 GB, free: 13.2 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.006066/0.2461, allocations: 2.847 MB / 0.7362 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.2462, allocations: 8.031 kB / 0.7362 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003534/0.2497, allocations: 0.6401 MB / 0.7368 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003462/0.2532, allocations: 1.896 MB / 0.7387 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.2534, allocations: 225.9 kB / 0.7389 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005191/0.2539, allocations: 288 kB / 0.7392 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008805/0.2627, allocations: 4.863 MB / 0.7439 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.823e-05/0.2629, allocations: 19.78 kB / 0.7439 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003083/0.2632, allocations: 127.9 kB / 0.7441 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003951/0.2636, allocations: 229.7 kB / 0.7443 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006862/0.2705, allocations: 3.731 MB / 0.7479 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02502/0.2955, allocations: 21.6 MB / 0.769 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/0.2973, allocations: 1.293 MB / 0.7703 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/0.2988, allocations: 1.034 MB / 0.7713 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.788e-05/0.2989, allocations: 20.94 kB / 0.7713 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.284e-05/0.299, allocations: 51.48 kB / 0.7713 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=107): time 3.226e-06/0.299, allocations: 4 kB / 0.7714 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=138): time 0.3254/0.6243, allocations: 8.657 MB / 0.7798 GB, free: 86.69 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.6244, allocations: 65.91 kB / 0.7799 GB, free: 86.62 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002141/0.6266, allocations: 1.124 MB / 0.781 GB, free: 86.17 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001421/0.6267, allocations: 47.3 kB / 0.781 GB, free: 86.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007355/0.6275, allocations: 1.302 MB / 0.7823 GB, free: 85.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003969/0.6279, allocations: 479.2 kB / 0.7827 GB, free: 84.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.628, allocations: 30.5 kB / 0.7828 GB, free: 84.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.6281, allocations: 377 kB / 0.7831 GB, free: 84.42 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.6295, allocations: 0.9069 MB / 0.784 GB, free: 84.08 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/0.6309, allocations: 1.313 MB / 0.7853 GB, free: 83.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.6322, allocations: 1.138 MB / 0.7864 GB, free: 82.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.6322, allocations: 3.844 kB / 0.7864 GB, free: 82.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005478/0.6377, allocations: 3.448 MB / 0.7898 GB, free: 81.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.6378, allocations: 9.719 kB / 0.7898 GB, free: 81.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.6378, allocations: 13.12 kB / 0.7898 GB, free: 81.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002945/0.6407, allocations: 1.194 MB / 0.791 GB, free: 81.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009122/0.6417, allocations: 254.2 kB / 0.7912 GB, free: 81.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01433/0.656, allocations: 12.7 MB / 0.8036 GB, free: 73.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.6573, allocations: 91.98 kB / 0.8037 GB, free: 73.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.6575, allocations: 63.09 kB / 0.8038 GB, free: 73.28 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002012/0.6595, allocations: 1.12 MB / 0.8048 GB, free: 72.76 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002885/0.6598, allocations: 158 kB / 0.805 GB, free: 72.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005035/0.6648, allocations: 3.157 MB / 0.8081 GB, free: 71.38 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.6649, allocations: 13.53 kB / 0.8081 GB, free: 71.38 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/0.6649, allocations: 12.72 kB / 0.8081 GB, free: 71.38 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.6649, allocations: 7.969 kB / 0.8081 GB, free: 71.37 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008509/0.6734, allocations: 6.25 MB / 0.8142 GB, free: 67.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.477e-06/0.6735, allocations: 3.969 kB / 0.8142 GB, free: 67.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005171/0.674, allocations: 146.3 kB / 0.8144 GB, free: 67.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002384/0.6764, allocations: 1.067 MB / 0.8154 GB, free: 67.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.948e-05/0.6765, allocations: 27.72 kB / 0.8154 GB, free: 67.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01233/0.6888, allocations: 12.43 MB / 0.8276 GB, free: 57.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.6889, allocations: 4 kB / 0.8276 GB, free: 57.65 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004556/0.6934, allocations: 3.14 MB / 0.8306 GB, free: 54.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007676/0.6942, allocations: 427 kB / 0.831 GB, free: 53.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/0.6944, allocations: 36 kB / 0.8311 GB, free: 53.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007123/0.6951, allocations: 79.89 kB / 0.8312 GB, free: 53.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003363/0.6955, allocations: 126 kB / 0.8313 GB, free: 53.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-05/0.6956, allocations: 40 kB / 0.8313 GB, free: 53.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009312/0.6965, allocations: 0.7476 MB / 0.832 GB, free: 52.96 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6965, allocations: 4 kB / 0.832 GB, free: 52.96 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002369/0.6989, allocations: 0.6602 MB / 0.8327 GB, free: 52.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002307/0.6991, allocations: 139.1 kB / 0.8328 GB, free: 52.15 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00406/0.7032, allocations: 3.13 MB / 0.8359 GB, free: 49 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.7032, allocations: 0 / 0.8359 GB, free: 49 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002423/0.7057, allocations: 1.961 MB / 0.8378 GB, free: 47 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002099/0.7078, allocations: 472.6 kB / 0.8382 GB, free: 46.56 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0082/0.716, allocations: 6.464 MB / 0.8446 GB, free: 40.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002024/0.718, allocations: 2.34 MB / 0.8468 GB, free: 37.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00122/0.7193, allocations: 344.6 kB / 0.8472 GB, free: 37.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.7195, allocations: 91.42 kB / 0.8473 GB, free: 37.23 MB / 0.5606 GB Notification: Performance of SimCode: time 1.714e-06/0.7195, allocations: 0 / 0.8473 GB, free: 37.23 MB / 0.5606 GB Notification: Performance of Templates: time 0.04508/0.7646, allocations: 30.22 MB / 0.8768 GB, free: 7.484 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)