Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 114.3 kB / 16.37 MB, free: 6 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.001044/0.001044, allocations: 195.9 kB / 17.31 MB, free: 5.613 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.276/1.276, 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.002207/0.002207, allocations: 288.3 kB / 291.4 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 0.92/0.92, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 99.33 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1461, allocations: 86.97 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.276/0.4221, allocations: 20.22 MB / 0.7014 GB, free: 9.027 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009305/0.4315, allocations: 6.441 MB / 0.7077 GB, free: 4.641 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.433, allocations: 84.56 kB / 0.7077 GB, free: 4.617 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004751/0.4377, allocations: 2.239 MB / 0.7099 GB, free: 3.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002614/0.4404, allocations: 1.175 MB / 0.7111 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00284/0.4432, allocations: 1.298 MB / 0.7123 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005297/0.4485, allocations: 4.848 MB / 0.7171 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006262/0.4548, allocations: 5.609 MB / 0.7226 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0034/0.4582, allocations: 2.086 MB / 0.7246 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002973/0.4612, allocations: 2.341 MB / 0.7269 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005574/0.4618, allocations: 428.8 kB / 0.7273 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001924/0.4637, allocations: 1.008 MB / 0.7283 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001565/0.4653, allocations: 1.664 MB / 0.7299 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002109/0.4674, allocations: 1.911 MB / 0.7318 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006113/0.4735, allocations: 6.521 MB / 0.7381 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.4735, allocations: 1.375 kB / 0.7381 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.452e-06/0.4735, allocations: 0 / 0.7381 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001072/0.4737, allocations: 0 / 0.7381 GB, free: 4.086 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.006524/0.4802, allocations: 3.452 MB / 0.7415 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.4802, allocations: 9.906 kB / 0.7415 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003346/0.4836, allocations: 0.6405 MB / 0.7421 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004157/0.4878, allocations: 2.037 MB / 0.7441 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.4879, allocations: 222.2 kB / 0.7443 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004689/0.4884, allocations: 296.2 kB / 0.7446 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007202/0.4956, allocations: 4.898 MB / 0.7494 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.678e-05/0.4957, allocations: 11.88 kB / 0.7494 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000318/0.496, allocations: 136 kB / 0.7495 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003852/0.4964, allocations: 221.7 kB / 0.7498 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005586/0.502, allocations: 3.754 MB / 0.7534 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02099/0.523, allocations: 21.41 MB / 0.7743 GB, free: 14.51 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.5247, allocations: 1.302 MB / 0.7756 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001361/0.5261, allocations: 1.057 MB / 0.7766 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.664e-05/0.5262, allocations: 9 kB / 0.7766 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.5262, allocations: 51.56 kB / 0.7767 GB, free: 12.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=107): time 3.206e-06/0.5262, allocations: 0 / 0.7767 GB, free: 12.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=138): time 0.02308/0.5493, allocations: 8.645 MB / 0.7851 GB, free: 3.371 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.5494, allocations: 68.72 kB / 0.7852 GB, free: 3.293 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.5507, allocations: 1.126 MB / 0.7863 GB, free: 2.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.305e-05/0.5508, allocations: 53.7 kB / 0.7863 GB, free: 2.102 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007633/0.5516, allocations: 1.296 MB / 0.7876 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003537/0.552, allocations: 481.1 kB / 0.7881 GB, free: 320 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000449/0.5524, allocations: 295.2 kB / 0.7884 GB, free: 20 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.5525, allocations: 309.1 kB / 0.7886 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/0.5538, allocations: 0.9174 MB / 0.7895 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/0.5553, allocations: 1.322 MB / 0.7908 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002924/0.5582, allocations: 2.43 MB / 0.7932 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.5582, allocations: 4 kB / 0.7932 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005761/0.564, allocations: 3.464 MB / 0.7966 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.564, allocations: 12.06 kB / 0.7966 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.5641, allocations: 12 kB / 0.7966 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003149/0.5672, allocations: 1.175 MB / 0.7978 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008908/0.5681, allocations: 259.6 kB / 0.798 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01673/0.5849, allocations: 13.84 MB / 0.8115 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.5862, allocations: 87.97 kB / 0.8116 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.5863, allocations: 68 kB / 0.8117 GB, free: 7.352 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001679/0.588, allocations: 1.112 MB / 0.8128 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002337/0.5883, allocations: 162.1 kB / 0.8129 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005507/0.5938, allocations: 3.177 MB / 0.816 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.5938, allocations: 12 kB / 0.816 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/0.5938, allocations: 15.94 kB / 0.816 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.5938, allocations: 7.969 kB / 0.8161 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/0.6039, allocations: 6.241 MB / 0.8221 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.6039, allocations: 8.094 kB / 0.8222 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005725/0.6045, allocations: 151.7 kB / 0.8223 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002841/0.6074, allocations: 1.071 MB / 0.8233 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.041e-05/0.6075, allocations: 24 kB / 0.8234 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01621/0.6237, allocations: 13.54 MB / 0.8366 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.6237, allocations: 4 kB / 0.8366 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005142/0.6289, allocations: 3.146 MB / 0.8397 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009683/0.6298, allocations: 431 kB / 0.8401 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/0.6301, allocations: 43.86 kB / 0.8401 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007763/0.6308, allocations: 75.91 kB / 0.8402 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003157/0.6312, allocations: 124.7 kB / 0.8403 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.126e-05/0.6313, allocations: 40 kB / 0.8404 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009751/0.6322, allocations: 0.7671 MB / 0.8411 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.633e-06/0.6323, allocations: 0 / 0.8411 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001867/0.6341, allocations: 0.6679 MB / 0.8418 GB, free: 7.836 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002116/0.6343, allocations: 135.1 kB / 0.8419 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00457/0.6389, allocations: 3.138 MB / 0.8449 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.6389, allocations: 0 / 0.8449 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00277/0.6417, allocations: 1.948 MB / 0.8468 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/0.6437, allocations: 0.5022 MB / 0.8473 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008148/0.6518, allocations: 5.379 MB / 0.8526 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002176/0.654, allocations: 2.332 MB / 0.8549 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009501/0.655, allocations: 354.1 kB / 0.8552 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.6552, allocations: 91.44 kB / 0.8553 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of SimCode: time 6.41e-07/0.6552, allocations: 0 / 0.8553 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of Templates: time 0.0486/0.7039, allocations: 32.68 MB / 0.8872 GB, free: 9.574 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)