Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001269, allocations: 197 kB / 16.53 MB, free: 6.664 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.277/1.277, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002002/0.002002, allocations: 282.3 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9221/0.9221, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 100.7 kB / 0.5953 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1437, allocations: 86.98 MB / 0.6802 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03851/0.1822, allocations: 37.94 MB / 0.7172 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01775/0.2, allocations: 11 MB / 0.728 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0042/0.2042, allocations: 155.2 kB / 0.7281 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01048/0.2147, allocations: 4.346 MB / 0.7324 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006043/0.2208, allocations: 2.227 MB / 0.7346 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005277/0.2261, allocations: 2.161 MB / 0.7367 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01027/0.2364, allocations: 9.292 MB / 0.7457 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01604/0.2524, allocations: 11.35 MB / 0.7568 GB, free: 1.895 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006016/0.2585, allocations: 3.985 MB / 0.7607 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008023/0.2665, allocations: 4.506 MB / 0.7651 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00237/0.2689, allocations: 0.8242 MB / 0.7659 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004285/0.2732, allocations: 1.584 MB / 0.7675 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004211/0.2774, allocations: 3.158 MB / 0.7705 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.005497/0.283, allocations: 3.649 MB / 0.7741 GB, free: 144 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.4992/0.7821, allocations: 12.23 MB / 0.7861 GB, free: 35.59 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.7822, allocations: 0 / 0.7861 GB, free: 35.59 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.685e-06/0.7822, allocations: 0 / 0.7861 GB, free: 35.59 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.0004381/0.7827, allocations: 1.125 kB / 0.7861 GB, free: 35.59 MB / 0.5607 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02325/0.8059, allocations: 6.311 MB / 0.7922 GB, free: 33.4 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.806, allocations: 10 kB / 0.7922 GB, free: 33.4 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007239/0.8132, allocations: 1.069 MB / 0.7933 GB, free: 33.09 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007189/0.8204, allocations: 3.42 MB / 0.7966 GB, free: 32.38 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002581/0.8207, allocations: 429.2 kB / 0.797 GB, free: 32.37 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002017/0.8227, allocations: 0.5432 MB / 0.7976 GB, free: 32.37 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01903/0.8418, allocations: 9.375 MB / 0.8067 GB, free: 31.3 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001433/0.842, allocations: 22.72 kB / 0.8067 GB, free: 31.3 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007525/0.8427, allocations: 250.1 kB / 0.807 GB, free: 31.3 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005733/0.8433, allocations: 421.8 kB / 0.8074 GB, free: 31.29 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01343/0.8567, allocations: 7.126 MB / 0.8143 GB, free: 29.46 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0373/0.8941, allocations: 41.3 MB / 0.8547 GB, free: 8.008 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004201/0.8983, allocations: 3.098 MB / 0.8577 GB, free: 6.426 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002577/0.9009, allocations: 2.139 MB / 0.8598 GB, free: 5.324 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 9.79e-05/0.901, allocations: 34.77 kB / 0.8598 GB, free: 5.316 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/0.9011, allocations: 56.25 kB / 0.8599 GB, free: 5.258 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=209): time 4.368e-06/0.9011, allocations: 0 / 0.8599 GB, free: 5.258 MB / 0.5763 GB Notification: Performance of matching and sorting (n=212): time 0.02296/0.9241, allocations: 10.55 MB / 0.8702 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.9241, allocations: 83.97 kB / 0.8703 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003032/0.9272, allocations: 2.002 MB / 0.8722 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001751/0.9274, allocations: 61.7 kB / 0.8723 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001517/0.9289, allocations: 2.407 MB / 0.8746 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006313/0.9295, allocations: 0.7324 MB / 0.8753 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008127/0.9303, allocations: 477.2 kB / 0.8758 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.272e-05/0.9304, allocations: 304.6 kB / 0.8761 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001947/0.9324, allocations: 1.376 MB / 0.8774 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002389/0.9348, allocations: 2.105 MB / 0.8795 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004558/0.9394, allocations: 3.762 MB / 0.8832 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.9394, allocations: 12 kB / 0.8832 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007813/0.9472, allocations: 5.069 MB / 0.8881 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.9472, allocations: 16 kB / 0.8881 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.804e-05/0.9473, allocations: 20 kB / 0.8881 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003388/0.9507, allocations: 1.602 MB / 0.8897 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.9522, allocations: 448.4 kB / 0.8901 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02182/0.9741, allocations: 18.59 MB / 0.9083 GB, free: 7.266 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00244/0.9765, allocations: 151.2 kB / 0.9084 GB, free: 7.121 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004078/0.977, allocations: 112 kB / 0.9085 GB, free: 7.012 MB / 0.6232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003571/0.9805, allocations: 1.935 MB / 0.9104 GB, free: 5.094 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006029/0.9811, allocations: 288.6 kB / 0.9107 GB, free: 4.809 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006882/0.988, allocations: 4.454 MB / 0.9151 GB, free: 396 kB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.9881, allocations: 26.62 kB / 0.9151 GB, free: 372 kB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/0.9881, allocations: 16 kB / 0.9151 GB, free: 356 kB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/0.9881, allocations: 11.95 kB / 0.9151 GB, free: 344 kB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/1.003, allocations: 9.67 MB / 0.9246 GB, free: 6.648 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/1.003, allocations: 4.562 kB / 0.9246 GB, free: 6.645 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009727/1.004, allocations: 238.1 kB / 0.9248 GB, free: 6.426 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00312/1.007, allocations: 1.433 MB / 0.9262 GB, free: 4.984 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/1.007, allocations: 39.98 kB / 0.9262 GB, free: 4.945 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02123/1.028, allocations: 18.57 MB / 0.9444 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/1.028, allocations: 11.73 kB / 0.9444 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007021/1.035, allocations: 4.55 MB / 0.9488 GB, free: 13.28 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/1.037, allocations: 0.6265 MB / 0.9494 GB, free: 12.63 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003518/1.037, allocations: 40 kB / 0.9495 GB, free: 12.59 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/1.038, allocations: 116.1 kB / 0.9496 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004536/1.039, allocations: 177.4 kB / 0.9497 GB, free: 12.31 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/1.039, allocations: 68 kB / 0.9498 GB, free: 12.24 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001704/1.041, allocations: 1.319 MB / 0.9511 GB, free: 10.91 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.61e-07/1.041, allocations: 0 / 0.9511 GB, free: 10.91 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00299/1.044, allocations: 1.141 MB / 0.9522 GB, free: 9.773 MB / 0.67 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002704/1.044, allocations: 162.2 kB / 0.9524 GB, free: 9.617 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.008967/1.053, allocations: 5.928 MB / 0.9581 GB, free: 3.742 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/1.053, allocations: 0 / 0.9581 GB, free: 3.742 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004239/1.057, allocations: 2.926 MB / 0.961 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003685/1.061, allocations: 0.8877 MB / 0.9619 GB, free: 15.95 MB / 0.6857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01455/1.075, allocations: 9.388 MB / 0.971 GB, free: 6.512 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003866/1.079, allocations: 3.694 MB / 0.9746 GB, free: 2.785 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.001977/1.081, allocations: 0.5595 MB / 0.9752 GB, free: 2.219 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003786/1.082, allocations: 147.4 kB / 0.9753 GB, free: 2.074 MB / 0.6857 GB Notification: Performance of SimCode: time 6.41e-07/1.082, allocations: 0 / 0.9753 GB, free: 2.074 MB / 0.6857 GB Notification: Performance of Templates: time 0.07912/1.161, allocations: 52.9 MB / 1.027 GB, free: 14.05 MB / 0.7482 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)