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.00105/0.00105, 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.001075/0.001075, allocations: 191.1 kB / 16.25 MB, free: 6.633 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.291/1.291, allocations: 222.9 MB / 239.9 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001986/0.001986, allocations: 275 kB / 290.4 MB, free: 2.039 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9209/0.9209, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 94.3 kB / 0.5947 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1496, allocations: 86.98 MB / 0.6796 GB, free: 1.008 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03837/0.1881, allocations: 37.59 MB / 0.7163 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01697/0.2051, allocations: 10.9 MB / 0.727 GB, free: 400 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003421/0.2085, allocations: 143.2 kB / 0.7271 GB, free: 256 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.01075/0.2193, allocations: 4.088 MB / 0.7311 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006956/0.2263, allocations: 2.049 MB / 0.7331 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005911/0.2322, allocations: 1.965 MB / 0.735 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01159/0.2438, allocations: 9.315 MB / 0.7441 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01919/0.2631, allocations: 13.57 MB / 0.7574 GB, free: 1.109 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006751/0.2699, allocations: 4.054 MB / 0.7613 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007346/0.2772, allocations: 4.717 MB / 0.766 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002281/0.2795, allocations: 0.8242 MB / 0.7668 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004281/0.2838, allocations: 1.592 MB / 0.7683 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004822/0.2887, allocations: 3.146 MB / 0.7714 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.2853/0.574, allocations: 3.654 MB / 0.775 GB, free: 34.76 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01275/0.5868, allocations: 12.3 MB / 0.787 GB, free: 34.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.5869, allocations: 0 / 0.787 GB, free: 34.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.704e-06/0.5869, allocations: 0 / 0.787 GB, free: 34.43 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003142/0.5872, allocations: 0.7812 kB / 0.787 GB, free: 34.43 MB / 0.5606 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.01433/0.6015, allocations: 6.32 MB / 0.7931 GB, free: 32.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.6016, allocations: 10.58 kB / 0.7932 GB, free: 32.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005047/0.6066, allocations: 1.062 MB / 0.7942 GB, free: 31.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005079/0.6117, allocations: 3.424 MB / 0.7975 GB, free: 31.22 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003691/0.6121, allocations: 425.4 kB / 0.7979 GB, free: 31.21 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001799/0.6139, allocations: 0.5418 MB / 0.7985 GB, free: 31.21 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0215/0.6354, allocations: 9.371 MB / 0.8076 GB, free: 30.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001511/0.6356, allocations: 34.23 kB / 0.8077 GB, free: 30.06 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000834/0.6364, allocations: 246.8 kB / 0.8079 GB, free: 30.06 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005912/0.637, allocations: 422.5 kB / 0.8083 GB, free: 30 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01371/0.6508, allocations: 7.124 MB / 0.8152 GB, free: 28.39 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0391/0.6899, allocations: 41.31 MB / 0.8556 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003981/0.6939, allocations: 3.101 MB / 0.8586 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002527/0.6965, allocations: 2.146 MB / 0.8607 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.6966, allocations: 20.69 kB / 0.8607 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.37e-05/0.6966, allocations: 59.75 kB / 0.8608 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=209): time 3.627e-06/0.6967, allocations: 0 / 0.8608 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of matching and sorting (n=212): time 0.02224/0.7189, allocations: 10.56 MB / 0.8711 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.719, allocations: 77.34 kB / 0.8712 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002761/0.7218, allocations: 2.002 MB / 0.8731 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002182/0.722, allocations: 72.33 kB / 0.8732 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001387/0.7234, allocations: 2.395 MB / 0.8755 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006512/0.724, allocations: 0.7444 MB / 0.8763 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007653/0.7248, allocations: 473.2 kB / 0.8767 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.7249, allocations: 305.1 kB / 0.877 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001882/0.7268, allocations: 1.368 MB / 0.8783 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00235/0.7292, allocations: 2.111 MB / 0.8804 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004487/0.7337, allocations: 3.769 MB / 0.8841 GB, free: 336 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.7337, allocations: 8 kB / 0.8841 GB, free: 328 kB / 0.5919 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007813/0.7415, allocations: 5.069 MB / 0.889 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/0.7416, allocations: 19.19 kB / 0.8891 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/0.7416, allocations: 24 kB / 0.8891 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003381/0.745, allocations: 1.593 MB / 0.8906 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.7465, allocations: 448.7 kB / 0.8911 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02136/0.7679, allocations: 18.59 MB / 0.9092 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002372/0.7703, allocations: 147.9 kB / 0.9094 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002123/0.7705, allocations: 107.8 kB / 0.9095 GB, free: 6.035 MB / 0.6231 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.003551/0.7741, allocations: 1.935 MB / 0.9113 GB, free: 4.117 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005147/0.7746, allocations: 288.6 kB / 0.9116 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006806/0.7814, allocations: 4.457 MB / 0.916 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-05/0.7814, allocations: 20 kB / 0.916 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.119e-05/0.7815, allocations: 20 kB / 0.916 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/0.7815, allocations: 14.06 kB / 0.916 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01445/0.7959, allocations: 9.664 MB / 0.9255 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/0.796, allocations: 6.625 kB / 0.9255 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009793/0.797, allocations: 238 kB / 0.9257 GB, free: 5.449 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00318/0.8002, allocations: 1.433 MB / 0.9271 GB, free: 4.008 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001411/0.8003, allocations: 36 kB / 0.9271 GB, free: 3.973 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02118/0.8215, allocations: 18.58 MB / 0.9453 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.8215, allocations: 7.469 kB / 0.9453 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00732/0.8289, allocations: 4.555 MB / 0.9497 GB, free: 12.31 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001999/0.8309, allocations: 0.6265 MB / 0.9503 GB, free: 11.66 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004037/0.8313, allocations: 40 kB / 0.9504 GB, free: 11.62 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.8325, allocations: 115.9 kB / 0.9505 GB, free: 11.51 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004783/0.833, allocations: 184.3 kB / 0.9507 GB, free: 11.33 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/0.8331, allocations: 60 kB / 0.9507 GB, free: 11.27 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001755/0.8349, allocations: 1.311 MB / 0.952 GB, free: 9.953 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8349, allocations: 0 / 0.952 GB, free: 9.953 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00317/0.838, allocations: 1.145 MB / 0.9531 GB, free: 8.809 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.0002968/0.8383, allocations: 169.5 kB / 0.9533 GB, free: 8.645 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.009246/0.8476, allocations: 5.917 MB / 0.9591 GB, free: 2.777 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.478e-05/0.8476, allocations: 4 kB / 0.9591 GB, free: 2.773 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004247/0.8519, allocations: 2.919 MB / 0.9619 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003634/0.8555, allocations: 0.8975 MB / 0.9628 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0161/0.8716, allocations: 11.76 MB / 0.9743 GB, free: 3.152 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003808/0.8755, allocations: 3.691 MB / 0.9779 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002022/0.8775, allocations: 0.5556 MB / 0.9784 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003928/0.8779, allocations: 151.4 kB / 0.9786 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of SimCode: time 6.21e-07/0.8779, allocations: 0 / 0.9786 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of Templates: time 0.07881/0.9567, allocations: 53.11 MB / 1.03 GB, free: 10.5 MB / 0.7481 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)