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.0008177/0.0008178, allocations: 91.61 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.0009382/0.0009382, 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.339/1.339, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001668/0.001668, allocations: 270.2 kB / 291.3 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.126/1.126, allocations: 169.5 MB / 0.5 GB, free: 14.25 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004604/0.0004604, allocations: 12.47 kB / 0.598 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1779, allocations: 88.55 MB / 0.6845 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02188/0.1998, allocations: 21.24 MB / 0.7052 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01111/0.211, allocations: 6.201 MB / 0.7113 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001918/0.213, allocations: 79.5 kB / 0.7114 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.2141, allocations: 460.5 kB / 0.7118 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003248/0.2174, allocations: 1.54 MB / 0.7133 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002317/0.2197, allocations: 0.9104 MB / 0.7142 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009715/0.2294, allocations: 8.224 MB / 0.7222 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01226/0.2417, allocations: 7.097 MB / 0.7292 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004302/0.246, allocations: 2.132 MB / 0.7312 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004768/0.2508, allocations: 3.139 MB / 0.7343 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005386/0.2514, allocations: 244 kB / 0.7345 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.2531, allocations: 0.5853 MB / 0.7351 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002331/0.2554, allocations: 2.105 MB / 0.7372 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001098/0.2565, allocations: 0.8433 MB / 0.738 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007039/0.2636, allocations: 7.009 MB / 0.7448 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.2636, allocations: 0 / 0.7448 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2636, allocations: 0 / 0.7448 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001815/0.2638, allocations: 4 kB / 0.7448 GB, free: 1.516 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.007063/0.2709, allocations: 3.609 MB / 0.7484 GB, free: 13.84 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.2709, allocations: 8.031 kB / 0.7484 GB, free: 13.83 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008126/0.2791, allocations: 1.687 MB / 0.75 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005222/0.2843, allocations: 2.501 MB / 0.7525 GB, free: 9.582 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002159/0.2845, allocations: 275.3 kB / 0.7527 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007551/0.2853, allocations: 363.9 kB / 0.7531 GB, free: 8.957 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01347/0.2988, allocations: 7.455 MB / 0.7603 GB, free: 1.238 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.547e-05/0.2989, allocations: 11.84 kB / 0.7604 GB, free: 1.227 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004158/0.2993, allocations: 163.9 kB / 0.7605 GB, free: 1.066 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005644/0.2999, allocations: 483.3 kB / 0.761 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01013/0.31, allocations: 5.689 MB / 0.7665 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3605/0.6706, allocations: 31.67 MB / 0.7975 GB, free: 64.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002743/0.6734, allocations: 2.078 MB / 0.7995 GB, free: 64.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00288/0.6763, allocations: 2.167 MB / 0.8016 GB, free: 63.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001559/0.6765, allocations: 15.5 kB / 0.8016 GB, free: 63.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.6765, allocations: 54 kB / 0.8017 GB, free: 63.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=146): time 3.507e-06/0.6765, allocations: 0 / 0.8017 GB, free: 63.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=251): time 0.2379/0.9144, allocations: 75.26 MB / 0.8752 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.9145, allocations: 77.41 kB / 0.8752 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002294/0.9168, allocations: 1.654 MB / 0.8769 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004075/0.9173, allocations: 65.7 kB / 0.8769 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000867/0.9181, allocations: 1.744 MB / 0.8786 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001259/0.9194, allocations: 0.8586 MB / 0.8795 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003813/0.9198, allocations: 52 kB / 0.8795 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002049/0.92, allocations: 411.2 kB / 0.8799 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00394/0.924, allocations: 2.722 MB / 0.8826 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004751/0.9287, allocations: 3.324 MB / 0.8858 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004528/0.9333, allocations: 3.059 MB / 0.8888 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-05/0.9333, allocations: 4 kB / 0.8888 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02973/0.963, allocations: 14.64 MB / 0.9031 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.33e-05/0.9631, allocations: 14.5 kB / 0.9031 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-05/0.9632, allocations: 19.95 kB / 0.9031 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0271/0.9903, allocations: 9.236 MB / 0.9121 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.9916, allocations: 303.5 kB / 0.9124 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06989/1.061, allocations: 47.07 MB / 0.9584 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002917/1.064, allocations: 219.7 kB / 0.9586 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002662/1.065, allocations: 96 kB / 0.9587 GB, free: 15.04 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(19,68.1%) 19,(19,54.6%) 19,(12,50.0%) 18,(12,50.0%) 18,(12,52.8%) 10,(12,53.5%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003429/1.068, allocations: 1.594 MB / 0.9603 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000484/1.069, allocations: 245.1 kB / 0.9605 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02927/1.098, allocations: 14.72 MB / 0.9749 GB, free: 14.42 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.74e-05/1.098, allocations: 27.95 kB / 0.9749 GB, free: 14.39 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.423e-05/1.098, allocations: 48 kB / 0.9749 GB, free: 14.35 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.372e-05/1.098, allocations: 11.95 kB / 0.9749 GB, free: 14.34 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03812/1.136, allocations: 20.48 MB / 0.995 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.312e-05/1.136, allocations: 8.125 kB / 0.995 GB, free: 9.691 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007043/1.137, allocations: 163.7 kB / 0.9951 GB, free: 9.531 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02564/1.163, allocations: 8.992 MB / 1.004 GB, free: 0.5117 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004046/1.163, allocations: 48 kB / 1.004 GB, free: 476 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07007/1.233, allocations: 46.69 MB / 1.05 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/1.233, allocations: 8 kB / 1.05 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3772/1.61, allocations: 14.33 MB / 1.064 GB, free: 239.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00206/1.613, allocations: 0.8472 MB / 1.064 GB, free: 239.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005792/1.613, allocations: 50.44 kB / 1.064 GB, free: 239.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001833/1.615, allocations: 211.4 kB / 1.065 GB, free: 239.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001087/1.616, allocations: 240.3 kB / 1.065 GB, free: 239.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001994/1.616, allocations: 66.53 kB / 1.065 GB, free: 239.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001456/1.618, allocations: 1.103 MB / 1.066 GB, free: 239 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/1.618, allocations: 0 / 1.066 GB, free: 239 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004782/1.623, allocations: 1.62 MB / 1.068 GB, free: 239 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(12,53.5%) 10,(12,50.0%) 18,(19,64.8%) 19,(12,53.5%) 10,(12,50.0%) 18,(19,54.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000369/1.623, allocations: 166.7 kB / 1.068 GB, free: 238.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02019/1.643, allocations: 10.34 MB / 1.078 GB, free: 235.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.495e-05/1.643, allocations: 4.188 kB / 1.078 GB, free: 235.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01536/1.659, allocations: 7.158 MB / 1.085 GB, free: 233.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003031/1.662, allocations: 0.5114 MB / 1.085 GB, free: 233.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/1.675, allocations: 10.2 MB / 1.095 GB, free: 227.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003015/1.678, allocations: 3.222 MB / 1.098 GB, free: 226.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001131/1.68, allocations: 392.2 kB / 1.099 GB, free: 226.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/1.68, allocations: 98.45 kB / 1.099 GB, free: 226.6 MB / 0.7325 GB Notification: Performance of SimCode: time 7.61e-07/1.68, allocations: 0 / 1.099 GB, free: 226.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.1064/1.786, allocations: 84.41 MB / 1.181 GB, free: 145.5 MB / 0.7325 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)