Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 170 kB / 24.82 MB, free: 9.273 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2272/0.2272, allocations: 29.41 MB / 291.2 MB, free: 2.453 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.439e-05/1.606e-05, allocations: 2.312 kB / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.005372/0.005388, allocations: 5.774 MB / 375.9 MB, free: 4.934 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00354/0.008928, allocations: 2.38 MB / 378.2 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004341/0.009362, allocations: 35.69 kB / 378.3 MB, free: 2.512 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007054/0.01007, allocations: 238.4 kB / 378.5 MB, free: 2.277 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000943/0.01101, allocations: 0.6062 MB / 379.1 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.01205, allocations: 0.5221 MB / 379.6 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001651/0.0137, allocations: 1.96 MB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005781/0.01428, allocations: 0.5606 MB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.01545, allocations: 1.115 MB / 383.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009541/0.0164, allocations: 0.8965 MB / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002/0.0166, allocations: 140 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007274/0.01733, allocations: 0.6434 MB / 385 MB, free: 11.81 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004404/0.01777, allocations: 0.6547 MB / 385.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003636/0.01813, allocations: 483 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.01922, allocations: 1.465 MB / 387.5 MB, free: 9.211 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.01922, allocations: 0 / 387.5 MB, free: 9.211 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01922, allocations: 0 / 387.5 MB, free: 9.211 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.01923, allocations: 0 / 387.5 MB, free: 9.211 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002095/0.02133, allocations: 1.755 MB / 389.3 MB, free: 7.387 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.02137, allocations: 15.97 kB / 389.3 MB, free: 7.371 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005875/0.02195, allocations: 304 kB / 389.6 MB, free: 7.074 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006987/0.02265, allocations: 0.6732 MB / 390.3 MB, free: 6.375 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004876/0.02314, allocations: 1.093 MB / 391.4 MB, free: 5.059 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.0233, allocations: 100.5 kB / 391.5 MB, free: 4.961 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.0244, allocations: 1.027 MB / 392.5 MB, free: 3.879 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.02442, allocations: 3.938 kB / 392.5 MB, free: 3.875 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-05/0.0245, allocations: 35.98 kB / 392.5 MB, free: 3.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001054/0.02461, allocations: 85.95 kB / 392.6 MB, free: 3.754 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007618/0.02537, allocations: 0.5873 MB / 393.2 MB, free: 3.168 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004057/0.02943, allocations: 4.297 MB / 397.5 MB, free: 14.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000905/0.03033, allocations: 0.6029 MB / 398.1 MB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/0.03072, allocations: 326.2 kB / 398.4 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.437e-05/0.03078, allocations: 17 kB / 398.5 MB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005988/0.03138, allocations: 0.6255 MB / 399.1 MB, free: 13.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=123): time 2.064e-06/0.03138, allocations: 0 / 399.1 MB, free: 13.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=124): time 0.002485/0.03387, allocations: 1.925 MB / 401 MB, free: 11.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.03391, allocations: 110.2 kB / 401.1 MB, free: 11.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.03417, allocations: 454.3 kB / 401.6 MB, free: 10.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.14e-05/0.03424, allocations: 53.7 kB / 401.6 MB, free: 10.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.03442, allocations: 420.1 kB / 402 MB, free: 10.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002452/0.03467, allocations: 452.2 kB / 402.5 MB, free: 9.691 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002556/0.03492, allocations: 228.4 kB / 402.7 MB, free: 9.457 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.03511, allocations: 0.5858 MB / 403.3 MB, free: 8.859 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.03548, allocations: 324.1 kB / 403.6 MB, free: 8.539 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004294/0.03591, allocations: 0.5112 MB / 404.1 MB, free: 7.965 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007785/0.03669, allocations: 0.7439 MB / 404.8 MB, free: 7.164 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.03669, allocations: 4 kB / 404.8 MB, free: 7.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003061/0.03975, allocations: 1.758 MB / 406.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.674e-05/0.0398, allocations: 60.34 kB / 406.7 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.03981, allocations: 4 kB / 406.7 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002957/0.04276, allocations: 1.597 MB / 408.3 MB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/0.04314, allocations: 175.7 kB / 408.4 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005477/0.04862, allocations: 3.848 MB / 412.3 MB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004054/0.04902, allocations: 95.84 kB / 412.4 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.842e-05/0.04912, allocations: 75.8 kB / 412.4 MB, free: 15.41 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 28 (inverter.modulator.t0[3],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[1],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.gates[6],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],system.initime,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 101 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0002436/0.04936, allocations: 232.4 kB / 412.7 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/0.04956, allocations: 127.5 kB / 412.8 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.05065, allocations: 0.9364 MB / 413.7 MB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-05/0.05068, allocations: 31.98 kB / 413.8 MB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.05068, allocations: 0 / 413.8 MB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/0.05069, allocations: 7.922 kB / 413.8 MB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/0.0529, allocations: 1.852 MB / 415.6 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.555e-06/0.0529, allocations: 7.938 kB / 415.6 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003442/0.05635, allocations: 1.319 MB / 417 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.05635, allocations: 7.984 kB / 417 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.901e-05/0.05642, allocations: 35.97 kB / 417 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/0.05643, allocations: 11.94 kB / 417 MB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.05643, allocations: 4 kB / 417 MB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.05798, allocations: 1.429 MB / 418.4 MB, free: 9.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002818/0.05826, allocations: 211.2 kB / 418.6 MB, free: 9.062 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.05839, allocations: 79.92 kB / 418.7 MB, free: 8.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000419/0.05881, allocations: 99.89 kB / 418.8 MB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.05896, allocations: 96.83 kB / 418.9 MB, free: 8.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.949e-05/0.05902, allocations: 40.03 kB / 419 MB, free: 8.754 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001431/0.05917, allocations: 274.9 kB / 419.2 MB, free: 8.484 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05917, allocations: 0 / 419.2 MB, free: 8.484 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006054/0.05977, allocations: 355.9 kB / 419.6 MB, free: 8.137 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],pqLoad.psi[1],pqLoad.psi[2],pqLoad.psi[3],pqLoad.Z[1],pqLoad.Z[2]) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3]) * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 96 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002685/0.06004, allocations: 224.9 kB / 419.8 MB, free: 7.902 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001586/0.06162, allocations: 1.36 MB / 421.2 MB, free: 6.508 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.06163, allocations: 128 / 421.2 MB, free: 6.508 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001424/0.06305, allocations: 0.7653 MB / 421.9 MB, free: 5.738 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005544/0.06361, allocations: 196.1 kB / 422.1 MB, free: 5.555 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/0.06693, allocations: 2.534 MB / 424.6 MB, free: 2.945 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.06712, allocations: 281.9 kB / 424.9 MB, free: 2.652 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003358/0.06746, allocations: 118.7 kB / 425 MB, free: 2.531 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005413/0.068, allocations: 246.1 kB / 425.3 MB, free: 2.289 MB / 394.7 MB Notification: Performance of SimCode: time 7.51e-07/0.068, allocations: 0 / 425.3 MB, free: 2.289 MB / 394.7 MB Notification: Performance of Templates: time 0.1445/0.2125, allocations: 23.91 MB / 449.2 MB, free: 100.6 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8016741699539125]