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.001345/0.001345, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001835/0.001835, allocations: 214 kB / 24.52 MB, free: 3.914 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.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.1887/0.1887, allocations: 38.55 MB / 353.2 MB, free: 12.34 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.AC3ph.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_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.001996/0.001996, allocations: 59.91 kB / 493.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3608, allocations: 62.47 MB / 0.5427 GB, free: 276 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.009001/0.3698, allocations: 6.21 MB / 0.5488 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004991/0.3748, allocations: 2.339 MB / 0.5511 GB, free: 9.734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006654/0.3754, allocations: 33.47 kB / 0.5511 GB, free: 9.719 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.3768, allocations: 426.4 kB / 0.5515 GB, free: 9.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001771/0.3786, allocations: 0.5982 MB / 0.5521 GB, free: 8.934 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.3798, allocations: 0.4904 MB / 0.5526 GB, free: 8.555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002415/0.3823, allocations: 1.961 MB / 0.5545 GB, free: 7.406 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009461/0.3832, allocations: 0.5724 MB / 0.555 GB, free: 7.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001536/0.3847, allocations: 0.8148 MB / 0.5558 GB, free: 6.547 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001557/0.3863, allocations: 1.029 MB / 0.5568 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000297/0.3866, allocations: 164 kB / 0.557 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.3879, allocations: 0.6631 MB / 0.5576 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007262/0.3886, allocations: 0.6548 MB / 0.5583 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007938/0.3894, allocations: 0.5798 MB / 0.5588 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002431/0.3918, allocations: 2.056 MB / 0.5608 GB, free: 1.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3918, allocations: 3.938 kB / 0.5609 GB, free: 1.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3918, allocations: 4 kB / 0.5609 GB, free: 1.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.563e-05/0.3918, allocations: 4 kB / 0.5609 GB, free: 1.668 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004963/0.3968, allocations: 1.862 MB / 0.5627 GB, free: 15.74 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3969, allocations: 11.98 kB / 0.5627 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.696e-05/0.3969, allocations: 22.19 kB / 0.5627 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002344/0.3971, allocations: 164.4 kB / 0.5629 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009267/0.398, allocations: 196.1 kB / 0.5631 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002338/0.4004, allocations: 0.9034 MB / 0.5639 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001024/0.4014, allocations: 1.128 MB / 0.565 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002876/0.4017, allocations: 99.94 kB / 0.5651 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004193/0.4059, allocations: 2.015 MB / 0.5671 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.4059, allocations: 7.938 kB / 0.5671 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/0.4061, allocations: 32 kB / 0.5671 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002366/0.4063, allocations: 93.92 kB / 0.5672 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005033/0.4113, allocations: 2.24 MB / 0.5694 GB, free: 8.535 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01004/0.4214, allocations: 5.308 MB / 0.5746 GB, free: 3.129 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004675/0.426, allocations: 1.605 MB / 0.5762 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002715/0.4288, allocations: 1.066 MB / 0.5772 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.4289, allocations: 16.98 kB / 0.5772 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003242/0.4321, allocations: 1.38 MB / 0.5786 GB, free: 15.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=123): time 4.158e-06/0.4321, allocations: 0 / 0.5786 GB, free: 15.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.01452/0.4466, allocations: 5.576 MB / 0.584 GB, free: 9.402 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.625e-05/0.4467, allocations: 102.1 kB / 0.5841 GB, free: 9.285 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006932/0.4474, allocations: 497.9 kB / 0.5846 GB, free: 8.789 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000155/0.4476, allocations: 57.69 kB / 0.5846 GB, free: 8.727 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00034/0.4479, allocations: 369.5 kB / 0.585 GB, free: 8.359 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005411/0.4485, allocations: 444.4 kB / 0.5854 GB, free: 7.922 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00051/0.449, allocations: 222.9 kB / 0.5856 GB, free: 7.695 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.4492, allocations: 394.7 kB / 0.586 GB, free: 7.301 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002298/0.4515, allocations: 1.07 MB / 0.5871 GB, free: 6.227 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002306/0.4538, allocations: 1.229 MB / 0.5883 GB, free: 4.949 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004174/0.458, allocations: 2.035 MB / 0.5902 GB, free: 2.875 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.458, allocations: 4 kB / 0.5902 GB, free: 2.871 MB / 430.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.01152/0.4695, allocations: 3.929 MB / 0.5941 GB, free: 14.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001244/0.4696, allocations: 57.67 kB / 0.5941 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.4696, allocations: 4 kB / 0.5941 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006505/0.4761, allocations: 2.069 MB / 0.5962 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.4772, allocations: 195.7 kB / 0.5963 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02779/0.505, allocations: 11.1 MB / 0.6072 GB, free: 1.359 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/0.5067, allocations: 163.8 kB / 0.6073 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003957/0.5071, allocations: 79.92 kB / 0.6074 GB, free: 1.121 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.001055/0.5081, allocations: 377.4 kB / 0.6078 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000461/0.5086, allocations: 91.42 kB / 0.6079 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006004/0.5146, allocations: 2.354 MB / 0.6102 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-05/0.5147, allocations: 27.98 kB / 0.6102 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5147, allocations: 0 / 0.6102 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.5147, allocations: 3.984 kB / 0.6102 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008895/0.5236, allocations: 3.882 MB / 0.614 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.5236, allocations: 4 kB / 0.614 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01045/0.534, allocations: 2.017 MB / 0.616 GB, free: 8.277 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.149e-05/0.5341, allocations: 15.94 kB / 0.616 GB, free: 8.262 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004475/0.5345, allocations: 35.97 kB / 0.616 GB, free: 8.227 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.998e-05/0.5345, allocations: 4 kB / 0.616 GB, free: 8.223 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.5345, allocations: 7.938 kB / 0.616 GB, free: 8.215 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009743/0.5443, allocations: 3.875 MB / 0.6198 GB, free: 4.297 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008375/0.5451, allocations: 271.2 kB / 0.6201 GB, free: 4.031 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004312/0.5455, allocations: 87.94 kB / 0.6201 GB, free: 3.945 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/0.5471, allocations: 183.7 kB / 0.6203 GB, free: 3.766 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005011/0.5476, allocations: 196.6 kB / 0.6205 GB, free: 3.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001751/0.5478, allocations: 43.97 kB / 0.6206 GB, free: 3.527 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005706/0.5483, allocations: 342.8 kB / 0.6209 GB, free: 3.191 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5483, allocations: 0 / 0.6209 GB, free: 3.191 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001552/0.5499, allocations: 359.9 kB / 0.6212 GB, free: 2.84 MB / 462.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.009638/0.5595, allocations: 4.525 MB / 0.6256 GB, free: 14.26 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006977/0.5665, allocations: 2.839 MB / 0.6284 GB, free: 11.38 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.5665, allocations: 0 / 0.6284 GB, free: 11.38 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006251/0.5728, allocations: 1.856 MB / 0.6302 GB, free: 9.527 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.574, allocations: 182.9 kB / 0.6304 GB, free: 9.355 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03962/0.6137, allocations: 15.84 MB / 0.6459 GB, free: 9.215 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008273/0.6145, allocations: 0.5452 MB / 0.6464 GB, free: 8.637 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001114/0.6156, allocations: 318.7 kB / 0.6467 GB, free: 8.32 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007722/0.6164, allocations: 347.3 kB / 0.647 GB, free: 7.98 MB / 494.1 MB Notification: Performance of SimCode: time 1.293e-06/0.6164, allocations: 0 / 0.647 GB, free: 7.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07099/0.6874, allocations: 32.82 MB / 0.6791 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.65/15.34, allocations: 15.78 kB / 0.6791 GB, free: 7.402 MB / 0.5137 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToLoad_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 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.291524177999236] Failed to read output from testmodel.py, exit status != 0: 15.522608230938204 15.539849155 15.144572207 Calling exit ...