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.000914/0.000914, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001017/0.001017, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001734/0.001734, allocations: 262.6 kB / 291.3 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9582/0.9582, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007546/0.0007547, allocations: 19.52 kB / 0.598 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.1997, allocations: 88.54 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03649/0.2363, allocations: 34.6 MB / 0.7183 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01686/0.2532, allocations: 10.5 MB / 0.7285 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004277/0.2575, allocations: 131.2 kB / 0.7287 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00373/0.2613, allocations: 0.7596 MB / 0.7294 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007668/0.269, allocations: 1.791 MB / 0.7311 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005477/0.2745, allocations: 1.28 MB / 0.7324 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01298/0.2875, allocations: 10.36 MB / 0.7425 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02076/0.3083, allocations: 12.68 MB / 0.7549 GB, free: 7.113 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005877/0.3142, allocations: 2.872 MB / 0.7577 GB, free: 4.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00696/0.3212, allocations: 3.765 MB / 0.7614 GB, free: 464 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002008/0.3233, allocations: 347.9 kB / 0.7617 GB, free: 116 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3887/0.7119, allocations: 0.7031 MB / 0.7624 GB, free: 24.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.005962/0.718, allocations: 2.512 MB / 0.7649 GB, free: 24.12 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00399/0.722, allocations: 1.197 MB / 0.766 GB, free: 24.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01495/0.737, allocations: 10.19 MB / 0.776 GB, free: 23.69 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.892e-06/0.737, allocations: 1.312 kB / 0.776 GB, free: 23.69 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.737, allocations: 0 / 0.776 GB, free: 23.69 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0004495/0.7375, allocations: 0 / 0.776 GB, free: 23.69 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01587/0.7534, allocations: 5.142 MB / 0.781 GB, free: 21.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.7534, allocations: 9.844 kB / 0.781 GB, free: 21.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007179/0.7606, allocations: 1.068 MB / 0.782 GB, free: 21.24 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008891/0.7695, allocations: 3.344 MB / 0.7853 GB, free: 20.61 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000556/0.7701, allocations: 428.2 kB / 0.7857 GB, free: 20.6 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003409/0.7736, allocations: 0.5486 MB / 0.7863 GB, free: 20.6 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03331/0.8069, allocations: 9.326 MB / 0.7954 GB, free: 18.94 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000417/0.8073, allocations: 24.28 kB / 0.7954 GB, free: 18.94 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00267/0.81, allocations: 244.7 kB / 0.7956 GB, free: 18.94 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008286/0.8109, allocations: 423.3 kB / 0.796 GB, free: 18.87 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01839/0.8293, allocations: 7.08 MB / 0.8029 GB, free: 17.64 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05912/0.8884, allocations: 41.36 MB / 0.8433 GB, free: 224 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005293/0.8938, allocations: 3.09 MB / 0.8463 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003271/0.8971, allocations: 2.12 MB / 0.8484 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/0.8973, allocations: 24.17 kB / 0.8484 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.416e-05/0.8974, allocations: 64.7 kB / 0.8485 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=209): time 5.901e-06/0.8974, allocations: 3.984 kB / 0.8485 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=212): time 0.02708/0.9245, allocations: 10.45 MB / 0.8587 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.9246, allocations: 75.09 kB / 0.8588 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003923/0.9285, allocations: 1.982 MB / 0.8607 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004708/0.929, allocations: 61.7 kB / 0.8608 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001974/0.931, allocations: 2.406 MB / 0.8631 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001165/0.9322, allocations: 0.7293 MB / 0.8638 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003411/0.9325, allocations: 52 kB / 0.8639 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002953/0.9328, allocations: 419.3 kB / 0.8643 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002464/0.9353, allocations: 1.364 MB / 0.8656 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002731/0.938, allocations: 2.095 MB / 0.8677 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002621/0.9407, allocations: 1.721 MB / 0.8693 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-05/0.9407, allocations: 4 kB / 0.8693 GB, free: 10 MB / 0.5919 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008456/0.9492, allocations: 5.041 MB / 0.8743 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.24e-05/0.9492, allocations: 14.03 kB / 0.8743 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-05/0.9493, allocations: 26.41 kB / 0.8743 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003559/0.9528, allocations: 1.562 MB / 0.8758 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/0.9547, allocations: 460 kB / 0.8763 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02191/0.9766, allocations: 17.06 MB / 0.8929 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002646/0.9793, allocations: 147.9 kB / 0.8931 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003599/0.9797, allocations: 108 kB / 0.8932 GB, free: 1.32 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0045/0.9842, allocations: 1.942 MB / 0.8951 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007799/0.985, allocations: 288.6 kB / 0.8954 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007718/0.9927, allocations: 4.438 MB / 0.8997 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.392e-05/0.9928, allocations: 24 kB / 0.8997 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.648e-05/0.9928, allocations: 16 kB / 0.8997 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.419e-05/0.9928, allocations: 11.95 kB / 0.8997 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01807/1.011, allocations: 9.651 MB / 0.9092 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/1.011, allocations: 4 kB / 0.9092 GB, free: 0.9844 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009143/1.012, allocations: 233.1 kB / 0.9094 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003243/1.015, allocations: 1.431 MB / 0.9108 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002108/1.015, allocations: 44 kB / 0.9108 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02105/1.036, allocations: 17.07 MB / 0.9275 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.381e-06/1.036, allocations: 4 kB / 0.9275 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007573/1.044, allocations: 4.526 MB / 0.9319 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001617/1.046, allocations: 0.6382 MB / 0.9325 GB, free: 8.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004362/1.046, allocations: 36 kB / 0.9326 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/1.047, allocations: 119.9 kB / 0.9327 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005248/1.048, allocations: 176.7 kB / 0.9329 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001415/1.048, allocations: 60 kB / 0.9329 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002046/1.05, allocations: 1.295 MB / 0.9342 GB, free: 6.836 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.41e-07/1.05, allocations: 4 kB / 0.9342 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004422/1.055, allocations: 1.141 MB / 0.9353 GB, free: 5.691 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00038/1.055, allocations: 169.9 kB / 0.9355 GB, free: 5.531 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.007438/1.062, allocations: 4.671 MB / 0.94 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/1.062, allocations: 4 kB / 0.94 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.004819/1.067, allocations: 2.924 MB / 0.9429 GB, free: 13.95 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006319/1.074, allocations: 0.8432 MB / 0.9437 GB, free: 13.12 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01851/1.092, allocations: 11.22 MB / 0.9547 GB, free: 1.836 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004591/1.097, allocations: 3.69 MB / 0.9583 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002961/1.1, allocations: 0.5556 MB / 0.9588 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004687/1.1, allocations: 147.4 kB / 0.9589 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of SimCode: time 1.844e-06/1.1, allocations: 0 / 0.9589 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of Templates: time 0.09233/1.193, allocations: 48.82 MB / 1.007 GB, free: 13.39 MB / 0.7325 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)