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.001832/0.001832, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001635/0.001635, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.474/1.474, allocations: 230.6 MB / 257.5 MB, free: 7.824 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.1828/0.1828, allocations: 38.54 MB / 352.5 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="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.002161/0.002161, allocations: 71.89 kB / 492.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3472, allocations: 62.46 MB / 0.5419 GB, free: 272 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.01087/0.3581, allocations: 6.23 MB / 0.548 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005282/0.3634, allocations: 2.336 MB / 0.5503 GB, free: 9.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006374/0.364, allocations: 36.44 kB / 0.5503 GB, free: 9.711 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.3653, allocations: 420.6 kB / 0.5507 GB, free: 9.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001424/0.3667, allocations: 0.6023 MB / 0.5513 GB, free: 8.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.3679, allocations: 497.2 kB / 0.5518 GB, free: 8.555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002226/0.3702, allocations: 1.973 MB / 0.5537 GB, free: 7.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000901/0.3711, allocations: 0.5571 MB / 0.5543 GB, free: 7.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001412/0.3725, allocations: 0.8186 MB / 0.5551 GB, free: 6.547 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001516/0.374, allocations: 0.9967 MB / 0.556 GB, free: 5.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002898/0.3743, allocations: 167.9 kB / 0.5562 GB, free: 5.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.3755, allocations: 0.6398 MB / 0.5568 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007246/0.3763, allocations: 0.6625 MB / 0.5575 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007563/0.377, allocations: 0.5721 MB / 0.558 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002383/0.3794, allocations: 2.068 MB / 0.5601 GB, free: 1.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.3794, allocations: 3.984 kB / 0.5601 GB, free: 1.703 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3794, allocations: 0 / 0.5601 GB, free: 1.703 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.534e-05/0.3794, allocations: 0 / 0.5601 GB, free: 1.703 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.004832/0.3843, allocations: 1.858 MB / 0.5619 GB, free: 15.78 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.3843, allocations: 11.98 kB / 0.5619 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002448/0.3846, allocations: 172.4 kB / 0.562 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009137/0.3855, allocations: 196.1 kB / 0.5622 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002617/0.3881, allocations: 0.9034 MB / 0.5631 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001038/0.3891, allocations: 1.121 MB / 0.5642 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003036/0.3894, allocations: 99.94 kB / 0.5643 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004956/0.3944, allocations: 2.011 MB / 0.5663 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.197e-05/0.3944, allocations: 8 kB / 0.5663 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.3946, allocations: 39.97 kB / 0.5663 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002621/0.3948, allocations: 81.95 kB / 0.5664 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005606/0.4004, allocations: 2.233 MB / 0.5686 GB, free: 8.613 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01133/0.4118, allocations: 5.312 MB / 0.5738 GB, free: 3.199 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004813/0.4166, allocations: 1.609 MB / 0.5753 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002693/0.4193, allocations: 1.062 MB / 0.5764 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.791e-05/0.4194, allocations: 13 kB / 0.5764 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003174/0.4225, allocations: 1.387 MB / 0.5777 GB, free: 15.08 MB / 430.1 MB Notification: Performance of pre-optimization done (n=123): time 3.417e-06/0.4225, allocations: 0 / 0.5777 GB, free: 15.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.01436/0.4369, allocations: 5.576 MB / 0.5832 GB, free: 9.473 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.679e-05/0.437, allocations: 98.11 kB / 0.5833 GB, free: 9.359 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006935/0.4377, allocations: 0.5018 MB / 0.5838 GB, free: 8.848 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001498/0.4378, allocations: 53.7 kB / 0.5838 GB, free: 8.789 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000344/0.4382, allocations: 369.5 kB / 0.5842 GB, free: 8.422 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004429/0.4386, allocations: 444.3 kB / 0.5846 GB, free: 7.984 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004458/0.4391, allocations: 222.9 kB / 0.5848 GB, free: 7.758 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002283/0.4393, allocations: 394.7 kB / 0.5852 GB, free: 7.363 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002243/0.4415, allocations: 1.074 MB / 0.5862 GB, free: 6.285 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002355/0.4439, allocations: 1.221 MB / 0.5874 GB, free: 5.016 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004339/0.4482, allocations: 2.035 MB / 0.5894 GB, free: 2.941 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.4482, allocations: 8 kB / 0.5894 GB, free: 2.934 MB / 430.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.01195/0.4602, allocations: 3.925 MB / 0.5933 GB, free: 14.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001228/0.4603, allocations: 57.69 kB / 0.5933 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.4603, allocations: 0 / 0.5933 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006212/0.4665, allocations: 2.077 MB / 0.5953 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009904/0.4675, allocations: 191.7 kB / 0.5955 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02789/0.4954, allocations: 11.1 MB / 0.6064 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/0.497, allocations: 159.8 kB / 0.6065 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004772/0.4975, allocations: 79.88 kB / 0.6066 GB, free: 1.191 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.001182/0.4986, allocations: 377.4 kB / 0.607 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004839/0.4991, allocations: 83.48 kB / 0.607 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006404/0.5055, allocations: 2.357 MB / 0.6093 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.87e-05/0.5056, allocations: 31.98 kB / 0.6094 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.5056, allocations: 0 / 0.6094 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-05/0.5056, allocations: 3.984 kB / 0.6094 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009753/0.5154, allocations: 3.878 MB / 0.6132 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.5154, allocations: 4 kB / 0.6132 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0113/0.5267, allocations: 2.021 MB / 0.6151 GB, free: 8.344 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-05/0.5267, allocations: 11.94 kB / 0.6151 GB, free: 8.332 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002225/0.5269, allocations: 35.97 kB / 0.6152 GB, free: 8.297 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.067e-05/0.5269, allocations: 7.938 kB / 0.6152 GB, free: 8.289 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.5269, allocations: 4 kB / 0.6152 GB, free: 8.285 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008877/0.5358, allocations: 3.863 MB / 0.619 GB, free: 4.375 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008798/0.5367, allocations: 275.2 kB / 0.6192 GB, free: 4.105 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002564/0.537, allocations: 87.88 kB / 0.6193 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/0.5383, allocations: 187.7 kB / 0.6195 GB, free: 3.836 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004494/0.5388, allocations: 196.8 kB / 0.6197 GB, free: 3.641 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/0.5389, allocations: 47.97 kB / 0.6197 GB, free: 3.594 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004493/0.5394, allocations: 342.8 kB / 0.62 GB, free: 3.258 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5394, allocations: 96 / 0.62 GB, free: 3.258 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00109/0.5405, allocations: 351.9 kB / 0.6204 GB, free: 2.914 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.009557/0.55, allocations: 4.54 MB / 0.6248 GB, free: 14.32 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007072/0.5571, allocations: 2.843 MB / 0.6276 GB, free: 11.44 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.5571, allocations: 0 / 0.6276 GB, free: 11.44 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006561/0.5637, allocations: 1.856 MB / 0.6294 GB, free: 9.582 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.565, allocations: 174.7 kB / 0.6296 GB, free: 9.418 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04173/0.6068, allocations: 15.84 MB / 0.645 GB, free: 9.277 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/0.6079, allocations: 0.5413 MB / 0.6456 GB, free: 8.707 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001309/0.6092, allocations: 322.7 kB / 0.6459 GB, free: 8.387 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008901/0.6101, allocations: 347.3 kB / 0.6462 GB, free: 8.047 MB / 494.1 MB Notification: Performance of SimCode: time 1.343e-06/0.6101, allocations: 0 / 0.6462 GB, free: 8.047 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07525/0.6853, allocations: 32.78 MB / 0.6782 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/14.24, allocations: 3.938 kB / 0.6782 GB, free: 7.492 MB / 0.5137 GB " [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 & /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: 17.73310496425256] Failed to read output from testmodel.py, exit status != 0: 14.373626694083214 14.398420882 14.014301817 Calling exit ...