Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.001403/0.001403, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001126/0.001126, allocations: 163.9 kB / 25.61 MB, free: 8.582 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 0.9569/0.9569, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.1206/0.1206, allocations: 29.43 MB / 292 MB, free: 2.613 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.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.319e-05, allocations: 4.984 kB / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.004122/0.004146, allocations: 5.177 MB / 376 MB, free: 27.12 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.006268, allocations: 1.543 MB / 377.6 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002918/0.00656, allocations: 31.69 kB / 377.6 MB, free: 25.54 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003783/0.006938, allocations: 131 kB / 377.7 MB, free: 25.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005575/0.007495, allocations: 373.8 kB / 378.1 MB, free: 25.04 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.007972, allocations: 331.3 kB / 378.4 MB, free: 24.72 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008701/0.008842, allocations: 1.359 MB / 379.8 MB, free: 23.36 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002581/0.0091, allocations: 225.2 kB / 380 MB, free: 23.13 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008506/0.009951, allocations: 0.7835 MB / 380.8 MB, free: 22.35 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005272/0.01048, allocations: 486.8 kB / 381.3 MB, free: 21.87 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.414e-05/0.01057, allocations: 80 kB / 381.3 MB, free: 21.79 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.093e-05/0.01066, allocations: 84 kB / 381.4 MB, free: 21.71 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.01085, allocations: 343.1 kB / 381.8 MB, free: 21.38 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.01106, allocations: 283.4 kB / 382 MB, free: 21.1 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005738/0.01163, allocations: 0.6775 MB / 382.7 MB, free: 20.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.01163, allocations: 0 / 382.7 MB, free: 20.42 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.01164, allocations: 4 kB / 382.7 MB, free: 20.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.877e-05/0.01165, allocations: 0 / 382.7 MB, free: 20.41 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001337/0.01299, allocations: 1.176 MB / 383.9 MB, free: 19.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.01302, allocations: 12.03 kB / 383.9 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.01318, allocations: 152.5 kB / 384.1 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005089/0.01368, allocations: 0.5086 MB / 384.6 MB, free: 18.49 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002486/0.01393, allocations: 0.7214 MB / 385.3 MB, free: 17.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-05/0.01401, allocations: 60.38 kB / 385.4 MB, free: 17.56 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005847/0.01459, allocations: 0.5959 MB / 385.9 MB, free: 16.92 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.01461, allocations: 7.922 kB / 386 MB, free: 16.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.214e-05/0.01465, allocations: 24 kB / 386 MB, free: 16.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.01466, allocations: 12 kB / 386 MB, free: 16.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003748/0.01504, allocations: 302.6 kB / 386.3 MB, free: 16.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001984/0.01702, allocations: 2.698 MB / 389 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003915/0.01741, allocations: 289.1 kB / 389.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.01763, allocations: 183.5 kB / 389.4 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.01767, allocations: 8.5 kB / 389.5 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002776/0.01794, allocations: 319.8 kB / 389.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 2.054e-06/0.01794, allocations: 0 / 389.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.0007933/0.01874, allocations: 0.5121 MB / 390.3 MB, free: 12.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.01877, allocations: 148.5 kB / 390.4 MB, free: 12.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.01894, allocations: 394.8 kB / 390.8 MB, free: 11.85 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.01898, allocations: 41.7 kB / 390.8 MB, free: 11.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.01909, allocations: 351.5 kB / 391.2 MB, free: 11.46 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.325e-05/0.01917, allocations: 170.6 kB / 391.4 MB, free: 11.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.01929, allocations: 123.9 kB / 391.5 MB, free: 11.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.07e-05/0.01935, allocations: 0.539 MB / 392 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.01951, allocations: 162.9 kB / 392.2 MB, free: 10.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.01968, allocations: 316.5 kB / 392.5 MB, free: 10.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.01998, allocations: 403.3 kB / 392.9 MB, free: 9.617 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01998, allocations: 0 / 392.9 MB, free: 9.617 MB / 314.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005391/0.02052, allocations: 0.5742 MB / 393.5 MB, free: 9.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.02055, allocations: 53.62 kB / 393.5 MB, free: 8.961 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.02056, allocations: 4 kB / 393.5 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.777e-05/0.02066, allocations: 23.67 kB / 393.5 MB, free: 8.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001786/0.02244, allocations: 0.722 MB / 394.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/0.02457, allocations: 5.587 MB / 399.8 MB, free: 2.285 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/0.02489, allocations: 79.62 kB / 399.9 MB, free: 2.207 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.571e-05/0.02496, allocations: 40.03 kB / 400 MB, free: 2.168 MB / 314.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: 14 (inverter.modulator.t0,$PRE.inverter.modulator.t0,inverter.modulator.sigdel_t,$PRE.inverter.modulator.sigdel_t,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002099/0.02517, allocations: 202.4 kB / 400.2 MB, free: 1.961 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.222e-05/0.02525, allocations: 67.61 kB / 400.2 MB, free: 1.895 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005088/0.02576, allocations: 426.2 kB / 400.6 MB, free: 1.461 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.02577, allocations: 12 kB / 400.7 MB, free: 1.449 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.02577, allocations: 0 / 400.7 MB, free: 1.449 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.02578, allocations: 3.984 kB / 400.7 MB, free: 1.445 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.02681, allocations: 1.293 MB / 401.9 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.02682, allocations: 3.938 kB / 402 MB, free: 80 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003065/0.02988, allocations: 0.8389 MB / 402.8 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.353e-05/0.02996, allocations: 23.67 kB / 402.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-05/0.03002, allocations: 12 kB / 402.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008334/0.03085, allocations: 1.717 MB / 404.5 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.03086, allocations: 4 kB / 404.5 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.03187, allocations: 0.7334 MB / 405.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002321/0.03211, allocations: 111.5 kB / 405.4 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.803e-05/0.0322, allocations: 23.98 kB / 405.4 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003932/0.0326, allocations: 56 kB / 405.5 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.03275, allocations: 59.84 kB / 405.5 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.922e-05/0.0328, allocations: 15.98 kB / 405.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001536/0.03296, allocations: 247 kB / 405.8 MB, free: 12.08 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.03296, allocations: 0 / 405.8 MB, free: 12.08 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005352/0.03349, allocations: 183.7 kB / 406 MB, free: 11.9 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i) * Number of discrete variables: 8 ($whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.sigdel_t,inverter.modulator.t0) * Number of discrete states: 6 (inverter.modulator.t0,inverter.modulator.sigdel_t,inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000161/0.03365, allocations: 139 kB / 406.1 MB, free: 11.76 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002343/0.036, allocations: 1.224 MB / 407.3 MB, free: 10.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.036, allocations: 0 / 407.3 MB, free: 10.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.03705, allocations: 0.5813 MB / 407.9 MB, free: 9.898 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004967/0.03755, allocations: 142.9 kB / 408 MB, free: 9.766 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.04009, allocations: 1.332 MB / 409.4 MB, free: 8.371 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.04025, allocations: 169.9 kB / 409.5 MB, free: 8.184 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003541/0.0406, allocations: 76.53 kB / 409.6 MB, free: 8.109 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003889/0.04099, allocations: 186.1 kB / 409.8 MB, free: 7.926 MB / 330.7 MB Notification: Performance of SimCode: time 1.403e-06/0.04099, allocations: 0 / 409.8 MB, free: 7.926 MB / 330.7 MB Notification: Performance of Templates: time 0.01486/0.05586, allocations: 9.33 MB / 419.1 MB, free: 14.71 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.373556593898684]