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.001438/0.001438, allocations: 109.5 kB / 16.41 MB, free: 6.449 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.00127/0.00127, allocations: 189.2 kB / 17.34 MB, free: 5.734 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.42/1.42, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8017/0.8017, allocations: 125.4 MB / 416.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 72.17 kB / 0.5721 GB, free: 27.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1549, allocations: 78.56 MB / 0.6489 GB, free: 5.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04438/0.1993, allocations: 37.94 MB / 0.6859 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01864/0.218, allocations: 10.99 MB / 0.6967 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003601/0.2216, allocations: 159.2 kB / 0.6968 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01132/0.233, allocations: 4.346 MB / 0.701 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006622/0.2397, allocations: 2.223 MB / 0.7032 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005839/0.2455, allocations: 2.168 MB / 0.7053 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01246/0.258, allocations: 9.288 MB / 0.7144 GB, free: 1.789 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01654/0.2746, allocations: 11.26 MB / 0.7254 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007782/0.2824, allocations: 4.004 MB / 0.7293 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01009/0.2925, allocations: 4.51 MB / 0.7337 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.005869/0.2985, allocations: 0.8203 MB / 0.7345 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008282/0.3068, allocations: 1.596 MB / 0.7361 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.006224/0.3131, allocations: 3.146 MB / 0.7391 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00651/0.3196, allocations: 3.653 MB / 0.7427 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3706/0.6903, allocations: 12.34 MB / 0.7548 GB, free: 35.82 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.6903, allocations: 1.812 kB / 0.7548 GB, free: 35.82 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6903, allocations: 0 / 0.7548 GB, free: 35.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004876/0.6908, allocations: 0.9375 kB / 0.7548 GB, free: 35.82 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.02233/0.7132, allocations: 6.477 MB / 0.7611 GB, free: 33.42 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.7132, allocations: 10.69 kB / 0.7611 GB, free: 33.42 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007349/0.7206, allocations: 1.094 MB / 0.7622 GB, free: 33.08 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009049/0.7297, allocations: 3.627 MB / 0.7657 GB, free: 32.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003876/0.7301, allocations: 427.2 kB / 0.7661 GB, free: 32.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002935/0.733, allocations: 0.5417 MB / 0.7666 GB, free: 32.32 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02065/0.7537, allocations: 9.378 MB / 0.7758 GB, free: 31.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001493/0.7539, allocations: 26.05 kB / 0.7758 GB, free: 31.25 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008354/0.7547, allocations: 248.5 kB / 0.7761 GB, free: 31.25 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005609/0.7553, allocations: 417.8 kB / 0.7765 GB, free: 31.23 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01255/0.7678, allocations: 7.126 MB / 0.7834 GB, free: 30.84 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03896/0.8068, allocations: 41.07 MB / 0.8235 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004546/0.8114, allocations: 3.112 MB / 0.8266 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002905/0.8143, allocations: 2.15 MB / 0.8287 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/0.8145, allocations: 20.91 kB / 0.8287 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.33e-05/0.8145, allocations: 60.06 kB / 0.8287 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=209): time 5.781e-06/0.8146, allocations: 7.453 kB / 0.8288 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of matching and sorting (n=212): time 0.02574/0.8403, allocations: 10.63 MB / 0.8391 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.8404, allocations: 78.47 kB / 0.8392 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003247/0.8436, allocations: 2.002 MB / 0.8412 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002361/0.8439, allocations: 61.7 kB / 0.8412 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001931/0.8458, allocations: 2.476 MB / 0.8436 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008197/0.8467, allocations: 0.7673 MB / 0.8444 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009095/0.8476, allocations: 481.5 kB / 0.8448 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.8477, allocations: 305.1 kB / 0.8451 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002236/0.85, allocations: 1.375 MB / 0.8465 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00286/0.8528, allocations: 2.102 MB / 0.8485 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005391/0.8582, allocations: 3.768 MB / 0.8522 GB, free: 172 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-05/0.8583, allocations: 8 kB / 0.8522 GB, free: 164 kB / 0.6075 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009073/0.8673, allocations: 5.083 MB / 0.8572 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.8674, allocations: 19.47 kB / 0.8572 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.478e-05/0.8674, allocations: 20.84 kB / 0.8572 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003796/0.8712, allocations: 1.592 MB / 0.8588 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/0.873, allocations: 451.4 kB / 0.8592 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02583/0.8988, allocations: 18.59 MB / 0.8774 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002866/0.9017, allocations: 143.9 kB / 0.8775 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005445/0.9023, allocations: 109.1 kB / 0.8776 GB, free: 5.871 MB / 0.6387 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.00415/0.9065, allocations: 1.947 MB / 0.8795 GB, free: 3.945 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008803/0.9073, allocations: 301.7 kB / 0.8798 GB, free: 3.652 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008585/0.9159, allocations: 4.454 MB / 0.8841 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/0.916, allocations: 20 kB / 0.8842 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.116e-05/0.9161, allocations: 16 kB / 0.8842 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.437e-05/0.9161, allocations: 7.969 kB / 0.8842 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02111/0.9372, allocations: 9.666 MB / 0.8936 GB, free: 5.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/0.9373, allocations: 7.844 kB / 0.8936 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/0.9385, allocations: 226.3 kB / 0.8939 GB, free: 5.285 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003839/0.9423, allocations: 1.43 MB / 0.8952 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003564/0.9427, allocations: 40 kB / 0.8953 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02784/0.9706, allocations: 18.58 MB / 0.9134 GB, free: 0.7031 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/0.9706, allocations: 5.969 kB / 0.9134 GB, free: 0.6992 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009182/0.9798, allocations: 4.569 MB / 0.9179 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002161/0.982, allocations: 0.6474 MB / 0.9185 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001053/0.9831, allocations: 44 kB / 0.9186 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002033/0.9851, allocations: 111.9 kB / 0.9187 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006804/0.9858, allocations: 184.2 kB / 0.9189 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002342/0.9861, allocations: 60.19 kB / 0.9189 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002627/0.9887, allocations: 1.318 MB / 0.9202 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9887, allocations: 0 / 0.9202 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004967/0.9937, allocations: 1.141 MB / 0.9213 GB, free: 8.594 MB / 0.6856 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.0004471/0.9942, allocations: 165.1 kB / 0.9215 GB, free: 8.434 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.009209/1.003, allocations: 4.722 MB / 0.9261 GB, free: 3.781 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/1.003, allocations: 4 kB / 0.9261 GB, free: 3.777 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.005601/1.009, allocations: 2.933 MB / 0.9289 GB, free: 0.8398 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005774/1.015, allocations: 0.8925 MB / 0.9298 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02476/1.04, allocations: 9.432 MB / 0.939 GB, free: 6.488 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008942/1.049, allocations: 3.69 MB / 0.9426 GB, free: 2.766 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002803/1.051, allocations: 0.5518 MB / 0.9432 GB, free: 2.207 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006623/1.052, allocations: 155.4 kB / 0.9433 GB, free: 2.055 MB / 0.7012 GB Notification: Performance of SimCode: time 8.91e-07/1.052, allocations: 0 / 0.9433 GB, free: 2.055 MB / 0.7012 GB Notification: Performance of Templates: time 0.1013/1.153, allocations: 51.63 MB / 0.9937 GB, free: 15.3 MB / 0.7637 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)