Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001363/0.001363, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.43/1.43, 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.7833/0.7833, allocations: 126.1 MB / 417.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 70.98 kB / 0.5731 GB, free: 27.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1565, allocations: 78.69 MB / 0.6499 GB, free: 4.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04161/0.1982, allocations: 37.58 MB / 0.6866 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02697/0.2252, allocations: 13.04 MB / 0.6994 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005808/0.2311, allocations: 171.1 kB / 0.6995 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01068/0.2418, allocations: 3.891 MB / 0.7033 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.009058/0.2509, allocations: 2.487 MB / 0.7058 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.008058/0.259, allocations: 2.709 MB / 0.7084 GB, free: 8.035 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01312/0.2722, allocations: 9.567 MB / 0.7178 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01613/0.2883, allocations: 10.5 MB / 0.728 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008385/0.2968, allocations: 4 MB / 0.7319 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008602/0.3054, allocations: 4.377 MB / 0.7362 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003556/0.309, allocations: 0.7695 MB / 0.7369 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007404/0.3164, allocations: 1.783 MB / 0.7387 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.007634/0.3241, allocations: 3.033 MB / 0.7416 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01041/0.3345, allocations: 3.587 MB / 0.7451 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.5026/0.8371, allocations: 11.88 MB / 0.7567 GB, free: 35.19 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.8372, allocations: 3.531 kB / 0.7567 GB, free: 35.19 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.432e-06/0.8372, allocations: 0 / 0.7567 GB, free: 35.19 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0005648/0.8377, allocations: 0 / 0.7567 GB, free: 35.19 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.03302/0.8708, allocations: 6.517 MB / 0.7631 GB, free: 32.7 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.8708, allocations: 9.531 kB / 0.7631 GB, free: 32.7 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01306/0.8839, allocations: 1.326 MB / 0.7644 GB, free: 32.35 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01462/0.8986, allocations: 3.822 MB / 0.7681 GB, free: 31.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009521/0.8996, allocations: 377.7 kB / 0.7685 GB, free: 31.51 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007424/0.907, allocations: 0.5044 MB / 0.769 GB, free: 31.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0331/0.9402, allocations: 8.883 MB / 0.7777 GB, free: 30.44 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002366/0.9404, allocations: 29.3 kB / 0.7777 GB, free: 30.43 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001528/0.942, allocations: 219.6 kB / 0.7779 GB, free: 30.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002283/0.9443, allocations: 0.6396 MB / 0.7785 GB, free: 30.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01751/0.9618, allocations: 7.011 MB / 0.7854 GB, free: 29.34 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06332/1.025, allocations: 40.12 MB / 0.8246 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005757/1.031, allocations: 2.893 MB / 0.8274 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004402/1.035, allocations: 2.665 MB / 0.83 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003987/1.036, allocations: 29.53 kB / 0.83 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.158e-05/1.036, allocations: 60.38 kB / 0.8301 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=265): time 6.192e-06/1.036, allocations: 0 / 0.8301 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of matching and sorting (n=424): time 0.3267/1.363, allocations: 74.79 MB / 0.9031 GB, free: 13.32 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/1.363, allocations: 98.73 kB / 0.9032 GB, free: 13.21 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005458/1.368, allocations: 2.359 MB / 0.9055 GB, free: 10.84 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.00155/1.37, allocations: 93.7 kB / 0.9056 GB, free: 10.74 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002206/1.372, allocations: 2.406 MB / 0.9079 GB, free: 8.32 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.003016/1.375, allocations: 1.508 MB / 0.9094 GB, free: 6.832 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004263/1.379, allocations: 0.7256 MB / 0.9101 GB, free: 6.094 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001673/1.38, allocations: 305.1 kB / 0.9104 GB, free: 5.793 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00586/1.385, allocations: 2.995 MB / 0.9133 GB, free: 2.789 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007139/1.393, allocations: 3.848 MB / 0.9171 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01483/1.407, allocations: 7.374 MB / 0.9243 GB, free: 7.008 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.313e-05/1.408, allocations: 15.28 kB / 0.9243 GB, free: 6.996 MB / 0.6856 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03535/1.443, allocations: 12.58 MB / 0.9366 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.709e-05/1.443, allocations: 16 kB / 0.9366 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-05/1.443, allocations: 20 kB / 0.9366 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02392/1.467, allocations: 6.03 MB / 0.9425 GB, free: 4.531 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00274/1.47, allocations: 498 kB / 0.943 GB, free: 4.078 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08993/1.56, allocations: 73.04 MB / 1.014 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005379/1.565, allocations: 219.7 kB / 1.015 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001315/1.567, allocations: 153.7 kB / 1.015 GB, free: 7.664 MB / 0.7794 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00631/1.573, allocations: 2.001 MB / 1.017 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001814/1.575, allocations: 409.5 kB / 1.017 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03002/1.605, allocations: 12.23 MB / 1.029 GB, free: 9.117 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-05/1.605, allocations: 40 kB / 1.029 GB, free: 9.078 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002036/1.605, allocations: 48 kB / 1.029 GB, free: 9.031 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000109/1.605, allocations: 23.86 kB / 1.029 GB, free: 9.008 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4648/2.07, allocations: 19.14 MB / 1.048 GB, free: 278.7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.722e-05/2.07, allocations: 8.812 kB / 1.048 GB, free: 278.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001886/2.072, allocations: 288.2 kB / 1.048 GB, free: 278.7 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02084/2.093, allocations: 5.579 MB / 1.053 GB, free: 278.5 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008868/2.094, allocations: 85 kB / 1.054 GB, free: 278.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07129/2.165, allocations: 70.67 MB / 1.123 GB, free: 227.6 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/2.165, allocations: 13.69 kB / 1.123 GB, free: 227.6 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02989/2.195, allocations: 15.63 MB / 1.138 GB, free: 212 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003535/2.199, allocations: 1.057 MB / 1.139 GB, free: 211 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001505/2.2, allocations: 83.98 kB / 1.139 GB, free: 210.9 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003536/2.204, allocations: 215.7 kB / 1.139 GB, free: 210.7 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001727/2.205, allocations: 410.2 kB / 1.14 GB, free: 210.3 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003054/2.206, allocations: 108 kB / 1.14 GB, free: 210.2 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002142/2.208, allocations: 1.558 MB / 1.141 GB, free: 208.6 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/2.208, allocations: 0 / 1.141 GB, free: 208.6 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.008103/2.216, allocations: 1.859 MB / 1.143 GB, free: 206.8 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006678/2.217, allocations: 221.7 kB / 1.143 GB, free: 206.6 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0189/2.236, allocations: 12.24 MB / 1.155 GB, free: 194 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.852e-05/2.236, allocations: 4 kB / 1.155 GB, free: 194 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01367/2.249, allocations: 8.385 MB / 1.163 GB, free: 185.3 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007005/2.256, allocations: 1.188 MB / 1.165 GB, free: 184.2 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02106/2.277, allocations: 12.38 MB / 1.177 GB, free: 171.7 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004549/2.282, allocations: 4.095 MB / 1.181 GB, free: 167.6 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002586/2.285, allocations: 0.6591 MB / 1.181 GB, free: 166.9 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000537/2.285, allocations: 179.4 kB / 1.181 GB, free: 166.8 MB / 0.795 GB Notification: Performance of SimCode: time 1.112e-06/2.285, allocations: 0 / 1.181 GB, free: 166.8 MB / 0.795 GB Notification: Performance of Templates: time 0.1453/2.431, allocations: 110.7 MB / 1.29 GB, free: 56.85 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)