Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.001667/0.001667, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.00205/0.00205, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.582/1.582, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.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.1921/0.1921, allocations: 38.5 MB / 348.7 MB, free: 2.582 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 67.91 kB / 487.1 MB, free: 22.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1132, allocations: 62.42 MB / 0.5367 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.008955/0.1222, allocations: 6.56 MB / 0.5431 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005133/0.1273, allocations: 2.5 MB / 0.5455 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000574/0.1279, allocations: 35.69 kB / 0.5456 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.1294, allocations: 445.4 kB / 0.546 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001619/0.131, allocations: 0.5951 MB / 0.5466 GB, free: 13.37 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.1322, allocations: 499 kB / 0.547 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002396/0.1346, allocations: 1.957 MB / 0.5489 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001117/0.1357, allocations: 0.7283 MB / 0.5497 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001711/0.1374, allocations: 0.7985 MB / 0.5504 GB, free: 9.375 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002083/0.1395, allocations: 1.029 MB / 0.5514 GB, free: 8.344 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00039/0.1399, allocations: 163.9 kB / 0.5516 GB, free: 8.184 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/0.1415, allocations: 0.6826 MB / 0.5523 GB, free: 7.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008674/0.1424, allocations: 0.6509 MB / 0.5529 GB, free: 6.848 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.1434, allocations: 0.6692 MB / 0.5536 GB, free: 6.176 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003379/0.1468, allocations: 2.048 MB / 0.5556 GB, free: 4.121 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.1468, allocations: 0 / 0.5556 GB, free: 4.121 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.1468, allocations: 4 kB / 0.5556 GB, free: 4.117 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.762e-05/0.1469, allocations: 4 kB / 0.5556 GB, free: 4.113 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.00589/0.1528, allocations: 1.934 MB / 0.5575 GB, free: 2.094 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.1528, allocations: 8.031 kB / 0.5575 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000286/0.1531, allocations: 168.4 kB / 0.5576 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009982/0.1541, allocations: 200.1 kB / 0.5578 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002551/0.1567, allocations: 0.9716 MB / 0.5588 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007467/0.1574, allocations: 0.5064 MB / 0.5593 GB, free: 128 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003545/0.1578, allocations: 99.94 kB / 0.5594 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00471/0.1625, allocations: 2.015 MB / 0.5613 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.1625, allocations: 4 kB / 0.5613 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/0.1627, allocations: 32 kB / 0.5614 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002699/0.1629, allocations: 89.94 kB / 0.5614 GB, free: 13.85 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005822/0.1688, allocations: 2.244 MB / 0.5636 GB, free: 11.6 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0117/0.1805, allocations: 5.676 MB / 0.5692 GB, free: 5.812 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005131/0.1856, allocations: 1.699 MB / 0.5708 GB, free: 4.078 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002874/0.1885, allocations: 1.062 MB / 0.5719 GB, free: 3.008 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.1886, allocations: 13 kB / 0.5719 GB, free: 2.996 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003333/0.1919, allocations: 1.391 MB / 0.5732 GB, free: 1.582 MB / 430.1 MB Notification: Performance of pre-optimization done (n=123): time 3.076e-06/0.1919, allocations: 0 / 0.5732 GB, free: 1.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.0155/0.2074, allocations: 5.655 MB / 0.5788 GB, free: 11.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.581e-05/0.2075, allocations: 98.09 kB / 0.5789 GB, free: 11.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000707/0.2082, allocations: 0.4902 MB / 0.5793 GB, free: 11.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000207/0.2084, allocations: 53.69 kB / 0.5794 GB, free: 11.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/0.2088, allocations: 373.5 kB / 0.5797 GB, free: 10.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005104/0.2093, allocations: 436.3 kB / 0.5802 GB, free: 10.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004851/0.2098, allocations: 230.9 kB / 0.5804 GB, free: 10.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002384/0.21, allocations: 390.8 kB / 0.5808 GB, free: 9.777 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002239/0.2123, allocations: 1.025 MB / 0.5818 GB, free: 8.754 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002481/0.2148, allocations: 1.176 MB / 0.5829 GB, free: 7.539 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004922/0.2197, allocations: 2.047 MB / 0.5849 GB, free: 5.445 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.2197, allocations: 0 / 0.5849 GB, free: 5.445 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.01258/0.2323, allocations: 3.88 MB / 0.5887 GB, free: 1.547 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.2324, allocations: 57.67 kB / 0.5887 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.2324, allocations: 8 kB / 0.5888 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2501/0.4825, allocations: 2.074 MB / 0.5908 GB, free: 51.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.4836, allocations: 187 kB / 0.591 GB, free: 51.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02908/0.5127, allocations: 11.31 MB / 0.602 GB, free: 48.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.5141, allocations: 165.7 kB / 0.6022 GB, free: 48.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/0.5143, allocations: 76.22 kB / 0.6022 GB, free: 48.07 MB / 446.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: 28 (inverter.modulator.t0[3],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[1],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.gates[6],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[5],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,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 101 * Array equations: 3 * Algorithm blocks: 1 * 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 {(6,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0006247/0.5149, allocations: 372.6 kB / 0.6026 GB, free: 47.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/0.5151, allocations: 91.02 kB / 0.6027 GB, free: 47.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005621/0.5207, allocations: 2.357 MB / 0.605 GB, free: 47.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.653e-05/0.5208, allocations: 30.31 kB / 0.605 GB, free: 47.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.5208, allocations: 7.094 kB / 0.605 GB, free: 47.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.5208, allocations: 8.141 kB / 0.605 GB, free: 47.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008645/0.5294, allocations: 4.1 MB / 0.609 GB, free: 45.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/0.5295, allocations: 2.406 kB / 0.609 GB, free: 45.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01109/0.5405, allocations: 2.013 MB / 0.611 GB, free: 44.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-05/0.5406, allocations: 10.88 kB / 0.611 GB, free: 44.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002949/0.5409, allocations: 36.34 kB / 0.611 GB, free: 44.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-05/0.5409, allocations: 9.438 kB / 0.611 GB, free: 44.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.5409, allocations: 2.75 kB / 0.611 GB, free: 44.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007749/0.5486, allocations: 3.87 MB / 0.6148 GB, free: 42.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005659/0.5492, allocations: 347.5 kB / 0.6152 GB, free: 42.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002174/0.5494, allocations: 89.61 kB / 0.6152 GB, free: 42.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/0.5508, allocations: 186 kB / 0.6154 GB, free: 42.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003835/0.5512, allocations: 197.9 kB / 0.6156 GB, free: 42.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.5513, allocations: 45.03 kB / 0.6157 GB, free: 42.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000344/0.5516, allocations: 347.1 kB / 0.616 GB, free: 41.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5516, allocations: 0 / 0.616 GB, free: 41.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001106/0.5527, allocations: 353.8 kB / 0.6163 GB, free: 41.43 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],pqLoad.psi[1],pqLoad.psi[2],pqLoad.psi[3],pqLoad.Z[1],pqLoad.Z[2]) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3]) * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 96 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007817/0.5606, allocations: 4.534 MB / 0.6207 GB, free: 36.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006238/0.5668, allocations: 2.815 MB / 0.6235 GB, free: 34.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.5668, allocations: 0 / 0.6235 GB, free: 34.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005909/0.5727, allocations: 1.856 MB / 0.6253 GB, free: 32.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.5738, allocations: 183.8 kB / 0.6255 GB, free: 32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03216/0.606, allocations: 15.65 MB / 0.6408 GB, free: 16.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005199/0.6065, allocations: 1.144 MB / 0.6419 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009282/0.6074, allocations: 314.7 kB / 0.6422 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006011/0.608, allocations: 343.3 kB / 0.6425 GB, free: 14.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.608, allocations: 4 kB / 0.6425 GB, free: 14.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07351/0.6816, allocations: 32.89 MB / 0.6746 GB, free: 13.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/14.07, allocations: 18.38 kB / 0.6747 GB, free: 13.59 MB / 478.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToLoad.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.557321735992446] Failed to read output from testmodel.py, exit status != 0: 14.181739394000033 14.2097285 14.057553506 Calling exit ...