Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007075/0.00708, allocations: 98.64 kB / 15.73 MB, free: 6.008 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.001632/0.001632, allocations: 192.7 kB / 16.67 MB, free: 5.93 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002094/0.002094, allocations: 293.4 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9283/0.9283, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 91.86 kB / 0.6815 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4821/0.4837, allocations: 86.98 MB / 0.7664 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.0246/0.5084, allocations: 23.4 MB / 0.7893 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01229/0.5207, allocations: 6.484 MB / 0.7956 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002872/0.5236, allocations: 99.5 kB / 0.7957 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00416/0.5278, allocations: 1.487 MB / 0.7971 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00588/0.5337, allocations: 1.828 MB / 0.7989 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003474/0.5372, allocations: 1.461 MB / 0.8003 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007481/0.5447, allocations: 6.912 MB / 0.8071 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00835/0.5531, allocations: 6.938 MB / 0.8139 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004282/0.5574, allocations: 2.839 MB / 0.8166 GB, free: 236 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005074/0.5625, allocations: 3.466 MB / 0.82 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001077/0.5636, allocations: 0.5273 MB / 0.8205 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002671/0.5662, allocations: 1.186 MB / 0.8217 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002566/0.5688, allocations: 2.46 MB / 0.8241 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00337/0.5722, allocations: 2.536 MB / 0.8266 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009823/0.582, allocations: 8.537 MB / 0.8349 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.249e-05/0.5821, allocations: 4 kB / 0.8349 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.519e-06/0.5821, allocations: 4 kB / 0.8349 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003173/0.5824, allocations: 0 / 0.8349 GB, free: 13.46 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01134/0.5938, allocations: 4.547 MB / 0.8394 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.5938, allocations: 8.031 kB / 0.8394 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008199/0.602, allocations: 1.703 MB / 0.841 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004886/0.607, allocations: 2.705 MB / 0.8437 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.6072, allocations: 279.7 kB / 0.8439 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006996/0.6079, allocations: 364.3 kB / 0.8443 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01161/0.6195, allocations: 7.487 MB / 0.8516 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.197e-05/0.6196, allocations: 19.83 kB / 0.8516 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004158/0.62, allocations: 167.9 kB / 0.8518 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000536/0.6206, allocations: 483.3 kB / 0.8522 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009041/0.6296, allocations: 5.701 MB / 0.8578 GB, free: 5.625 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03374/0.6634, allocations: 31.55 MB / 0.8886 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002646/0.6661, allocations: 2.093 MB / 0.8907 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002718/0.6688, allocations: 2.174 MB / 0.8928 GB, free: 15.03 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001611/0.669, allocations: 21.22 kB / 0.8928 GB, free: 15.01 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.669, allocations: 51.81 kB / 0.8929 GB, free: 14.95 MB / 0.67 GB Notification: Performance of pre-optimization done (n=146): time 3.296e-06/0.669, allocations: 0 / 0.8929 GB, free: 14.95 MB / 0.67 GB Notification: Performance of matching and sorting (n=251): time 0.3035/0.9725, allocations: 77.08 MB / 0.9681 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.9726, allocations: 77.41 kB / 0.9682 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.36/1.333, allocations: 1.665 MB / 0.9698 GB, free: 185.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004994/1.333, allocations: 67.11 kB / 0.9699 GB, free: 185.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001337/1.334, allocations: 1.791 MB / 0.9716 GB, free: 185.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000807/1.335, allocations: 0.9006 MB / 0.9725 GB, free: 184.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001139/1.336, allocations: 485.4 kB / 0.973 GB, free: 184.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.664e-05/1.336, allocations: 304.9 kB / 0.9733 GB, free: 184.4 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003952/1.34, allocations: 2.729 MB / 0.9759 GB, free: 183.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00375/1.344, allocations: 3.327 MB / 0.9792 GB, free: 181.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006611/1.351, allocations: 6.4 MB / 0.9854 GB, free: 178.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/1.351, allocations: 3.938 kB / 0.9854 GB, free: 178.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02732/1.378, allocations: 14.69 MB / 0.9998 GB, free: 174.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/1.378, allocations: 12.53 kB / 0.9998 GB, free: 174.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.39e-05/1.378, allocations: 19.25 kB / 0.9998 GB, free: 174.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02584/1.404, allocations: 9.242 MB / 1.009 GB, free: 165.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/1.405, allocations: 299.5 kB / 1.009 GB, free: 165.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06253/1.468, allocations: 52.39 MB / 1.06 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002757/1.471, allocations: 227.7 kB / 1.061 GB, free: 112.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002457/1.471, allocations: 98.58 kB / 1.061 GB, free: 112 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001906/1.473, allocations: 1.59 MB / 1.062 GB, free: 110.4 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003877/1.473, allocations: 250.6 kB / 1.062 GB, free: 110.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02765/1.501, allocations: 14.76 MB / 1.077 GB, free: 95.35 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.968e-05/1.501, allocations: 24 kB / 1.077 GB, free: 95.32 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.682e-05/1.501, allocations: 48 kB / 1.077 GB, free: 95.28 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-05/1.501, allocations: 11.95 kB / 1.077 GB, free: 95.27 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03346/1.534, allocations: 20.52 MB / 1.097 GB, free: 74.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.112e-05/1.534, allocations: 11.62 kB / 1.097 GB, free: 74.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006878/1.535, allocations: 163.7 kB / 1.097 GB, free: 74.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02634/1.562, allocations: 9.004 MB / 1.106 GB, free: 65.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003599/1.562, allocations: 51.94 kB / 1.106 GB, free: 65.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06273/1.625, allocations: 52 MB / 1.157 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.625, allocations: 11.94 kB / 1.157 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02685/1.652, allocations: 14.37 MB / 1.171 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001685/1.653, allocations: 0.8546 MB / 1.172 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004236/1.654, allocations: 55.98 kB / 1.172 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002019/1.656, allocations: 207.7 kB / 1.172 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0012/1.657, allocations: 241.4 kB / 1.172 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002247/1.657, allocations: 64 kB / 1.172 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001441/1.659, allocations: 1.129 MB / 1.173 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/1.659, allocations: 0 / 1.173 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003758/1.662, allocations: 1.613 MB / 1.175 GB, free: 9.836 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003478/1.663, allocations: 163.3 kB / 1.175 GB, free: 9.668 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.02202/1.685, allocations: 10.58 MB / 1.185 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.832e-06/1.685, allocations: 0 / 1.185 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.01705/1.702, allocations: 7.332 MB / 1.192 GB, free: 7.668 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/1.705, allocations: 0.5469 MB / 1.193 GB, free: 7.137 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/1.719, allocations: 8.809 MB / 1.202 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003363/1.722, allocations: 3.227 MB / 1.205 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001014/1.723, allocations: 395.3 kB / 1.205 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/1.723, allocations: 95.66 kB / 1.205 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of SimCode: time 2.414e-06/1.723, allocations: 0 / 1.205 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of Templates: time 0.4565/2.18, allocations: 92.73 MB / 1.296 GB, free: 279 MB / 0.8575 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)