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.001765/0.001765, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.001916/0.001916, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.456/1.456, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00255/0.00255, allocations: 293.4 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.034/1.034, allocations: 169.2 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002807/0.002807, allocations: 99.83 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4763/0.4791, allocations: 86.97 MB / 0.7671 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02898/0.508, allocations: 23.46 MB / 0.79 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01296/0.521, allocations: 6.492 MB / 0.7963 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003116/0.5241, allocations: 95.56 kB / 0.7964 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004897/0.529, allocations: 1.519 MB / 0.7979 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005686/0.5347, allocations: 1.937 MB / 0.7998 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00423/0.5389, allocations: 1.469 MB / 0.8012 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.009949/0.5489, allocations: 6.9 MB / 0.808 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009353/0.5582, allocations: 5.192 MB / 0.813 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005828/0.5641, allocations: 2.878 MB / 0.8158 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006677/0.5707, allocations: 3.466 MB / 0.8192 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001694/0.5724, allocations: 0.5273 MB / 0.8197 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003815/0.5762, allocations: 1.174 MB / 0.8209 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003718/0.58, allocations: 2.541 MB / 0.8234 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005183/0.5851, allocations: 2.532 MB / 0.8258 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01184/0.597, allocations: 8.544 MB / 0.8342 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.597, allocations: 0 / 0.8342 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.793e-06/0.597, allocations: 0 / 0.8342 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002573/0.5972, allocations: 0 / 0.8342 GB, free: 14.95 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.01183/0.6091, allocations: 4.547 MB / 0.8386 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.6091, allocations: 12.03 kB / 0.8386 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00942/0.6185, allocations: 1.699 MB / 0.8403 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007219/0.6258, allocations: 2.709 MB / 0.8429 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002738/0.626, allocations: 275.7 kB / 0.8432 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001409/0.6274, allocations: 356.3 kB / 0.8435 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01565/0.6431, allocations: 7.502 MB / 0.8509 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-05/0.6432, allocations: 11.89 kB / 0.8509 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004919/0.6437, allocations: 155.9 kB / 0.851 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000658/0.6443, allocations: 487.3 kB / 0.8515 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01164/0.656, allocations: 5.701 MB / 0.8571 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0446/0.7006, allocations: 31.55 MB / 0.8879 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003132/0.7037, allocations: 2.015 MB / 0.8898 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003144/0.7068, allocations: 2.108 MB / 0.8919 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/0.707, allocations: 21.25 kB / 0.8919 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.707, allocations: 51.88 kB / 0.892 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=146): time 3.647e-06/0.707, allocations: 0 / 0.892 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of matching and sorting (n=251): time 0.3152/1.022, allocations: 76.79 MB / 0.967 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.028e-05/1.022, allocations: 77.41 kB / 0.967 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002475/1.025, allocations: 1.674 MB / 0.9687 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000499/1.025, allocations: 65.7 kB / 0.9687 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.4694/1.495, allocations: 1.791 MB / 0.9705 GB, free: 185.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001317/1.496, allocations: 0.898 MB / 0.9714 GB, free: 185.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001368/1.497, allocations: 485.1 kB / 0.9718 GB, free: 185.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.414e-05/1.497, allocations: 301.7 kB / 0.9721 GB, free: 185.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004749/1.502, allocations: 2.73 MB / 0.9748 GB, free: 184.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00439/1.507, allocations: 3.328 MB / 0.978 GB, free: 183 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007875/1.514, allocations: 6.403 MB / 0.9843 GB, free: 180.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.283e-05/1.514, allocations: 7.344 kB / 0.9843 GB, free: 180.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02879/1.543, allocations: 14.41 MB / 0.9984 GB, free: 176.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/1.543, allocations: 11.72 kB / 0.9984 GB, free: 176.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.731e-05/1.543, allocations: 23.06 kB / 0.9984 GB, free: 176.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02682/1.57, allocations: 9.247 MB / 1.007 GB, free: 167.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/1.571, allocations: 295.5 kB / 1.008 GB, free: 167.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06624/1.638, allocations: 52.39 MB / 1.059 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003114/1.641, allocations: 219.7 kB / 1.059 GB, free: 114 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006321/1.641, allocations: 96 kB / 1.059 GB, free: 113.9 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.002669/1.644, allocations: 1.597 MB / 1.061 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000694/1.645, allocations: 254.6 kB / 1.061 GB, free: 112.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02877/1.673, allocations: 14.47 MB / 1.075 GB, free: 97.57 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.42e-05/1.673, allocations: 28 kB / 1.075 GB, free: 97.54 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001509/1.674, allocations: 44 kB / 1.075 GB, free: 97.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.618e-05/1.674, allocations: 15.95 kB / 1.075 GB, free: 97.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03833/1.712, allocations: 20.24 MB / 1.095 GB, free: 77.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-05/1.712, allocations: 8 kB / 1.095 GB, free: 77.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007662/1.713, allocations: 159.7 kB / 1.095 GB, free: 76.94 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02711/1.74, allocations: 9.012 MB / 1.104 GB, free: 67.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004903/1.74, allocations: 48.56 kB / 1.104 GB, free: 67.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06844/1.809, allocations: 51.98 MB / 1.155 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/1.809, allocations: 11.94 kB / 1.155 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02902/1.838, allocations: 14.1 MB / 1.168 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002092/1.84, allocations: 0.8558 MB / 1.169 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007409/1.841, allocations: 50.11 kB / 1.169 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00265/1.843, allocations: 215.3 kB / 1.17 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001472/1.845, allocations: 237.5 kB / 1.17 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003066/1.845, allocations: 64 kB / 1.17 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002447/1.848, allocations: 1.129 MB / 1.171 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.848, allocations: 0 / 1.171 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.006633/1.854, allocations: 1.613 MB / 1.173 GB, free: 12.62 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.0005492/1.855, allocations: 167.1 kB / 1.173 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.02562/1.88, allocations: 10.19 MB / 1.183 GB, free: 2.215 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/1.88, allocations: 4.25 kB / 1.183 GB, free: 2.211 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.02029/1.901, allocations: 7.006 MB / 1.19 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003378/1.904, allocations: 0.5579 MB / 1.19 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01803/1.922, allocations: 8.805 MB / 1.199 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004659/1.927, allocations: 3.227 MB / 1.202 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001257/1.928, allocations: 391.3 kB / 1.202 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002839/1.928, allocations: 103.4 kB / 1.202 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of SimCode: time 1.272e-06/1.928, allocations: 4 kB / 1.202 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of Templates: time 0.614/2.542, allocations: 93.47 MB / 1.294 GB, free: 294.3 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)