Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009683/0.0009683, allocations: 110.6 kB / 16.41 MB, free: 6.484 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.001031/0.001031, allocations: 195.1 kB / 17.34 MB, free: 5.762 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.266/1.266, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6862/0.6862, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 62.89 kB / 0.5577 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1326, allocations: 76.18 MB / 0.6321 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03773/0.1704, allocations: 37.94 MB / 0.6691 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01683/0.1873, allocations: 10.98 MB / 0.6799 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004002/0.1913, allocations: 159.2 kB / 0.68 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.01008/0.2015, allocations: 4.354 MB / 0.6843 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005982/0.2075, allocations: 2.23 MB / 0.6865 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005793/0.2133, allocations: 2.165 MB / 0.6886 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01244/0.2257, allocations: 9.291 MB / 0.6976 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01652/0.2423, allocations: 11.27 MB / 0.7086 GB, free: 5.688 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00637/0.2487, allocations: 4.051 MB / 0.7126 GB, free: 1.625 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006562/0.2553, allocations: 4.506 MB / 0.717 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002147/0.2575, allocations: 0.8242 MB / 0.7178 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003768/0.2612, allocations: 1.592 MB / 0.7194 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003492/0.2648, allocations: 3.15 MB / 0.7224 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.004678/0.2694, allocations: 3.649 MB / 0.726 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01211/0.2816, allocations: 12.31 MB / 0.738 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.2816, allocations: 8 kB / 0.738 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.335e-06/0.2816, allocations: 0 / 0.738 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003183/0.282, allocations: 0 / 0.738 GB, free: 7.512 MB / 0.5762 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.01355/0.2955, allocations: 6.314 MB / 0.7442 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.2956, allocations: 8.031 kB / 0.7442 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005022/0.3006, allocations: 1.067 MB / 0.7452 GB, free: 44 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2792/0.5798, allocations: 3.605 MB / 0.7488 GB, free: 97.71 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003216/0.5802, allocations: 428.3 kB / 0.7492 GB, free: 97.52 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001139/0.5813, allocations: 0.541 MB / 0.7497 GB, free: 97.35 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01598/0.5973, allocations: 9.376 MB / 0.7589 GB, free: 93.46 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001167/0.5974, allocations: 17.75 kB / 0.7589 GB, free: 93.46 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000604/0.598, allocations: 247.2 kB / 0.7591 GB, free: 93.29 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007137/0.5988, allocations: 424.1 kB / 0.7595 GB, free: 93.23 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01071/0.6095, allocations: 7.132 MB / 0.7665 GB, free: 90.11 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0288/0.6383, allocations: 40.99 MB / 0.8065 GB, free: 49.95 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003387/0.6417, allocations: 3.114 MB / 0.8096 GB, free: 46.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002069/0.6438, allocations: 2.148 MB / 0.8117 GB, free: 44.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.323e-05/0.6439, allocations: 22 kB / 0.8117 GB, free: 44.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.644, allocations: 64.55 kB / 0.8117 GB, free: 44.61 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=209): time 4.218e-06/0.644, allocations: 4 kB / 0.8117 GB, free: 44.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=212): time 0.01773/0.6617, allocations: 10.55 MB / 0.822 GB, free: 33.95 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.6617, allocations: 73.41 kB / 0.8221 GB, free: 33.87 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/0.6635, allocations: 2.002 MB / 0.8241 GB, free: 31.85 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001141/0.6636, allocations: 67.58 kB / 0.8241 GB, free: 31.78 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007543/0.6644, allocations: 2.399 MB / 0.8265 GB, free: 29.36 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003332/0.6647, allocations: 0.7345 MB / 0.8272 GB, free: 28.62 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005434/0.6653, allocations: 481.2 kB / 0.8277 GB, free: 28.15 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.1e-05/0.6653, allocations: 309.1 kB / 0.8279 GB, free: 27.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/0.6667, allocations: 1.372 MB / 0.8293 GB, free: 26.47 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/0.6683, allocations: 2.112 MB / 0.8314 GB, free: 24.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003219/0.6715, allocations: 3.762 MB / 0.835 GB, free: 19.97 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.6715, allocations: 8 kB / 0.835 GB, free: 19.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005764/0.6773, allocations: 5.06 MB / 0.84 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.6774, allocations: 16.97 kB / 0.84 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/0.6774, allocations: 24 kB / 0.84 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002659/0.68, allocations: 1.59 MB / 0.8416 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.6814, allocations: 455.2 kB / 0.842 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01782/0.6993, allocations: 18.57 MB / 0.8601 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002114/0.7014, allocations: 147.9 kB / 0.8603 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001903/0.7016, allocations: 108 kB / 0.8604 GB, free: 9.43 MB / 0.5919 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.002806/0.7044, allocations: 1.949 MB / 0.8623 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004489/0.7049, allocations: 291.5 kB / 0.8626 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006707/0.7116, allocations: 4.451 MB / 0.8669 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.7116, allocations: 20 kB / 0.8669 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.366e-05/0.7116, allocations: 20 kB / 0.8669 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/0.7117, allocations: 11.95 kB / 0.867 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/0.7248, allocations: 9.664 MB / 0.8764 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/0.7248, allocations: 4 kB / 0.8764 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009573/0.7258, allocations: 239.6 kB / 0.8766 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002997/0.7288, allocations: 1.418 MB / 0.878 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/0.7289, allocations: 48.12 kB / 0.8781 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02058/0.7495, allocations: 18.55 MB / 0.8962 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/0.7495, allocations: 20.03 kB / 0.8962 GB, free: 4.043 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006651/0.7562, allocations: 4.55 MB / 0.9006 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/0.7573, allocations: 0.6342 MB / 0.9013 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000328/0.7576, allocations: 40 kB / 0.9013 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/0.7589, allocations: 115.9 kB / 0.9014 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000486/0.7594, allocations: 181.6 kB / 0.9016 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/0.7595, allocations: 60 kB / 0.9016 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001637/0.7612, allocations: 1.315 MB / 0.9029 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7612, allocations: 0 / 0.9029 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002732/0.7639, allocations: 1.145 MB / 0.904 GB, free: 11.89 MB / 0.6387 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.0002731/0.7642, allocations: 163 kB / 0.9042 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00667/0.7709, allocations: 4.712 MB / 0.9088 GB, free: 6.965 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.7709, allocations: 0 / 0.9088 GB, free: 6.965 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004036/0.7749, allocations: 2.915 MB / 0.9116 GB, free: 4.004 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003238/0.7782, allocations: 0.9019 MB / 0.9125 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/0.792, allocations: 9.262 MB / 0.9216 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003691/0.7957, allocations: 3.694 MB / 0.9252 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001735/0.7975, allocations: 0.5518 MB / 0.9257 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000386/0.7979, allocations: 147.4 kB / 0.9259 GB, free: 5.367 MB / 0.6544 GB Notification: Performance of SimCode: time 9.22e-07/0.7979, allocations: 0 / 0.9259 GB, free: 5.367 MB / 0.6544 GB Notification: Performance of Templates: time 0.0772/0.8751, allocations: 51.64 MB / 0.9763 GB, free: 2.484 MB / 0.7012 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)