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.001337/0.001337, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.00138/0.00138, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.449/1.449, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.2136/0.2136, allocations: 38.54 MB / 353.3 MB, free: 12.55 MB / 286.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.002023/0.002023, allocations: 63.91 kB / 493.3 MB, free: 4.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3296, allocations: 62.46 MB / 0.5428 GB, free: 464 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.008745/0.3383, allocations: 6.175 MB / 0.5488 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003106/0.3414, allocations: 1.589 MB / 0.5503 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003645/0.3418, allocations: 30.31 kB / 0.5504 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005497/0.3423, allocations: 144.4 kB / 0.5505 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009494/0.3433, allocations: 373.2 kB / 0.5509 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007094/0.344, allocations: 316.5 kB / 0.5512 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001736/0.3457, allocations: 1.338 MB / 0.5525 GB, free: 8.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004625/0.3462, allocations: 240.1 kB / 0.5527 GB, free: 8.734 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.3472, allocations: 0.5662 MB / 0.5533 GB, free: 8.406 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009095/0.3481, allocations: 0.5796 MB / 0.5538 GB, free: 8.055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.3483, allocations: 91.09 kB / 0.5539 GB, free: 8.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.3485, allocations: 90.72 kB / 0.554 GB, free: 8.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003648/0.3488, allocations: 353 kB / 0.5543 GB, free: 7.816 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004459/0.3493, allocations: 405.6 kB / 0.5547 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.3505, allocations: 1.069 MB / 0.5558 GB, free: 6.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3505, allocations: 0 / 0.5558 GB, free: 6.781 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3505, allocations: 0 / 0.5558 GB, free: 6.781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.3505, allocations: 0 / 0.5558 GB, free: 6.781 MB / 398.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.00312/0.3536, allocations: 1.146 MB / 0.5569 GB, free: 5.949 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.3537, allocations: 13.23 kB / 0.5569 GB, free: 5.945 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.915e-05/0.3537, allocations: 15.5 kB / 0.5569 GB, free: 5.945 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001566/0.3539, allocations: 105.9 kB / 0.557 GB, free: 5.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.3541, allocations: 92.47 kB / 0.5571 GB, free: 5.781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.3555, allocations: 0.5897 MB / 0.5577 GB, free: 5.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007469/0.3563, allocations: 0.7483 MB / 0.5584 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.3564, allocations: 56 kB / 0.5585 GB, free: 4.211 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002497/0.3589, allocations: 1.039 MB / 0.5595 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.3589, allocations: 0 / 0.5595 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.811e-05/0.359, allocations: 35.98 kB / 0.5595 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.359, allocations: 12 kB / 0.5595 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002946/0.362, allocations: 1.089 MB / 0.5606 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005667/0.3676, allocations: 3.17 MB / 0.5637 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002383/0.37, allocations: 0.7216 MB / 0.5644 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/0.3715, allocations: 0.5051 MB / 0.5649 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.975e-05/0.3716, allocations: 8.422 kB / 0.5649 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001682/0.3733, allocations: 0.6264 MB / 0.5655 GB, free: 12.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 2.484e-06/0.3733, allocations: 0 / 0.5655 GB, free: 12.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.004179/0.3775, allocations: 1.367 MB / 0.5668 GB, free: 11.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002222/0.3777, allocations: 148.4 kB / 0.567 GB, free: 11.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000661/0.3783, allocations: 381.9 kB / 0.5673 GB, free: 10.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.551e-05/0.3784, allocations: 45.7 kB / 0.5674 GB, free: 10.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003713/0.3788, allocations: 297 kB / 0.5677 GB, free: 10.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002972/0.3791, allocations: 174.6 kB / 0.5678 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002625/0.3794, allocations: 118.3 kB / 0.5679 GB, free: 10.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002324/0.3796, allocations: 362.7 kB / 0.5683 GB, free: 9.891 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.3807, allocations: 453 kB / 0.5687 GB, free: 9.449 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.3819, allocations: 0.5565 MB / 0.5693 GB, free: 8.852 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002118/0.384, allocations: 0.8886 MB / 0.5701 GB, free: 7.922 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3841, allocations: 4 kB / 0.5701 GB, free: 7.918 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002593/0.3866, allocations: 1.084 MB / 0.5712 GB, free: 6.816 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.552e-05/0.3867, allocations: 56.66 kB / 0.5712 GB, free: 6.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3867, allocations: 4 kB / 0.5713 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.3867, allocations: 7.984 kB / 0.5713 GB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006148/0.3929, allocations: 1.108 MB / 0.5723 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00928/0.4022, allocations: 4.494 MB / 0.5767 GB, free: 0.918 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009636/0.4031, allocations: 115.6 kB / 0.5768 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/0.4033, allocations: 35.98 kB / 0.5769 GB, free: 0.7695 MB / 414.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.0006098/0.4039, allocations: 251.3 kB / 0.5771 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/0.4042, allocations: 51.66 kB / 0.5772 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002989/0.4071, allocations: 0.9888 MB / 0.5781 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.4071, allocations: 8 kB / 0.5781 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4072, allocations: 4 kB / 0.5781 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.4072, allocations: 3.984 kB / 0.5781 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004805/0.412, allocations: 2.104 MB / 0.5802 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.361e-06/0.412, allocations: 0 / 0.5802 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00755/0.4195, allocations: 1.276 MB / 0.5814 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.707e-05/0.4195, allocations: 7.984 kB / 0.5815 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/0.4197, allocations: 16 kB / 0.5815 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.194e-05/0.4197, allocations: 11.92 kB / 0.5815 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.4197, allocations: 3.938 kB / 0.5815 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004746/0.4244, allocations: 1.697 MB / 0.5831 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004274/0.4249, allocations: 123.6 kB / 0.5833 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/0.425, allocations: 31.98 kB / 0.5833 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000783/0.4258, allocations: 87.88 kB / 0.5834 GB, free: 9.977 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002457/0.4261, allocations: 99.77 kB / 0.5835 GB, free: 9.879 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.448e-05/0.4261, allocations: 16 kB / 0.5835 GB, free: 9.863 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003804/0.4265, allocations: 279.1 kB / 0.5837 GB, free: 9.594 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4265, allocations: 0 / 0.5837 GB, free: 9.594 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007657/0.4273, allocations: 183.7 kB / 0.5839 GB, free: 9.414 MB / 430.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.004842/0.4321, allocations: 2.267 MB / 0.5861 GB, free: 7.102 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008385/0.4405, allocations: 2.019 MB / 0.5881 GB, free: 5.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/0.4405, allocations: 4 kB / 0.5881 GB, free: 5.066 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004054/0.4445, allocations: 0.9445 MB / 0.589 GB, free: 4.121 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.4456, allocations: 133.5 kB / 0.5892 GB, free: 3.992 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/0.4601, allocations: 6.589 MB / 0.5956 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007946/0.4609, allocations: 0.9329 MB / 0.5965 GB, free: 12.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000591/0.4615, allocations: 156.6 kB / 0.5967 GB, free: 12.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005028/0.462, allocations: 199.4 kB / 0.5968 GB, free: 11.88 MB / 446.1 MB Notification: Performance of SimCode: time 1.302e-06/0.462, allocations: 0 / 0.5968 GB, free: 11.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05082/0.5128, allocations: 14.26 MB / 0.6108 GB, free: 13.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.11/14.63, allocations: 9.094 kB / 0.6108 GB, free: 13.8 MB / 462.1 MB " [Timeout remaining time 645] (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.50864246900892] Failed to read output from testmodel.py, exit status != 0: 14.8123070190195 14.842902274 14.485645034 Calling exit ...