Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.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.0009311/0.0009311, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001068/0.001068, allocations: 170 kB / 23.95 MB, free: 0.6094 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 / 204.3 MB, free: 5.73 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.2465/0.2465, allocations: 29.4 MB / 290.1 MB, free: 2.426 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: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.053e-05/2.218e-05, allocations: 4.109 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.005613/0.005635, allocations: 6.223 MB / 436.4 MB, free: 7.332 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002674/0.008309, allocations: 1.577 MB / 438 MB, free: 5.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006062/0.008915, allocations: 35.75 kB / 438 MB, free: 5.715 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007029/0.009618, allocations: 178.5 kB / 438.2 MB, free: 5.539 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009506/0.01057, allocations: 405.4 kB / 438.6 MB, free: 5.141 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006446/0.01121, allocations: 235.5 kB / 438.8 MB, free: 4.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001248/0.01246, allocations: 1.102 MB / 439.9 MB, free: 3.805 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004348/0.0129, allocations: 302.8 kB / 440.2 MB, free: 3.496 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009077/0.0138, allocations: 0.6624 MB / 440.9 MB, free: 2.832 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006/0.0144, allocations: 430.9 kB / 441.3 MB, free: 2.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.981e-05/0.0145, allocations: 84 kB / 441.4 MB, free: 2.328 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.01463, allocations: 88 kB / 441.5 MB, free: 2.242 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002314/0.01486, allocations: 299.2 kB / 441.8 MB, free: 1.949 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002557/0.01511, allocations: 279.4 kB / 442.1 MB, free: 1.676 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008685/0.01598, allocations: 1.067 MB / 443.1 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.01599, allocations: 3.938 kB / 443.1 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.01599, allocations: 0 / 443.1 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.01601, allocations: 0 / 443.1 MB, free: 0.6016 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.1557/0.1717, allocations: 0.9412 MB / 444.1 MB, free: 54.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.1717, allocations: 16.58 kB / 444.1 MB, free: 54.36 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.744e-05/0.1718, allocations: 106.7 kB / 444.2 MB, free: 54.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.189e-05/0.1719, allocations: 79.56 kB / 444.3 MB, free: 54.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000707/0.1726, allocations: 0.5822 MB / 444.9 MB, free: 54.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.102e-05/0.1727, allocations: 188.9 kB / 445 MB, free: 53.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-05/0.1727, allocations: 62.55 kB / 445.1 MB, free: 53.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006824/0.1734, allocations: 0.7453 MB / 445.8 MB, free: 53.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1734, allocations: 2.734 kB / 445.8 MB, free: 53.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.1734, allocations: 25.72 kB / 445.9 MB, free: 53.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.1735, allocations: 18.66 kB / 445.9 MB, free: 53.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006154/0.1741, allocations: 0.6063 MB / 446.5 MB, free: 53.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.1758, allocations: 2.239 MB / 448.7 MB, free: 52.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000481/0.1763, allocations: 396.8 kB / 449.1 MB, free: 51.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.1765, allocations: 190.9 kB / 449.3 MB, free: 51.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.1765, allocations: 6.531 kB / 449.3 MB, free: 51.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002406/0.1768, allocations: 239.1 kB / 449.5 MB, free: 51.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=36): time 2.445e-06/0.1768, allocations: 2.094 kB / 449.5 MB, free: 51.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001496/0.1783, allocations: 0.8044 MB / 450.4 MB, free: 51.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.1783, allocations: 135.1 kB / 450.5 MB, free: 51.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.1786, allocations: 405.1 kB / 450.9 MB, free: 51.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.1786, allocations: 34.25 kB / 450.9 MB, free: 51.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.1787, allocations: 324.4 kB / 451.2 MB, free: 50.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/0.1787, allocations: 124.4 kB / 451.4 MB, free: 50.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.097e-05/0.1788, allocations: 76.98 kB / 451.4 MB, free: 50.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.453e-05/0.1788, allocations: 361 kB / 451.8 MB, free: 50.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.179, allocations: 138 kB / 451.9 MB, free: 50.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.1792, allocations: 251.6 kB / 452.2 MB, free: 50.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007456/0.1799, allocations: 0.6506 MB / 452.8 MB, free: 49.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.1799, allocations: 3.281 kB / 452.8 MB, free: 49.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005163/0.1804, allocations: 0.5212 MB / 453.3 MB, free: 49.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1804, allocations: 6.531 kB / 453.3 MB, free: 49.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1805, allocations: 3.906 kB / 453.3 MB, free: 49.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002346/0.1807, allocations: 156.6 kB / 453.5 MB, free: 49.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.1808, allocations: 74.81 kB / 453.6 MB, free: 49.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/0.1825, allocations: 2.134 MB / 455.7 MB, free: 47.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.1826, allocations: 63.38 kB / 455.8 MB, free: 47.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.1827, allocations: 20.61 kB / 455.8 MB, free: 47.76 MB / 410.7 MB Warning: Assuming fixed start value for the following 2 variables: chopper.modulator.t1:DISCRETE(unit = \"s\" fixed = true protected = true ) type: Real chopper.modulator.t0:DISCRETE(unit = \"s\" fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 8 (system.initime,$whenCondition1,$PRE.chopper.modulator.t1,$PRE.chopper.modulator.t0,chopper.chopper.diode.on,chopper.modulator.t1,chopper.modulator.t0,chopper.modulator.gate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001855/0.1828, allocations: 243.9 kB / 456 MB, free: 47.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.1829, allocations: 44.69 kB / 456.1 MB, free: 47.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006091/0.1835, allocations: 482.6 kB / 456.5 MB, free: 47.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1835, allocations: 3.094 kB / 456.5 MB, free: 47.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.1835, allocations: 7.469 kB / 456.6 MB, free: 47.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1835, allocations: 3.328 kB / 456.6 MB, free: 47.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003934/0.1839, allocations: 0.6093 MB / 457.2 MB, free: 46.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1839, allocations: 3.219 kB / 457.2 MB, free: 46.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.184, allocations: 43.73 kB / 457.2 MB, free: 46.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002099/0.1842, allocations: 144.4 kB / 457.3 MB, free: 46.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.1842, allocations: 7.062 kB / 457.4 MB, free: 46.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/0.1857, allocations: 2.131 MB / 459.5 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1857, allocations: 6.062 kB / 459.5 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007813/0.1865, allocations: 0.6856 MB / 460.2 MB, free: 44.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.074e-05/0.1866, allocations: 85.45 kB / 460.3 MB, free: 44.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.1866, allocations: 7.188 kB / 460.3 MB, free: 44.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.1867, allocations: 20 kB / 460.3 MB, free: 44.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.48e-05/0.1868, allocations: 41.97 kB / 460.3 MB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.1868, allocations: 6.594 kB / 460.3 MB, free: 44.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001585/0.187, allocations: 282 kB / 460.6 MB, free: 44.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.187, allocations: 0 / 460.6 MB, free: 44.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003817/0.1874, allocations: 167.1 kB / 460.8 MB, free: 44.58 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (meterDCin.pav,meterDCout.pav,load.i) * Number of discrete variables: 6 ($whenCondition1,chopper.modulator.gate,chopper.modulator.t0,chopper.modulator.t1,chopper.chopper.diode.on,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009472/0.1883, allocations: 1.238 MB / 462 MB, free: 43.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000627/0.1889, allocations: 0.4884 MB / 462.5 MB, free: 43.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1889, allocations: 0 / 462.5 MB, free: 43.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002591/0.1892, allocations: 325.6 kB / 462.8 MB, free: 43.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.1896, allocations: 152.5 kB / 463 MB, free: 43.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00367/0.1933, allocations: 4.487 MB / 467.5 MB, free: 40.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/0.1935, allocations: 333 kB / 467.8 MB, free: 40.47 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001819/0.1936, allocations: 84.81 kB / 467.9 MB, free: 40.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.1938, allocations: 195.2 kB / 468.1 MB, free: 40.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.563e-06/0.1938, allocations: 4 kB / 468.1 MB, free: 40.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/0.2211, allocations: 14.19 MB / 482.3 MB, free: 38.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.852/8.073, allocations: 5.328 kB / 482.3 MB, free: 38.18 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.205884997732937] Failed to read output from testmodel.py, exit status != 0: 8.167665541172028 8.180142627 8.161373041 Calling exit ...