Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.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.0008672/0.0008672, allocations: 79.7 kB / 20.67 MB, free: 3.879 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.0009052/0.0009052, allocations: 170 kB / 23.95 MB, free: 0.6016 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.8976/0.8976, 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.2187/0.2187, allocations: 29.4 MB / 290.1 MB, free: 2.445 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.AC3ph.Elementary.Inverter,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Inverter,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Inverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.231e-05, allocations: 2.281 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.006312/0.006334, allocations: 6.582 MB / 436.8 MB, free: 6.973 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003155/0.00949, allocations: 1.959 MB / 438.8 MB, free: 5.008 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005637/0.01005, allocations: 43.62 kB / 438.8 MB, free: 4.965 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009732/0.01103, allocations: 489.5 kB / 439.3 MB, free: 4.484 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.01218, allocations: 0.5905 MB / 439.9 MB, free: 3.891 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008423/0.01302, allocations: 426.9 kB / 440.3 MB, free: 3.473 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001291/0.01431, allocations: 1.406 MB / 441.7 MB, free: 2.062 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007304/0.01504, allocations: 0.5843 MB / 442.3 MB, free: 1.465 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.01611, allocations: 0.8454 MB / 443.1 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1759/0.192, allocations: 0.6429 MB / 443.8 MB, free: 44.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003252/0.1923, allocations: 99.38 kB / 443.9 MB, free: 44.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007742/0.1931, allocations: 0.5135 MB / 444.4 MB, free: 44.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000359/0.1934, allocations: 0.5247 MB / 444.9 MB, free: 44.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004037/0.1938, allocations: 407.8 kB / 445.3 MB, free: 44.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001506/0.1954, allocations: 1.604 MB / 446.9 MB, free: 44.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1954, allocations: 0 / 446.9 MB, free: 44.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1954, allocations: 0 / 446.9 MB, free: 44.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.1954, allocations: 3 kB / 446.9 MB, free: 44.44 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.001922/0.1973, allocations: 1.515 MB / 448.4 MB, free: 43.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1973, allocations: 15.48 kB / 448.4 MB, free: 43.68 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001222/0.1975, allocations: 151.8 kB / 448.6 MB, free: 43.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005174/0.198, allocations: 202.5 kB / 448.8 MB, free: 43.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007421/0.1987, allocations: 0.6635 MB / 449.4 MB, free: 43.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.1989, allocations: 333 kB / 449.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.199, allocations: 111.9 kB / 449.9 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.2005, allocations: 1.534 MB / 451.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/0.2005, allocations: 6.844 kB / 451.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.217e-05/0.2006, allocations: 37.69 kB / 451.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.703e-05/0.2007, allocations: 63.88 kB / 451.5 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.2019, allocations: 1.164 MB / 452.7 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003341/0.2053, allocations: 4.487 MB / 457.2 MB, free: 40.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.2067, allocations: 0.9768 MB / 458.1 MB, free: 39.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006225/0.2073, allocations: 0.5149 MB / 458.7 MB, free: 39.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.2073, allocations: 10.22 kB / 458.7 MB, free: 39.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007334/0.2081, allocations: 0.7185 MB / 459.4 MB, free: 39.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=80): time 2.364e-06/0.2081, allocations: 0 / 459.4 MB, free: 39.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=81): time 0.00365/0.2117, allocations: 2.99 MB / 462.4 MB, free: 38.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.2118, allocations: 130.5 kB / 462.5 MB, free: 38.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004574/0.2122, allocations: 0.5953 MB / 463.1 MB, free: 37.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.662e-05/0.2123, allocations: 53.88 kB / 463.2 MB, free: 37.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.2125, allocations: 464.1 kB / 463.6 MB, free: 37.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.2126, allocations: 287.5 kB / 463.9 MB, free: 37.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.2127, allocations: 199.5 kB / 464.1 MB, free: 37.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.623e-05/0.2128, allocations: 396.4 kB / 464.5 MB, free: 36.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000422/0.2132, allocations: 0.5211 MB / 465 MB, free: 36.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004759/0.2137, allocations: 0.7918 MB / 465.8 MB, free: 35.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008691/0.2146, allocations: 1.252 MB / 467 MB, free: 35.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.2146, allocations: 2.625 kB / 467 MB, free: 35.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001402/0.216, allocations: 1.547 MB / 468.6 MB, free: 34.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.752e-05/0.216, allocations: 62.03 kB / 468.6 MB, free: 34.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00102/0.217, allocations: 1.273 MB / 469.9 MB, free: 34.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00025/0.2173, allocations: 120.8 kB / 470 MB, free: 34.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.2177, allocations: 196.4 kB / 470.2 MB, free: 34.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.219, allocations: 3.136 MB / 473.4 MB, free: 31.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004073/0.2194, allocations: 76.92 kB / 473.4 MB, free: 31.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.841e-05/0.2195, allocations: 78.47 kB / 473.5 MB, free: 31.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 28 (system.initime,ac_dc.modulator.t0[3],$PRE.ac_dc.modulator.t0[3],ac_dc.modulator.t0[2],$PRE.ac_dc.modulator.t0[2],ac_dc.modulator.t0[1],$PRE.ac_dc.modulator.t0[1],ac_dc.modulator.sigdel_t[3],$PRE.ac_dc.modulator.sigdel_t[3],ac_dc.modulator.sigdel_t[2],$PRE.ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[1],$PRE.ac_dc.modulator.sigdel_t[1],ac_dc.modulator.gates[6],$PRE.ac_dc.modulator.gates[6],ac_dc.modulator.gates[5],$PRE.ac_dc.modulator.gates[5],ac_dc.modulator.gates[4],$PRE.ac_dc.modulator.gates[4],ac_dc.modulator.gates[3],$PRE.ac_dc.modulator.gates[3],ac_dc.modulator.gates[2],$PRE.ac_dc.modulator.gates[2],ac_dc.modulator.gates[1],$PRE.ac_dc.modulator.gates[1],$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 109 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004072/0.2199, allocations: 372 kB / 473.9 MB, free: 31.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.592e-05/0.22, allocations: 80.23 kB / 474 MB, free: 30.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.2214, allocations: 1.195 MB / 475.2 MB, free: 30.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/0.2214, allocations: 15.23 kB / 475.2 MB, free: 30.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2214, allocations: 2.906 kB / 475.2 MB, free: 30.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.2214, allocations: 3.469 kB / 475.2 MB, free: 30.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.2236, allocations: 2.245 MB / 477.4 MB, free: 29.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2236, allocations: 0 / 477.4 MB, free: 29.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003488/0.224, allocations: 146 kB / 477.6 MB, free: 29.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-05/0.224, allocations: 39.8 kB / 477.6 MB, free: 29.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/0.2241, allocations: 25.86 kB / 477.6 MB, free: 29.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004801/0.2245, allocations: 1.519 MB / 479.1 MB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2245, allocations: 3.562 kB / 479.2 MB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/0.2265, allocations: 1.852 MB / 481 MB, free: 27.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/0.2268, allocations: 168.6 kB / 481.2 MB, free: 27.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.2269, allocations: 78.06 kB / 481.2 MB, free: 27.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003492/0.2272, allocations: 88.88 kB / 481.3 MB, free: 27.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.243e-05/0.2273, allocations: 58.59 kB / 481.4 MB, free: 27.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/0.2274, allocations: 27.78 kB / 481.4 MB, free: 27.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003/0.2277, allocations: 404.5 kB / 481.8 MB, free: 27.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2277, allocations: 1.031 kB / 481.8 MB, free: 27.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000671/0.2283, allocations: 248.1 kB / 482.1 MB, free: 27.03 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,ac_dc.modulator.gates[1],ac_dc.modulator.gates[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.t0[1],ac_dc.modulator.t0[2],ac_dc.modulator.t0[3],system.initime) * Number of discrete states: 12 (ac_dc.modulator.t0[3],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.t0[2],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.t0[1],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.gates[1],ac_dc.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 63 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002444/0.2308, allocations: 2.463 MB / 484.5 MB, free: 25.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001733/0.2325, allocations: 1.513 MB / 486 MB, free: 25.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2325, allocations: 1.156 kB / 486 MB, free: 25.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007213/0.2332, allocations: 0.6204 MB / 486.6 MB, free: 24.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006162/0.2338, allocations: 176.5 kB / 486.8 MB, free: 24.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008556/0.2424, allocations: 9.147 MB / 496 MB, free: 20.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004975/0.2429, allocations: 0.5086 MB / 496.5 MB, free: 19.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005174/0.2434, allocations: 240.7 kB / 496.7 MB, free: 19.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003123/0.2437, allocations: 331.9 kB / 497 MB, free: 19.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.432e-06/0.2437, allocations: 0 / 497 MB, free: 19.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04077/0.2845, allocations: 20.29 MB / 0.5052 GB, free: 10.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.275/7.559, allocations: 2.953 kB / 0.5052 GB, free: 10.11 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Inverter_fmu --startTime=0 --stopTime=1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Inverter.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.038723533041775] Failed to read output from testmodel.py, exit status != 0: 7.650540198199451 7.657296962 7.460046256 Calling exit ...