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.001962/0.001962, allocations: 79.06 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002109/0.002109, allocations: 164.6 kB / 23.96 MB, free: 4.164 MB / 14.72 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.512/1.512, allocations: 177.2 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.1859/0.1859, allocations: 29.44 MB / 290.1 MB, free: 3.273 MB / 270.1 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.272e-06/1.272e-06, allocations: 0 / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.149e-05, allocations: 6.281 kB / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.008057/0.008078, allocations: 5.717 MB / 436.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003076/0.01115, allocations: 1.519 MB / 438 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004545/0.01161, allocations: 35.69 kB / 438 MB, free: 10.63 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005599/0.01217, allocations: 134.8 kB / 438.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.0132, allocations: 381.7 kB / 438.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007989/0.01399, allocations: 327.4 kB / 438.8 MB, free: 9.801 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001722/0.01572, allocations: 1.344 MB / 440.2 MB, free: 8.453 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004274/0.01614, allocations: 221.2 kB / 440.4 MB, free: 8.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/0.01764, allocations: 0.7326 MB / 441.1 MB, free: 7.496 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.01867, allocations: 0.5144 MB / 441.6 MB, free: 6.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002116/0.01888, allocations: 88 kB / 441.7 MB, free: 6.895 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002435/0.01913, allocations: 92 kB / 441.8 MB, free: 6.805 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004673/0.01959, allocations: 371.1 kB / 442.2 MB, free: 6.441 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000505/0.0201, allocations: 299.4 kB / 442.4 MB, free: 6.148 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.02144, allocations: 1.122 MB / 443.6 MB, free: 5.023 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.02144, allocations: 0 / 443.6 MB, free: 5.023 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.02144, allocations: 0 / 443.6 MB, free: 5.023 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.559e-05/0.02147, allocations: 0 / 443.6 MB, free: 5.023 MB / 366.1 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.002935/0.0244, allocations: 1.135 MB / 444.7 MB, free: 3.848 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.02445, allocations: 11.98 kB / 444.7 MB, free: 3.836 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002841/0.02474, allocations: 92.47 kB / 444.8 MB, free: 3.746 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00191/0.02665, allocations: 0.589 MB / 445.4 MB, free: 3.129 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009239/0.02757, allocations: 0.7486 MB / 446.1 MB, free: 2.234 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.02773, allocations: 56.38 kB / 446.2 MB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002603/0.03034, allocations: 1.043 MB / 447.2 MB, free: 1.102 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.03036, allocations: 4 kB / 447.2 MB, free: 1.098 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.61e-05/0.03044, allocations: 27.98 kB / 447.3 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/0.03046, allocations: 12 kB / 447.3 MB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1928/0.2233, allocations: 1.087 MB / 448.4 MB, free: 30.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004637/0.2279, allocations: 2.884 MB / 451.3 MB, free: 28.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/0.2301, allocations: 0.7194 MB / 452 MB, free: 28.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/0.2316, allocations: 0.5158 MB / 452.5 MB, free: 28.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.012e-05/0.2317, allocations: 7.125 kB / 452.5 MB, free: 28.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001531/0.2332, allocations: 0.6252 MB / 453.1 MB, free: 28.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 2.695e-06/0.2332, allocations: 0 / 453.1 MB, free: 28.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=49): time 0.004355/0.2375, allocations: 1.411 MB / 454.5 MB, free: 27.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.2376, allocations: 149.3 kB / 454.7 MB, free: 27.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003798/0.238, allocations: 361.6 kB / 455 MB, free: 27.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.375e-05/0.238, allocations: 39.5 kB / 455.1 MB, free: 27.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.2382, allocations: 296.6 kB / 455.4 MB, free: 27.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.2384, allocations: 175.6 kB / 455.5 MB, free: 27.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/0.2386, allocations: 113.5 kB / 455.6 MB, free: 27.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.797e-05/0.2387, allocations: 357.4 kB / 456 MB, free: 26.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.2398, allocations: 489.7 kB / 456.5 MB, free: 26.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.241, allocations: 0.5944 MB / 457.1 MB, free: 26.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00202/0.243, allocations: 0.8826 MB / 457.9 MB, free: 25.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.243, allocations: 1.125 kB / 457.9 MB, free: 25.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002581/0.2456, allocations: 1.135 MB / 459.1 MB, free: 25.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.827e-05/0.2456, allocations: 53.2 kB / 459.1 MB, free: 25.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.2456, allocations: 6.531 kB / 459.1 MB, free: 25.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001695/0.2458, allocations: 24.88 kB / 459.2 MB, free: 25.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006521/0.2523, allocations: 1.106 MB / 460.3 MB, free: 25.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008982/0.2613, allocations: 5.689 MB / 466 MB, free: 21.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008646/0.2622, allocations: 107.8 kB / 466.1 MB, free: 21.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.2623, allocations: 38.05 kB / 466.1 MB, free: 21.09 MB / 366.1 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.0004631/0.2628, allocations: 256.2 kB / 466.4 MB, free: 20.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.2629, allocations: 50.97 kB / 466.4 MB, free: 20.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002965/0.2658, allocations: 1.004 MB / 467.4 MB, free: 20.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.2658, allocations: 5.688 kB / 467.4 MB, free: 20.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2658, allocations: 1.062 kB / 467.4 MB, free: 20.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.2659, allocations: 8.453 kB / 467.4 MB, free: 20.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004079/0.2699, allocations: 1.921 MB / 469.3 MB, free: 19.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.453e-06/0.2699, allocations: 1.438 kB / 469.3 MB, free: 19.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007862/0.2778, allocations: 1.283 MB / 470.6 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001514/0.278, allocations: 25.94 kB / 470.7 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/0.2781, allocations: 20.7 kB / 470.7 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007564/0.2788, allocations: 1.26 MB / 471.9 MB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.2788, allocations: 1.469 kB / 471.9 MB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004929/0.2838, allocations: 1.734 MB / 473.7 MB, free: 16.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004597/0.2842, allocations: 129 kB / 473.8 MB, free: 16.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.2844, allocations: 27.33 kB / 473.8 MB, free: 16.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007723/0.2851, allocations: 95.59 kB / 473.9 MB, free: 16.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002498/0.2854, allocations: 98.05 kB / 474 MB, free: 16.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.324e-05/0.2854, allocations: 19.95 kB / 474 MB, free: 16.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002516/0.2857, allocations: 238 kB / 474.3 MB, free: 16.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2857, allocations: 0 / 474.3 MB, free: 16.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000864/0.2865, allocations: 191.2 kB / 474.4 MB, free: 16.17 MB / 366.1 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.0002087/0.2868, allocations: 143.2 kB / 474.6 MB, free: 16.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.008286/0.295, allocations: 2.175 MB / 476.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.295, allocations: 0 / 476.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003848/0.2989, allocations: 1.06 MB / 477.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008399/0.2997, allocations: 111 kB / 477.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003359/0.3031, allocations: 1.507 MB / 479.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.3034, allocations: 337.1 kB / 479.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004409/0.3038, allocations: 144.5 kB / 479.9 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/0.304, allocations: 40.48 kB / 479.9 MB, free: 11.96 MB / 366.1 MB Notification: Performance of SimCode: time 1.203e-06/0.304, allocations: 7.828 kB / 480 MB, free: 11.95 MB / 366.1 MB Notification: Performance of Templates: time 0.01277/0.3168, allocations: 8.491 MB / 488.4 MB, free: 3.582 MB / 366.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.227574713528156] Failed to read output from testmodel.py, exit status != 0: 0.32558414340019226 0.33968034900000005 0.31501347300000004 Calling exit ...