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.0009518/0.0009518, allocations: 99.05 kB / 16.02 MB, free: 80 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.001178/0.001178, allocations: 184.8 kB / 16.92 MB, free: 6.672 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.405/1.405, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7246/0.7246, allocations: 115.5 MB / 407.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003359, allocations: 8.594 kB / 495.9 MB, free: 6.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1547, allocations: 77.54 MB / 0.56 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.3665/0.5212, allocations: 36.71 MB / 0.5958 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01902/0.5403, allocations: 10.87 MB / 0.6064 GB, free: 9.551 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004582/0.5449, allocations: 134.1 kB / 0.6066 GB, free: 9.504 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003339/0.5482, allocations: 0.7791 MB / 0.6073 GB, free: 9.035 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007923/0.5562, allocations: 2.093 MB / 0.6094 GB, free: 7.773 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006359/0.5626, allocations: 1.784 MB / 0.6111 GB, free: 6.695 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02033/0.5829, allocations: 13.2 MB / 0.624 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02715/0.6101, allocations: 14.46 MB / 0.6381 GB, free: 6.453 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007363/0.6175, allocations: 2.836 MB / 0.6409 GB, free: 3.605 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007597/0.6252, allocations: 3.869 MB / 0.6447 GB, free: 15.72 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002026/0.6272, allocations: 348 kB / 0.645 GB, free: 15.38 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005378/0.6326, allocations: 1.33 MB / 0.6463 GB, free: 14.05 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006065/0.6387, allocations: 2.529 MB / 0.6488 GB, free: 11.52 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008319/0.6471, allocations: 2.964 MB / 0.6517 GB, free: 8.531 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01732/0.6644, allocations: 11.68 MB / 0.6631 GB, free: 12.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.6645, allocations: 0 / 0.6631 GB, free: 12.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.6645, allocations: 0 / 0.6631 GB, free: 12.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000493/0.665, allocations: 0 / 0.6631 GB, free: 12.82 MB / 494.1 MB 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.01445/0.6794, allocations: 5.094 MB / 0.668 GB, free: 7.656 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.6795, allocations: 11.97 kB / 0.668 GB, free: 7.645 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006544/0.6861, allocations: 1.071 MB / 0.6691 GB, free: 6.566 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007603/0.6937, allocations: 3.415 MB / 0.6724 GB, free: 3.098 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003639/0.6941, allocations: 423.8 kB / 0.6728 GB, free: 2.684 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001845/0.696, allocations: 0.551 MB / 0.6734 GB, free: 2.133 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02226/0.7182, allocations: 9.377 MB / 0.6825 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001606/0.7184, allocations: 15.88 kB / 0.6825 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009525/0.7194, allocations: 244 kB / 0.6828 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006197/0.72, allocations: 418.9 kB / 0.6832 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01623/0.7363, allocations: 7.127 MB / 0.6901 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04905/0.7853, allocations: 41.38 MB / 0.7305 GB, free: 3.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004792/0.7902, allocations: 3.092 MB / 0.7336 GB, free: 408 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002976/0.7932, allocations: 2.129 MB / 0.7356 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.7933, allocations: 22 kB / 0.7357 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.712e-05/0.7934, allocations: 56.56 kB / 0.7357 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=209): time 3.988e-06/0.7934, allocations: 4 kB / 0.7357 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=212): time 0.02461/0.818, allocations: 10.62 MB / 0.7461 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.8181, allocations: 77.34 kB / 0.7462 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002678/0.8208, allocations: 2.002 MB / 0.7481 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001869/0.821, allocations: 61.7 kB / 0.7482 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001512/0.8225, allocations: 2.4 MB / 0.7505 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006557/0.8232, allocations: 0.7394 MB / 0.7512 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003026/0.8235, allocations: 211.1 kB / 0.7514 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.949e-05/0.8236, allocations: 309 kB / 0.7517 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001998/0.8256, allocations: 1.375 MB / 0.7531 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002448/0.8281, allocations: 2.104 MB / 0.7551 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004695/0.8328, allocations: 3.762 MB / 0.7588 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/0.8328, allocations: 8 kB / 0.7588 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008409/0.8412, allocations: 5.073 MB / 0.7638 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.44e-05/0.8413, allocations: 12.22 kB / 0.7638 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.867e-05/0.8413, allocations: 28 kB / 0.7638 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00353/0.8449, allocations: 1.568 MB / 0.7653 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/0.8465, allocations: 451.2 kB / 0.7658 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02111/0.8677, allocations: 17.11 MB / 0.7825 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002491/0.8702, allocations: 147.9 kB / 0.7826 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000244/0.8704, allocations: 108 kB / 0.7827 GB, free: 12.66 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 (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.00354/0.874, allocations: 1.937 MB / 0.7846 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005941/0.8746, allocations: 288.6 kB / 0.7849 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007467/0.8821, allocations: 4.462 MB / 0.7892 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/0.8821, allocations: 20 kB / 0.7893 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.626e-05/0.8821, allocations: 19.94 kB / 0.7893 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.282e-05/0.8822, allocations: 7.969 kB / 0.7893 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01576/0.8979, allocations: 9.668 MB / 0.7987 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.898, allocations: 8.031 kB / 0.7987 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.8991, allocations: 227.6 kB / 0.799 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003647/0.9028, allocations: 1.439 MB / 0.8004 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001789/0.9029, allocations: 40 kB / 0.8004 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02399/0.9269, allocations: 17.1 MB / 0.8171 GB, free: 8.711 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.927, allocations: 7.938 kB / 0.8171 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008753/0.9358, allocations: 4.544 MB / 0.8215 GB, free: 4.07 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001706/0.9375, allocations: 0.6304 MB / 0.8222 GB, free: 3.418 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004867/0.938, allocations: 39.98 kB / 0.8222 GB, free: 3.379 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/0.9394, allocations: 119.9 kB / 0.8223 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005435/0.9399, allocations: 177.6 kB / 0.8225 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/0.9401, allocations: 63.92 kB / 0.8225 GB, free: 3.023 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002353/0.9424, allocations: 1.315 MB / 0.8238 GB, free: 1.699 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9424, allocations: 0 / 0.8238 GB, free: 1.699 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003574/0.946, allocations: 1.141 MB / 0.8249 GB, free: 0.5586 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.000311/0.9463, allocations: 163 kB / 0.8251 GB, free: 400 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.356/1.302, allocations: 4.699 MB / 0.8297 GB, free: 182.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-05/1.302, allocations: 2.062 kB / 0.8297 GB, free: 182.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.006533/1.309, allocations: 2.928 MB / 0.8325 GB, free: 181.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006167/1.315, allocations: 0.8296 MB / 0.8334 GB, free: 181.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02044/1.336, allocations: 11.76 MB / 0.8448 GB, free: 176.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004961/1.341, allocations: 3.691 MB / 0.8485 GB, free: 175.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002574/1.343, allocations: 0.5539 MB / 0.849 GB, free: 175.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004322/1.344, allocations: 149.4 kB / 0.8491 GB, free: 175.2 MB / 0.6387 GB Notification: Performance of SimCode: time 9.01e-07/1.344, allocations: 0 / 0.8491 GB, free: 175.2 MB / 0.6387 GB Notification: Performance of Templates: time 0.08168/1.425, allocations: 50.16 MB / 0.8981 GB, free: 138.9 MB / 0.6387 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)