Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 101.3 kB / 16.4 MB, free: 6.492 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.002072/0.002072, allocations: 192 kB / 17.34 MB, free: 5.723 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.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7786/0.7786, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 67.27 kB / 0.5685 GB, free: 28.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1693, allocations: 77.93 MB / 0.6446 GB, free: 8.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02677/0.1961, allocations: 23.39 MB / 0.6674 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0123/0.2085, allocations: 6.492 MB / 0.6738 GB, free: 11 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00276/0.2113, allocations: 95.56 kB / 0.6739 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004465/0.2157, allocations: 1.487 MB / 0.6753 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005446/0.2212, allocations: 1.832 MB / 0.6771 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004094/0.2253, allocations: 1.458 MB / 0.6785 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008437/0.2338, allocations: 6.912 MB / 0.6853 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009254/0.2431, allocations: 6.929 MB / 0.692 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00523/0.2483, allocations: 2.843 MB / 0.6948 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005948/0.2543, allocations: 3.482 MB / 0.6982 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001525/0.2559, allocations: 0.5273 MB / 0.6987 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003358/0.2592, allocations: 1.174 MB / 0.6999 GB, free: 120 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.003214/0.2625, allocations: 2.456 MB / 0.7023 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.004576/0.2671, allocations: 2.532 MB / 0.7047 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.2771, allocations: 8.542 MB / 0.7131 GB, free: 2.543 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.2772, allocations: 11.94 kB / 0.7131 GB, free: 2.531 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2772, allocations: 0 / 0.7131 GB, free: 2.531 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.000253/0.2774, allocations: 0 / 0.7131 GB, free: 2.531 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01054/0.288, allocations: 4.543 MB / 0.7175 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.288, allocations: 12.02 kB / 0.7175 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00817/0.2962, allocations: 1.703 MB / 0.7192 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006135/0.3024, allocations: 2.717 MB / 0.7219 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002247/0.3027, allocations: 271.7 kB / 0.7221 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00131/0.304, allocations: 368.2 kB / 0.7225 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01324/0.3172, allocations: 7.483 MB / 0.7298 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.492e-05/0.3174, allocations: 11.88 kB / 0.7298 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004338/0.3178, allocations: 163.9 kB / 0.73 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005436/0.3183, allocations: 483.3 kB / 0.7304 GB, free: 416 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009533/0.3279, allocations: 5.697 MB / 0.736 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5853/0.9133, allocations: 31.54 MB / 0.7668 GB, free: 69.11 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003844/0.9172, allocations: 2.088 MB / 0.7688 GB, free: 68.32 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004252/0.9215, allocations: 2.192 MB / 0.771 GB, free: 67.52 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001894/0.9217, allocations: 15.28 kB / 0.771 GB, free: 67.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/0.9217, allocations: 50 kB / 0.771 GB, free: 67.46 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=146): time 4.92e-06/0.9218, allocations: 0 / 0.771 GB, free: 67.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=251): time 0.2935/1.215, allocations: 77.09 MB / 0.8463 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/1.215, allocations: 77.41 kB / 0.8464 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002729/1.218, allocations: 1.674 MB / 0.848 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0006758/1.219, allocations: 69.7 kB / 0.8481 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001095/1.22, allocations: 1.799 MB / 0.8498 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001214/1.221, allocations: 0.889 MB / 0.8507 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001498/1.223, allocations: 485.3 kB / 0.8512 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001545/1.223, allocations: 305.1 kB / 0.8515 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004397/1.227, allocations: 2.73 MB / 0.8541 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005151/1.232, allocations: 3.332 MB / 0.8574 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01031/1.243, allocations: 6.389 MB / 0.8636 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-05/1.243, allocations: 4 kB / 0.8636 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.0343/1.277, allocations: 14.71 MB / 0.878 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.103e-05/1.277, allocations: 15.94 kB / 0.878 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.065e-05/1.277, allocations: 19.94 kB / 0.878 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03115/1.308, allocations: 9.235 MB / 0.887 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/1.31, allocations: 303.4 kB / 0.8873 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08723/1.397, allocations: 52.39 MB / 0.9385 GB, free: 4.555 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00368/1.401, allocations: 223.6 kB / 0.9387 GB, free: 4.336 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006994/1.402, allocations: 104 kB / 0.9388 GB, free: 4.234 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003495/1.405, allocations: 1.582 MB / 0.9403 GB, free: 2.641 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009932/1.406, allocations: 254.6 kB / 0.9406 GB, free: 2.391 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03599/1.442, allocations: 14.76 MB / 0.955 GB, free: 3.578 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.174e-05/1.442, allocations: 27.94 kB / 0.955 GB, free: 3.551 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001942/1.442, allocations: 49.41 kB / 0.9551 GB, free: 3.504 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.62e-05/1.442, allocations: 11.95 kB / 0.9551 GB, free: 3.492 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04991/1.492, allocations: 20.53 MB / 0.9751 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-05/1.492, allocations: 4 kB / 0.9751 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008838/1.493, allocations: 159.8 kB / 0.9753 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.031/1.524, allocations: 9.004 MB / 0.9841 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000649/1.525, allocations: 48 kB / 0.9841 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0863/1.611, allocations: 51.97 MB / 1.035 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/1.611, allocations: 11.94 kB / 1.035 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4201/2.032, allocations: 14.37 MB / 1.049 GB, free: 259.3 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002036/2.034, allocations: 0.8481 MB / 1.05 GB, free: 259.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005142/2.034, allocations: 58.64 kB / 1.05 GB, free: 259.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002189/2.036, allocations: 210.7 kB / 1.05 GB, free: 259.2 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001378/2.038, allocations: 237.3 kB / 1.05 GB, free: 259.2 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002689/2.038, allocations: 66.22 kB / 1.05 GB, free: 259.2 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001496/2.04, allocations: 1.126 MB / 1.051 GB, free: 259 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/2.04, allocations: 1.188 kB / 1.051 GB, free: 259 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.004978/2.045, allocations: 1.614 MB / 1.053 GB, free: 259 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004389/2.045, allocations: 166.2 kB / 1.053 GB, free: 258.9 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.02049/2.065, allocations: 10.59 MB / 1.063 GB, free: 255.6 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.401e-05/2.066, allocations: 0 / 1.063 GB, free: 255.6 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.01731/2.083, allocations: 7.326 MB / 1.071 GB, free: 253.1 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004951/2.088, allocations: 0.5565 MB / 1.071 GB, free: 252.9 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01609/2.104, allocations: 8.805 MB / 1.08 GB, free: 248.9 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003815/2.108, allocations: 3.222 MB / 1.083 GB, free: 246.4 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001276/2.109, allocations: 397.8 kB / 1.083 GB, free: 246.1 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/2.109, allocations: 95.44 kB / 1.083 GB, free: 246 MB / 0.7637 GB Notification: Performance of SimCode: time 1.212e-06/2.109, allocations: 6.234 kB / 1.083 GB, free: 246 MB / 0.7637 GB Notification: Performance of Templates: time 0.1202/2.23, allocations: 92.71 MB / 1.174 GB, free: 153.6 MB / 0.7637 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)