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.0009063/0.0009063, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005647/0.005647, allocations: 169.2 kB / 16.26 MB, free: 6.648 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.313/1.313, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001748/0.001748, allocations: 275.1 kB / 291.7 MB, free: 1.848 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.011/1.011, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003837, allocations: 13.62 kB / 0.5987 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1454, allocations: 88.54 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02258/0.1681, allocations: 22.56 MB / 0.7072 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01029/0.1784, allocations: 6.447 MB / 0.7135 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001701/0.1801, allocations: 83.56 kB / 0.7135 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.1812, allocations: 468.5 kB / 0.714 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003615/0.1849, allocations: 1.739 MB / 0.7157 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002614/0.1875, allocations: 1.199 MB / 0.7169 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009635/0.1971, allocations: 10.62 MB / 0.7272 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01202/0.2092, allocations: 8.054 MB / 0.7351 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003752/0.213, allocations: 2.081 MB / 0.7371 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00455/0.2175, allocations: 3.185 MB / 0.7402 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006155/0.2182, allocations: 248 kB / 0.7405 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002087/0.2203, allocations: 1.061 MB / 0.7415 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002097/0.2224, allocations: 2.105 MB / 0.7436 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00243/0.2248, allocations: 2.132 MB / 0.7456 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007145/0.232, allocations: 8.134 MB / 0.7536 GB, free: 8.742 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.232, allocations: 3.938 kB / 0.7536 GB, free: 8.738 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.883e-06/0.232, allocations: 0 / 0.7536 GB, free: 8.738 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001644/0.2322, allocations: 0 / 0.7536 GB, free: 8.738 MB / 0.545 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.006574/0.2388, allocations: 3.566 MB / 0.7571 GB, free: 5.105 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2388, allocations: 8.031 kB / 0.7571 GB, free: 5.098 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008587/0.2474, allocations: 1.685 MB / 0.7587 GB, free: 3.406 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004567/0.252, allocations: 2.575 MB / 0.7612 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002043/0.2522, allocations: 279.7 kB / 0.7615 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008046/0.253, allocations: 360.3 kB / 0.7619 GB, free: 156 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2932/0.5463, allocations: 7.476 MB / 0.7692 GB, free: 69.35 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.447e-05/0.5464, allocations: 10.31 kB / 0.7692 GB, free: 69.35 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004164/0.5468, allocations: 164 kB / 0.7693 GB, free: 69.24 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005878/0.5474, allocations: 484.4 kB / 0.7698 GB, free: 69.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009225/0.5566, allocations: 5.696 MB / 0.7753 GB, free: 67.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03007/0.5867, allocations: 31.69 MB / 0.8063 GB, free: 40.54 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002641/0.5894, allocations: 2.099 MB / 0.8083 GB, free: 39.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00256/0.592, allocations: 2.163 MB / 0.8105 GB, free: 38.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001335/0.5922, allocations: 15.69 kB / 0.8105 GB, free: 38.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.5922, allocations: 54.42 kB / 0.8105 GB, free: 38.25 MB / 0.545 GB Notification: Performance of pre-optimization done (n=146): time 3.436e-06/0.5922, allocations: 0 / 0.8105 GB, free: 38.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=251): time 0.2945/0.8867, allocations: 75.27 MB / 0.884 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.8868, allocations: 77.41 kB / 0.8841 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00223/0.889, allocations: 1.674 MB / 0.8857 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0004323/0.8894, allocations: 61.7 kB / 0.8858 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001125/0.8906, allocations: 1.749 MB / 0.8875 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008579/0.8914, allocations: 0.8513 MB / 0.8883 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003914/0.8918, allocations: 207 kB / 0.8885 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.777e-05/0.8919, allocations: 301.1 kB / 0.8888 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003733/0.8957, allocations: 2.73 MB / 0.8915 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004165/0.8999, allocations: 3.336 MB / 0.8947 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00834/0.9082, allocations: 6.393 MB / 0.901 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.9082, allocations: 4 kB / 0.901 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03292/0.9412, allocations: 14.68 MB / 0.9153 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/0.9413, allocations: 15.94 kB / 0.9153 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.031e-05/0.9413, allocations: 16 kB / 0.9154 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02934/0.9706, allocations: 9.241 MB / 0.9244 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.9719, allocations: 299.4 kB / 0.9247 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07337/1.045, allocations: 47.15 MB / 0.9707 GB, free: 4.559 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002929/1.048, allocations: 223.7 kB / 0.9709 GB, free: 4.34 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002839/1.049, allocations: 96 kB / 0.971 GB, free: 4.246 MB / 0.67 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.002635/1.051, allocations: 1.599 MB / 0.9726 GB, free: 2.637 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005309/1.052, allocations: 241.1 kB / 0.9728 GB, free: 2.398 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03341/1.085, allocations: 14.75 MB / 0.9872 GB, free: 3.594 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.234e-05/1.085, allocations: 24 kB / 0.9872 GB, free: 3.57 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001659/1.085, allocations: 44 kB / 0.9873 GB, free: 3.527 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.329e-05/1.085, allocations: 15.89 kB / 0.9873 GB, free: 3.512 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04156/1.127, allocations: 20.51 MB / 1.007 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.222e-05/1.127, allocations: 8.125 kB / 1.007 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007876/1.128, allocations: 167.7 kB / 1.008 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02919/1.157, allocations: 9.003 MB / 1.016 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004463/1.158, allocations: 52 kB / 1.016 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3714/1.529, allocations: 46.74 MB / 1.062 GB, free: 234.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.889e-06/1.529, allocations: 10.94 kB / 1.062 GB, free: 234.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03002/1.559, allocations: 14.37 MB / 1.076 GB, free: 230.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001622/1.561, allocations: 0.8492 MB / 1.077 GB, free: 230 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004372/1.561, allocations: 47.72 kB / 1.077 GB, free: 230 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002137/1.563, allocations: 209 kB / 1.077 GB, free: 229.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001336/1.565, allocations: 242.5 kB / 1.077 GB, free: 229.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002051/1.565, allocations: 67.2 kB / 1.077 GB, free: 229.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001251/1.566, allocations: 1.124 MB / 1.079 GB, free: 229.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.566, allocations: 1.969 kB / 1.079 GB, free: 229.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00388/1.57, allocations: 1.613 MB / 1.08 GB, free: 229.3 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 (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.0003805/1.57, allocations: 163.2 kB / 1.08 GB, free: 229.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01954/1.59, allocations: 10.35 MB / 1.09 GB, free: 225.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/1.59, allocations: 0 / 1.09 GB, free: 225.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01597/1.606, allocations: 7.163 MB / 1.097 GB, free: 218.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004278/1.61, allocations: 0.5197 MB / 1.098 GB, free: 217.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/1.622, allocations: 10.62 MB / 1.108 GB, free: 206.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002625/1.624, allocations: 3.227 MB / 1.111 GB, free: 203.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001032/1.625, allocations: 395.3 kB / 1.112 GB, free: 203.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/1.626, allocations: 99.44 kB / 1.112 GB, free: 203.2 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/1.626, allocations: 0 / 1.112 GB, free: 203.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.1012/1.727, allocations: 86.29 MB / 1.196 GB, free: 117.2 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)