Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 119.9 kB / 17.79 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002019/0.002019, allocations: 189.2 kB / 20.73 MB, free: 2.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 249.1 MB, free: 3.602 MB / 190.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.1812/0.1812, allocations: 38.49 MB / 342.5 MB, free: 8.031 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Inverter,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Inverter,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Inverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002452/0.002452, allocations: 63.53 kB / 478.6 MB, free: 33.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1106, allocations: 61.25 MB / 0.5272 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.009721/0.1203, allocations: 7.005 MB / 0.5341 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004134/0.1244, allocations: 2.029 MB / 0.536 GB, free: 8.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008049/0.1252, allocations: 35.81 kB / 0.5361 GB, free: 8.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001805/0.127, allocations: 0.5011 MB / 0.5366 GB, free: 7.758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.1288, allocations: 0.5716 MB / 0.5371 GB, free: 7.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.1299, allocations: 387.2 kB / 0.5375 GB, free: 6.805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002186/0.1321, allocations: 1.407 MB / 0.5389 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.1333, allocations: 0.6663 MB / 0.5395 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.1345, allocations: 0.6424 MB / 0.5401 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/0.1358, allocations: 0.7204 MB / 0.5408 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001725/0.136, allocations: 96 kB / 0.5409 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009546/0.137, allocations: 0.5383 MB / 0.5415 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005272/0.1375, allocations: 0.5105 MB / 0.542 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006068/0.1381, allocations: 0.5521 MB / 0.5425 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001807/0.1399, allocations: 1.549 MB / 0.544 GB, free: 96 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1399, allocations: 0 / 0.544 GB, free: 96 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1399, allocations: 0 / 0.544 GB, free: 96 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.581e-05/0.1399, allocations: 0 / 0.544 GB, free: 96 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003119/0.143, allocations: 1.601 MB / 0.5456 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.1431, allocations: 15.88 kB / 0.5456 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001958/0.1433, allocations: 156.3 kB / 0.5457 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007568/0.144, allocations: 160.2 kB / 0.5459 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.1455, allocations: 0.7336 MB / 0.5466 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/0.1457, allocations: 183.4 kB / 0.5468 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000231/0.1459, allocations: 99.98 kB / 0.5469 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002653/0.1486, allocations: 1.528 MB / 0.5484 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/0.1486, allocations: 3.938 kB / 0.5484 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.1487, allocations: 43.97 kB / 0.5484 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001637/0.1489, allocations: 73.95 kB / 0.5485 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002201/0.1511, allocations: 1.159 MB / 0.5496 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006581/0.1577, allocations: 4.782 MB / 0.5543 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002726/0.1604, allocations: 1.075 MB / 0.5553 GB, free: 4.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/0.1616, allocations: 0.5266 MB / 0.5558 GB, free: 3.559 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.604e-05/0.1617, allocations: 8.562 kB / 0.5559 GB, free: 3.547 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001448/0.1631, allocations: 0.7105 MB / 0.5566 GB, free: 2.812 MB / 414.1 MB Notification: Performance of pre-optimization done (n=80): time 2.284e-06/0.1631, allocations: 3.938 kB / 0.5566 GB, free: 2.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=81): time 0.00691/0.17, allocations: 3.228 MB / 0.5597 GB, free: 15.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.005e-05/0.1701, allocations: 123.5 kB / 0.5598 GB, free: 15.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007236/0.1708, allocations: 0.6004 MB / 0.5604 GB, free: 14.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.512e-05/0.1709, allocations: 49.7 kB / 0.5605 GB, free: 14.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000379/0.1713, allocations: 464.2 kB / 0.5609 GB, free: 14.22 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002553/0.1716, allocations: 281.7 kB / 0.5612 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000309/0.1719, allocations: 210.5 kB / 0.5614 GB, free: 13.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.1721, allocations: 386.8 kB / 0.5617 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000737/0.1728, allocations: 482 kB / 0.5622 GB, free: 12.87 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000941/0.1738, allocations: 0.7499 MB / 0.5629 GB, free: 12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001685/0.1754, allocations: 1.254 MB / 0.5642 GB, free: 10.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1754, allocations: 3.938 kB / 0.5642 GB, free: 10.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002567/0.178, allocations: 1.577 MB / 0.5657 GB, free: 9.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.804e-05/0.1781, allocations: 69.61 kB / 0.5658 GB, free: 8.945 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002149/0.1803, allocations: 1.325 MB / 0.5671 GB, free: 7.582 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00042/0.1807, allocations: 109.5 kB / 0.5672 GB, free: 7.469 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007493/0.1814, allocations: 203.7 kB / 0.5674 GB, free: 7.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003253/0.1847, allocations: 3.361 MB / 0.5706 GB, free: 3.633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007191/0.1854, allocations: 67.92 kB / 0.5707 GB, free: 3.566 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.1855, allocations: 71.95 kB / 0.5708 GB, free: 3.496 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 28 (system.initime,ac_dc.modulator.t0[3],$PRE.ac_dc.modulator.t0[3],ac_dc.modulator.t0[2],$PRE.ac_dc.modulator.t0[2],ac_dc.modulator.t0[1],$PRE.ac_dc.modulator.t0[1],ac_dc.modulator.sigdel_t[3],$PRE.ac_dc.modulator.sigdel_t[3],ac_dc.modulator.sigdel_t[2],$PRE.ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[1],$PRE.ac_dc.modulator.sigdel_t[1],ac_dc.modulator.gates[6],$PRE.ac_dc.modulator.gates[6],ac_dc.modulator.gates[5],$PRE.ac_dc.modulator.gates[5],ac_dc.modulator.gates[4],$PRE.ac_dc.modulator.gates[4],ac_dc.modulator.gates[3],$PRE.ac_dc.modulator.gates[3],ac_dc.modulator.gates[2],$PRE.ac_dc.modulator.gates[2],ac_dc.modulator.gates[1],$PRE.ac_dc.modulator.gates[1],$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 109 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006206/0.1861, allocations: 389.6 kB / 0.5711 GB, free: 3.105 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.1863, allocations: 83.47 kB / 0.5712 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002738/0.1891, allocations: 1.274 MB / 0.5725 GB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.328e-05/0.1891, allocations: 12 kB / 0.5725 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1891, allocations: 4 kB / 0.5725 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.1891, allocations: 7.922 kB / 0.5725 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004599/0.1937, allocations: 2.42 MB / 0.5749 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.1937, allocations: 4 kB / 0.5749 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007648/0.1945, allocations: 139.8 kB / 0.575 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001148/0.1946, allocations: 40.94 kB / 0.575 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.873e-05/0.1947, allocations: 27.97 kB / 0.5751 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/0.1961, allocations: 1.63 MB / 0.5766 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.1961, allocations: 3.938 kB / 0.5767 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003986/0.2001, allocations: 1.928 MB / 0.5785 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005449/0.2006, allocations: 244.5 kB / 0.5788 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/0.2008, allocations: 75.94 kB / 0.5788 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007108/0.2015, allocations: 95.81 kB / 0.5789 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.2017, allocations: 52.58 kB / 0.579 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-05/0.2017, allocations: 31.97 kB / 0.579 GB, free: 10.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005155/0.2022, allocations: 398.8 kB / 0.5794 GB, free: 10.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2022, allocations: 0 / 0.5794 GB, free: 10.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009111/0.2031, allocations: 243.9 kB / 0.5796 GB, free: 10.08 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,ac_dc.modulator.gates[1],ac_dc.modulator.gates[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.t0[1],ac_dc.modulator.t0[2],ac_dc.modulator.t0[3],system.initime) * Number of discrete states: 12 (ac_dc.modulator.t0[3],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.t0[2],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.t0[1],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.gates[1],ac_dc.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 63 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004342/0.2075, allocations: 2.553 MB / 0.5821 GB, free: 7.473 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002733/0.2102, allocations: 1.486 MB / 0.5836 GB, free: 5.949 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2102, allocations: 256 / 0.5836 GB, free: 5.949 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001285/0.2115, allocations: 0.6195 MB / 0.5842 GB, free: 5.316 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009057/0.2124, allocations: 180.1 kB / 0.5843 GB, free: 5.145 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/0.226, allocations: 9.227 MB / 0.5934 GB, free: 11.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009089/0.2269, allocations: 1.114 MB / 0.5944 GB, free: 10.35 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006548/0.2275, allocations: 238.5 kB / 0.5947 GB, free: 10.11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005476/0.2281, allocations: 327.3 kB / 0.595 GB, free: 9.793 MB / 462.1 MB Notification: Performance of SimCode: time 9.52e-07/0.2281, allocations: 4 kB / 0.595 GB, free: 9.789 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2866/0.5147, allocations: 18.99 MB / 0.6135 GB, free: 72.94 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.22, allocations: 12.83 kB / 0.6135 GB, free: 72.93 MB / 462.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Inverter_fmu --startTime=0 --stopTime=1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Inverter.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.233044635970145] Failed to read output from testmodel.py, exit status != 0: 12.31483562476933 12.332705131 12.189389559 Calling exit ...