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.001164/0.001164, allocations: 111.6 kB / 16.41 MB, free: 6.484 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.001194/0.001194, allocations: 183 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002174/0.002175, allocations: 293.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9394/0.9394, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001924, allocations: 103.8 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4381/0.44, allocations: 86.97 MB / 0.7671 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.0273/0.4673, allocations: 23.4 MB / 0.7899 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01183/0.4792, allocations: 6.476 MB / 0.7962 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00227/0.4815, allocations: 99.5 kB / 0.7963 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004403/0.4859, allocations: 1.5 MB / 0.7978 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004897/0.4908, allocations: 1.933 MB / 0.7997 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004008/0.4949, allocations: 1.461 MB / 0.8011 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008203/0.5031, allocations: 6.915 MB / 0.8079 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01115/0.5143, allocations: 6.947 MB / 0.8147 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005093/0.5194, allocations: 2.874 MB / 0.8175 GB, free: 60 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005655/0.5251, allocations: 3.47 MB / 0.8209 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00189/0.5271, allocations: 0.5273 MB / 0.8214 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003585/0.5307, allocations: 1.178 MB / 0.8225 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004122/0.5348, allocations: 2.468 MB / 0.8249 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005637/0.5405, allocations: 2.536 MB / 0.8274 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01156/0.5521, allocations: 8.517 MB / 0.8357 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.5521, allocations: 3.938 kB / 0.8357 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5522, allocations: 0 / 0.8357 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002904/0.5525, allocations: 0 / 0.8357 GB, free: 13.31 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.01226/0.5647, allocations: 4.435 MB / 0.8401 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/0.5648, allocations: 16.03 kB / 0.8401 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009853/0.5747, allocations: 1.673 MB / 0.8417 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006134/0.5809, allocations: 2.696 MB / 0.8443 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002951/0.5812, allocations: 275.7 kB / 0.8446 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001498/0.5827, allocations: 360.3 kB / 0.8449 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01679/0.5995, allocations: 7.487 MB / 0.8523 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001684/0.5997, allocations: 15.92 kB / 0.8523 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001273/0.601, allocations: 155.9 kB / 0.8524 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006821/0.6017, allocations: 483.4 kB / 0.8529 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01161/0.6133, allocations: 5.701 MB / 0.8585 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04143/0.6548, allocations: 31.5 MB / 0.8892 GB, free: 3.363 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003272/0.6581, allocations: 2.086 MB / 0.8913 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003277/0.6614, allocations: 2.186 MB / 0.8934 GB, free: 15.07 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000235/0.6617, allocations: 17.31 kB / 0.8934 GB, free: 15.05 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.6617, allocations: 51.81 kB / 0.8935 GB, free: 15 MB / 0.67 GB Notification: Performance of pre-optimization done (n=146): time 3.247e-06/0.6617, allocations: 4 kB / 0.8935 GB, free: 14.99 MB / 0.67 GB Notification: Performance of matching and sorting (n=251): time 0.3238/0.9855, allocations: 77.01 MB / 0.9687 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.299e-05/0.9856, allocations: 77.41 kB / 0.9687 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00275/0.9884, allocations: 1.677 MB / 0.9704 GB, free: 24 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.3502/1.339, allocations: 60.61 kB / 0.9704 GB, free: 186.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001497/1.34, allocations: 1.744 MB / 0.9721 GB, free: 186.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009947/1.341, allocations: 0.8611 MB / 0.973 GB, free: 185.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001181/1.342, allocations: 481 kB / 0.9734 GB, free: 185.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.219e-05/1.342, allocations: 306.4 kB / 0.9737 GB, free: 184.9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004498/1.347, allocations: 2.729 MB / 0.9764 GB, free: 184 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004452/1.351, allocations: 3.329 MB / 0.9796 GB, free: 182.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007007/1.358, allocations: 6.396 MB / 0.9859 GB, free: 179.4 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.408e-05/1.358, allocations: 7.906 kB / 0.9859 GB, free: 179.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02828/1.387, allocations: 14.68 MB / 1 GB, free: 175.1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/1.387, allocations: 15.94 kB / 1 GB, free: 175.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.686e-05/1.387, allocations: 17.19 kB / 1 GB, free: 175 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02685/1.414, allocations: 9.246 MB / 1.009 GB, free: 166 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/1.415, allocations: 295.5 kB / 1.01 GB, free: 165.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06596/1.481, allocations: 52.33 MB / 1.061 GB, free: 112.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002929/1.484, allocations: 223.7 kB / 1.061 GB, free: 112.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002587/1.484, allocations: 100 kB / 1.061 GB, free: 112.3 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.002186/1.486, allocations: 1.588 MB / 1.063 GB, free: 110.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004979/1.487, allocations: 241.1 kB / 1.063 GB, free: 110.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02853/1.515, allocations: 14.75 MB / 1.077 GB, free: 95.62 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/1.515, allocations: 28 kB / 1.077 GB, free: 95.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.65e-05/1.515, allocations: 48 kB / 1.077 GB, free: 95.55 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.6e-05/1.516, allocations: 11.95 kB / 1.077 GB, free: 95.54 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03468/1.55, allocations: 20.52 MB / 1.097 GB, free: 74.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-05/1.55, allocations: 4 kB / 1.097 GB, free: 74.87 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007134/1.551, allocations: 163.7 kB / 1.097 GB, free: 74.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02674/1.578, allocations: 9.007 MB / 1.106 GB, free: 65.68 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000371/1.578, allocations: 48 kB / 1.106 GB, free: 65.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06589/1.644, allocations: 51.92 MB / 1.157 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.644, allocations: 12 kB / 1.157 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02823/1.672, allocations: 14.36 MB / 1.171 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001807/1.674, allocations: 0.8455 MB / 1.172 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000489/1.675, allocations: 51.98 kB / 1.172 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002174/1.677, allocations: 207.7 kB / 1.172 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001204/1.678, allocations: 241.4 kB / 1.172 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002037/1.678, allocations: 64 kB / 1.172 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001451/1.68, allocations: 1.125 MB / 1.174 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/1.68, allocations: 0 / 1.174 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004278/1.684, allocations: 1.621 MB / 1.175 GB, free: 10.16 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.000406/1.684, allocations: 159 kB / 1.175 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.02285/1.707, allocations: 10.56 MB / 1.186 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/1.707, allocations: 4.25 kB / 1.186 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.01773/1.725, allocations: 7.302 MB / 1.193 GB, free: 8.023 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002958/1.728, allocations: 0.5499 MB / 1.193 GB, free: 7.484 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01634/1.744, allocations: 9.322 MB / 1.202 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00412/1.749, allocations: 3.298 MB / 1.206 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000447/1.749, allocations: 107.4 kB / 1.206 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of SimCode: time 1.022e-06/1.749, allocations: 0 / 1.206 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.5006/2.25, allocations: 187.9 MB / 1.389 GB, free: 220.5 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)