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.001388/0.001388, allocations: 120 kB / 18.49 MB, free: 4.562 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.001704/0.001704, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.541/1.541, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.252/0.252, allocations: 38.5 MB / 349.4 MB, free: 2.594 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.AC1ph_DC.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToLoad",fmuType="cs",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.001926/0.001926, allocations: 75.88 kB / 487.8 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1176, allocations: 62.41 MB / 0.5373 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.008183/0.1258, allocations: 6.048 MB / 0.5433 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003222/0.1291, allocations: 1.586 MB / 0.5448 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004151/0.1295, allocations: 31.69 kB / 0.5448 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000533/0.13, allocations: 138.9 kB / 0.545 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009453/0.1309, allocations: 374.1 kB / 0.5453 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006689/0.1316, allocations: 307.5 kB / 0.5456 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001467/0.1331, allocations: 1.344 MB / 0.5469 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004339/0.1335, allocations: 292.6 kB / 0.5472 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008559/0.1344, allocations: 0.5568 MB / 0.5478 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007921/0.1352, allocations: 0.5803 MB / 0.5483 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.1353, allocations: 92 kB / 0.5484 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.1355, allocations: 88 kB / 0.5485 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003721/0.1358, allocations: 355.1 kB / 0.5488 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004958/0.1363, allocations: 418.2 kB / 0.5492 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.1376, allocations: 1.063 MB / 0.5503 GB, free: 10.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1376, allocations: 0 / 0.5503 GB, free: 10.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1376, allocations: 0 / 0.5503 GB, free: 10.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.73e-05/0.1376, allocations: 0 / 0.5503 GB, free: 10.27 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.00264/0.1403, allocations: 1.207 MB / 0.5514 GB, free: 9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1403, allocations: 8.031 kB / 0.5515 GB, free: 8.992 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.23e-05/0.1403, allocations: 17.5 kB / 0.5515 GB, free: 8.977 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00014/0.1405, allocations: 110.7 kB / 0.5516 GB, free: 8.859 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.1406, allocations: 88.47 kB / 0.5517 GB, free: 8.773 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.142, allocations: 0.6631 MB / 0.5523 GB, free: 8.066 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000475/0.1424, allocations: 347 kB / 0.5526 GB, free: 7.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.1426, allocations: 56 kB / 0.5527 GB, free: 7.625 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.1449, allocations: 1.042 MB / 0.5537 GB, free: 6.547 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.1449, allocations: 3.938 kB / 0.5537 GB, free: 6.543 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.666e-05/0.145, allocations: 20 kB / 0.5537 GB, free: 6.523 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.145, allocations: 16 kB / 0.5537 GB, free: 6.508 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002918/0.1479, allocations: 1.093 MB / 0.5548 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006342/0.1542, allocations: 3.202 MB / 0.5579 GB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002534/0.1568, allocations: 0.7177 MB / 0.5586 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/0.1583, allocations: 0.509 MB / 0.5591 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.68e-05/0.1584, allocations: 4.438 kB / 0.5591 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001729/0.1601, allocations: 0.6303 MB / 0.5598 GB, free: 204 kB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 2.504e-06/0.1601, allocations: 0 / 0.5598 GB, free: 204 kB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.004382/0.1645, allocations: 1.359 MB / 0.5611 GB, free: 14.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.1646, allocations: 152.5 kB / 0.5612 GB, free: 14.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005153/0.1651, allocations: 385.9 kB / 0.5616 GB, free: 14.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.621e-05/0.1652, allocations: 45.73 kB / 0.5616 GB, free: 14.22 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/0.1655, allocations: 296.9 kB / 0.5619 GB, free: 13.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/0.1657, allocations: 170.6 kB / 0.5621 GB, free: 13.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/0.1659, allocations: 118.2 kB / 0.5622 GB, free: 13.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.1661, allocations: 358.8 kB / 0.5625 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.1673, allocations: 456.8 kB / 0.563 GB, free: 12.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/0.1686, allocations: 0.5562 MB / 0.5635 GB, free: 12.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002166/0.1708, allocations: 0.8934 MB / 0.5644 GB, free: 11.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1708, allocations: 0 / 0.5644 GB, free: 11.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002711/0.1735, allocations: 1.09 MB / 0.5655 GB, free: 10.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.259e-05/0.1736, allocations: 53.69 kB / 0.5655 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.1736, allocations: 7.984 kB / 0.5655 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.1736, allocations: 4 kB / 0.5655 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006561/0.1802, allocations: 1.108 MB / 0.5666 GB, free: 9.016 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009509/0.1897, allocations: 4.701 MB / 0.5712 GB, free: 4.035 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008768/0.1905, allocations: 111.6 kB / 0.5713 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.375e-05/0.1906, allocations: 31.98 kB / 0.5713 GB, free: 3.895 MB / 430.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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0004686/0.1911, allocations: 255.3 kB / 0.5716 GB, free: 3.637 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.1912, allocations: 55.66 kB / 0.5716 GB, free: 3.582 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002923/0.1941, allocations: 0.9849 MB / 0.5726 GB, free: 2.586 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.1941, allocations: 11.98 kB / 0.5726 GB, free: 2.574 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.1942, allocations: 0 / 0.5726 GB, free: 2.574 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.1942, allocations: 4 kB / 0.5726 GB, free: 2.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004793/0.199, allocations: 2.13 MB / 0.5747 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.199, allocations: 0 / 0.5747 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007807/0.2068, allocations: 1.291 MB / 0.5759 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/0.2068, allocations: 4 kB / 0.5759 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.401e-05/0.2069, allocations: 15.98 kB / 0.576 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/0.2069, allocations: 4 kB / 0.576 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/0.2069, allocations: 7.938 kB / 0.576 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004618/0.2115, allocations: 1.694 MB / 0.5776 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003659/0.2119, allocations: 204.6 kB / 0.5778 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.212, allocations: 28 kB / 0.5779 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00076/0.2127, allocations: 91.88 kB / 0.5779 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002504/0.213, allocations: 95.78 kB / 0.578 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.594e-05/0.213, allocations: 27.98 kB / 0.5781 GB, free: 12.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003409/0.2134, allocations: 267.2 kB / 0.5783 GB, free: 12.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2134, allocations: 3.938 kB / 0.5783 GB, free: 12.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006883/0.2141, allocations: 183.7 kB / 0.5785 GB, free: 12.41 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (52): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.005121/0.2192, allocations: 2.272 MB / 0.5807 GB, free: 10.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008517/0.2277, allocations: 2.019 MB / 0.5827 GB, free: 8.051 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.2277, allocations: 0 / 0.5827 GB, free: 8.051 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004079/0.2318, allocations: 0.9409 MB / 0.5836 GB, free: 7.109 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000878/0.2327, allocations: 141.1 kB / 0.5837 GB, free: 6.977 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/0.2468, allocations: 6.584 MB / 0.5902 GB, free: 188 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2749/0.5217, allocations: 0.9218 MB / 0.5911 GB, free: 52.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006487/0.5223, allocations: 158.7 kB / 0.5912 GB, free: 52.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/0.5227, allocations: 197.8 kB / 0.5914 GB, free: 52.06 MB / 446.1 MB Notification: Performance of SimCode: time 1.493e-06/0.5227, allocations: 0 / 0.5914 GB, free: 52.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04649/0.5692, allocations: 13.81 MB / 0.6049 GB, free: 49.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/13.86, allocations: 7.156 kB / 0.6049 GB, free: 49.01 MB / 446.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToLoad_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToLoad.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.026319154014345] Failed to read output from testmodel.py, exit status != 0: 14.025665053050034 14.04901702 13.907699094 Calling exit ...