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.001725/0.001725, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001682/0.001682, allocations: 189 kB / 16.25 MB, free: 6.637 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.435/1.435, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00263/0.00263, allocations: 283.2 kB / 290.4 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.103/1.103, allocations: 178.6 MB / 0.5069 GB, free: 4.777 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002731/0.002732, allocations: 96.59 kB / 0.6059 GB, free: 25.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1641, allocations: 89.15 MB / 0.693 GB, free: 4.734 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02717/0.1913, allocations: 23.21 MB / 0.7157 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01148/0.2028, allocations: 6.452 MB / 0.722 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001766/0.2046, allocations: 83.56 kB / 0.722 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003661/0.2083, allocations: 1.356 MB / 0.7234 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004121/0.2124, allocations: 1.708 MB / 0.725 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003463/0.2159, allocations: 1.336 MB / 0.7263 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009206/0.2251, allocations: 6.935 MB / 0.7331 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01267/0.2378, allocations: 8.144 MB / 0.7411 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005014/0.2429, allocations: 2.882 MB / 0.7439 GB, free: 440 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0059/0.2488, allocations: 3.697 MB / 0.7475 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001351/0.2502, allocations: 0.5273 MB / 0.748 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002792/0.253, allocations: 1.174 MB / 0.7491 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002904/0.2559, allocations: 2.468 MB / 0.7516 GB, free: 8.547 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003358/0.2593, allocations: 2.54 MB / 0.754 GB, free: 5.996 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.5586/0.8179, allocations: 8.508 MB / 0.7623 GB, free: 30.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.8179, allocations: 0 / 0.7623 GB, free: 30.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.472e-06/0.8179, allocations: 0 / 0.7623 GB, free: 30.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.000213/0.8182, allocations: 1.562 kB / 0.7623 GB, free: 30.96 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.008161/0.8263, allocations: 4.425 MB / 0.7667 GB, free: 29.3 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.8264, allocations: 9.125 kB / 0.7667 GB, free: 29.3 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008626/0.835, allocations: 1.679 MB / 0.7683 GB, free: 29.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005022/0.84, allocations: 2.571 MB / 0.7708 GB, free: 28.48 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/0.8403, allocations: 277.4 kB / 0.7711 GB, free: 28.47 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009369/0.8412, allocations: 364.6 kB / 0.7714 GB, free: 28.47 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0146/0.8558, allocations: 7.489 MB / 0.7788 GB, free: 27.7 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001088/0.856, allocations: 17.78 kB / 0.7788 GB, free: 27.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005971/0.8566, allocations: 162 kB / 0.7789 GB, free: 27.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005641/0.8571, allocations: 482.7 kB / 0.7794 GB, free: 27.69 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01009/0.8672, allocations: 5.703 MB / 0.785 GB, free: 27.26 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0307/0.898, allocations: 31.73 MB / 0.8159 GB, free: 1.047 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002498/0.9005, allocations: 2.083 MB / 0.818 GB, free: 15.96 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002916/0.9034, allocations: 2.179 MB / 0.8201 GB, free: 14.85 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001615/0.9036, allocations: 16.72 kB / 0.8201 GB, free: 14.84 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.9037, allocations: 50.78 kB / 0.8202 GB, free: 14.79 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=146): time 2.965e-06/0.9037, allocations: 0 / 0.8202 GB, free: 14.79 MB / 0.5607 GB Notification: Performance of matching and sorting (n=251): time 0.2985/1.202, allocations: 76.99 MB / 0.8953 GB, free: 10.59 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/1.202, allocations: 79.75 kB / 0.8954 GB, free: 10.5 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00243/1.205, allocations: 1.674 MB / 0.8971 GB, free: 8.781 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.000495/1.205, allocations: 65.7 kB / 0.8971 GB, free: 8.711 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001313/1.207, allocations: 1.753 MB / 0.8988 GB, free: 6.945 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001021/1.208, allocations: 0.8473 MB / 0.8997 GB, free: 6.105 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/1.209, allocations: 485.2 kB / 0.9001 GB, free: 5.625 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.209, allocations: 305.1 kB / 0.9004 GB, free: 5.324 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004155/1.213, allocations: 2.73 MB / 0.9031 GB, free: 2.59 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004729/1.218, allocations: 3.333 MB / 0.9063 GB, free: 15.01 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009675/1.227, allocations: 6.394 MB / 0.9126 GB, free: 8.445 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.5e-05/1.228, allocations: 4 kB / 0.9126 GB, free: 8.441 MB / 0.6388 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03473/1.262, allocations: 14.68 MB / 0.9269 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.089e-05/1.262, allocations: 16 kB / 0.9269 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.638e-05/1.262, allocations: 16 kB / 0.9269 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03097/1.293, allocations: 9.294 MB / 0.936 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/1.295, allocations: 306.2 kB / 0.9363 GB, free: 400 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08565/1.38, allocations: 52.38 MB / 0.9875 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003041/1.383, allocations: 219.7 kB / 0.9877 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004014/1.384, allocations: 102.8 kB / 0.9878 GB, free: 10.95 MB / 0.7169 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.003023/1.387, allocations: 1.583 MB / 0.9893 GB, free: 9.371 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006379/1.388, allocations: 251.3 kB / 0.9896 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03409/1.422, allocations: 14.75 MB / 1.004 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-05/1.422, allocations: 24 kB / 1.004 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001446/1.422, allocations: 48 kB / 1.004 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.827e-05/1.422, allocations: 11.95 kB / 1.004 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04443/1.466, allocations: 20.52 MB / 1.024 GB, free: 5.859 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.033e-05/1.466, allocations: 11.98 kB / 1.024 GB, free: 5.848 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008255/1.467, allocations: 163.7 kB / 1.024 GB, free: 5.688 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03054/1.498, allocations: 9.055 MB / 1.033 GB, free: 12.61 MB / 0.7638 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004957/1.498, allocations: 49.86 kB / 1.033 GB, free: 12.56 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3827/1.881, allocations: 51.94 MB / 1.084 GB, free: 254.6 MB / 0.7638 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.074e-05/1.881, allocations: 15.03 kB / 1.084 GB, free: 254.6 MB / 0.7638 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02763/1.909, allocations: 14.37 MB / 1.098 GB, free: 248.3 MB / 0.7638 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001963/1.911, allocations: 0.8388 MB / 1.099 GB, free: 247.8 MB / 0.7638 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005886/1.911, allocations: 52.16 kB / 1.099 GB, free: 247.8 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001954/1.913, allocations: 211 kB / 1.099 GB, free: 247.6 MB / 0.7638 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001359/1.915, allocations: 244.4 kB / 1.099 GB, free: 247.5 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002224/1.915, allocations: 61.34 kB / 1.099 GB, free: 247.5 MB / 0.7638 GB Notification: Performance of sorting global known variables: time 0.001209/1.916, allocations: 1.129 MB / 1.1 GB, free: 246.9 MB / 0.7638 GB Notification: Performance of sort global known variables: time 1.2e-07/1.916, allocations: 0 / 1.1 GB, free: 246.9 MB / 0.7638 GB Notification: Performance of remove unused functions: time 0.004432/1.921, allocations: 1.612 MB / 1.102 GB, free: 246.6 MB / 0.7638 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.0004043/1.921, allocations: 166.1 kB / 1.102 GB, free: 246.4 MB / 0.7638 GB Notification: Performance of simCode: created initialization part: time 0.02042/1.941, allocations: 11.33 MB / 1.113 GB, free: 235.1 MB / 0.7638 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/1.941, allocations: 256 / 1.113 GB, free: 235.1 MB / 0.7638 GB Notification: Performance of simCode: created simulation system equations: time 0.01524/1.957, allocations: 7.305 MB / 1.12 GB, free: 227.8 MB / 0.7638 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003082/1.96, allocations: 0.5633 MB / 1.121 GB, free: 227.2 MB / 0.7638 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/1.973, allocations: 10.62 MB / 1.131 GB, free: 216.6 MB / 0.7638 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002797/1.976, allocations: 3.228 MB / 1.134 GB, free: 213.3 MB / 0.7638 GB Notification: Performance of simCode: alias equations: time 0.001103/1.977, allocations: 387.7 kB / 1.135 GB, free: 213 MB / 0.7638 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/1.978, allocations: 99.44 kB / 1.135 GB, free: 212.9 MB / 0.7638 GB Notification: Performance of SimCode: time 6.72e-07/1.978, allocations: 4 kB / 1.135 GB, free: 212.9 MB / 0.7638 GB Notification: Performance of Templates: time 0.1143/2.092, allocations: 93.07 MB / 1.226 GB, free: 120.1 MB / 0.7638 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)