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.0007925/0.0007925, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.005064/0.005064, allocations: 165.1 kB / 24.7 MB, free: 9.426 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.8863/0.8863, allocations: 177.2 MB / 205 MB, free: 5.719 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.2324/0.2324, allocations: 29.41 MB / 290.8 MB, free: 2.43 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.793e-06/1.793e-06, allocations: 0 / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.828e-05/4.008e-05, allocations: 12.05 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.006527/0.006567, allocations: 5.705 MB / 437.2 MB, free: 7.352 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002435/0.009002, allocations: 1.523 MB / 438.7 MB, free: 5.824 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003336/0.009336, allocations: 35.69 kB / 438.7 MB, free: 5.789 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004987/0.009835, allocations: 142.8 kB / 438.9 MB, free: 5.648 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007436/0.01058, allocations: 373.8 kB / 439.2 MB, free: 5.281 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006216/0.0112, allocations: 335.3 kB / 439.6 MB, free: 4.953 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001232/0.01243, allocations: 1.348 MB / 440.9 MB, free: 3.602 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000336/0.01277, allocations: 221.2 kB / 441.1 MB, free: 3.379 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.01384, allocations: 0.7365 MB / 441.9 MB, free: 2.641 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007654/0.01461, allocations: 0.5105 MB / 442.4 MB, free: 2.129 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.01472, allocations: 92 kB / 442.5 MB, free: 2.039 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.01484, allocations: 92 kB / 442.6 MB, free: 1.949 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002733/0.01511, allocations: 367.1 kB / 442.9 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002855/0.01539, allocations: 299.4 kB / 443.2 MB, free: 1.297 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.01669, allocations: 1.118 MB / 444.3 MB, free: 180 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.0167, allocations: 0 / 444.3 MB, free: 180 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.0167, allocations: 0 / 444.3 MB, free: 180 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.01671, allocations: 0 / 444.3 MB, free: 180 kB / 410.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.1904/0.2071, allocations: 1.133 MB / 445.5 MB, free: 55.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.2072, allocations: 13.52 kB / 445.5 MB, free: 55.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.2073, allocations: 84.88 kB / 445.6 MB, free: 55.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007398/0.208, allocations: 0.5927 MB / 446.2 MB, free: 54.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002479/0.2083, allocations: 0.7406 MB / 446.9 MB, free: 54.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.627e-05/0.2083, allocations: 61.41 kB / 447 MB, free: 54.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.2095, allocations: 1.037 MB / 448 MB, free: 53.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.2095, allocations: 6.5 kB / 448 MB, free: 53.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.252e-05/0.2096, allocations: 22.34 kB / 448 MB, free: 53.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.2096, allocations: 19.83 kB / 448 MB, free: 53.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/0.2109, allocations: 1.09 MB / 449.1 MB, free: 53.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002431/0.2133, allocations: 2.879 MB / 452 MB, free: 51.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.2144, allocations: 0.7298 MB / 452.7 MB, free: 51.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007/0.2151, allocations: 0.5172 MB / 453.3 MB, free: 51.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/0.2151, allocations: 3.719 kB / 453.3 MB, free: 51.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007273/0.2158, allocations: 0.6291 MB / 453.9 MB, free: 50.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=49): time 1.973e-06/0.2158, allocations: 0 / 453.9 MB, free: 50.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.002135/0.218, allocations: 1.406 MB / 455.3 MB, free: 50.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.218, allocations: 145.8 kB / 455.4 MB, free: 50.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.2182, allocations: 364 kB / 455.8 MB, free: 50.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.2183, allocations: 39.89 kB / 455.8 MB, free: 50.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.2184, allocations: 311.2 kB / 456.1 MB, free: 49.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.845e-05/0.2185, allocations: 161.7 kB / 456.3 MB, free: 49.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.2186, allocations: 121.8 kB / 456.4 MB, free: 49.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.314e-05/0.2186, allocations: 354.3 kB / 456.8 MB, free: 49.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005384/0.2192, allocations: 494.3 kB / 457.2 MB, free: 49.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005446/0.2197, allocations: 0.5844 MB / 457.8 MB, free: 48.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009444/0.2207, allocations: 0.8801 MB / 458.7 MB, free: 48.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.2207, allocations: 4 kB / 458.7 MB, free: 48.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001234/0.2219, allocations: 1.137 MB / 459.8 MB, free: 48.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.984e-05/0.2219, allocations: 52.97 kB / 459.9 MB, free: 48.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.222, allocations: 3.094 kB / 459.9 MB, free: 48.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001227/0.2221, allocations: 28.58 kB / 459.9 MB, free: 47.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002582/0.2247, allocations: 1.107 MB / 461 MB, free: 47.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004142/0.2288, allocations: 5.687 MB / 466.7 MB, free: 43.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004762/0.2293, allocations: 105.8 kB / 466.8 MB, free: 43.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.799e-05/0.2293, allocations: 39.47 kB / 466.9 MB, free: 43.71 MB / 410.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.0003085/0.2296, allocations: 256.2 kB / 467.1 MB, free: 43.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.523e-05/0.2297, allocations: 49.75 kB / 467.2 MB, free: 43.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.2311, allocations: 1.006 MB / 468.2 MB, free: 43.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.2311, allocations: 6.438 kB / 468.2 MB, free: 43.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.2311, allocations: 3.469 kB / 468.2 MB, free: 43.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.2311, allocations: 0 / 468.2 MB, free: 43.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002138/0.2333, allocations: 1.93 MB / 470.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.2333, allocations: 3.125 kB / 470.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003139/0.2364, allocations: 1.28 MB / 471.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.19e-05/0.2365, allocations: 19.48 kB / 471.4 MB, free: 42.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/0.2365, allocations: 17.16 kB / 471.4 MB, free: 42.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004327/0.2369, allocations: 1.261 MB / 472.7 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.237, allocations: 6.969 kB / 472.7 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/0.239, allocations: 1.739 MB / 474.4 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/0.2392, allocations: 127.9 kB / 474.6 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.491e-05/0.2393, allocations: 31.09 kB / 474.6 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/0.2396, allocations: 95 kB / 474.7 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.2398, allocations: 94.16 kB / 474.8 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.2398, allocations: 21.02 kB / 474.8 MB, free: 40.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001579/0.2399, allocations: 242.1 kB / 475 MB, free: 40.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2399, allocations: 0 / 475 MB, free: 40.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005056/0.2405, allocations: 188.9 kB / 475.2 MB, free: 40.04 MB / 410.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.0001468/0.2406, allocations: 129.3 kB / 475.3 MB, free: 39.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003661/0.2443, allocations: 2.175 MB / 477.5 MB, free: 39.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.2443, allocations: 0 / 477.5 MB, free: 39.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001648/0.2459, allocations: 1.035 MB / 478.5 MB, free: 39.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.2464, allocations: 119.4 kB / 478.7 MB, free: 39.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.2484, allocations: 1.566 MB / 480.2 MB, free: 38.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.2486, allocations: 329.2 kB / 480.6 MB, free: 38.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.2488, allocations: 49.34 kB / 480.6 MB, free: 38.17 MB / 410.7 MB Notification: Performance of SimCode: time 1.603e-06/0.2488, allocations: 0 / 480.6 MB, free: 38.17 MB / 410.7 MB Notification: Performance of Templates: time 0.01818/0.267, allocations: 13.69 MB / 494.3 MB, free: 34.93 MB / 410.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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.201307761482894] Failed to read output from testmodel.py, exit status != 0: 0.27385570108890533 0.28171034699999997 0.263441593 Calling exit ...