Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.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.001432/0.001432, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001749/0.001749, allocations: 210.6 kB / 23.73 MB, free: 4.387 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.57/1.57, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.1925/0.1925, allocations: 38.55 MB / 352.5 MB, free: 12.31 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: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") [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.002049/0.002049, allocations: 63.91 kB / 493 MB, free: 4.191 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3773, allocations: 62.45 MB / 0.5424 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.01006/0.3873, allocations: 6.218 MB / 0.5485 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004714/0.392, allocations: 1.811 MB / 0.5503 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007698/0.3928, allocations: 41.25 kB / 0.5503 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.3945, allocations: 433.4 kB / 0.5507 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001417/0.396, allocations: 420.3 kB / 0.5511 GB, free: 9.598 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.3973, allocations: 357.1 kB / 0.5515 GB, free: 9.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001727/0.399, allocations: 1.042 MB / 0.5525 GB, free: 8.746 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009392/0.3999, allocations: 414.4 kB / 0.5529 GB, free: 8.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00127/0.4012, allocations: 486.1 kB / 0.5533 GB, free: 8.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00138/0.4026, allocations: 0.577 MB / 0.5539 GB, free: 7.867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003857/0.403, allocations: 66.31 kB / 0.554 GB, free: 7.867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009995/0.404, allocations: 264 kB / 0.5542 GB, free: 7.762 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006287/0.4046, allocations: 383.7 kB / 0.5546 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001108/0.4057, allocations: 355.2 kB / 0.5549 GB, free: 7.305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002276/0.408, allocations: 1.062 MB / 0.5559 GB, free: 6.332 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.408, allocations: 0 / 0.5559 GB, free: 6.332 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.408, allocations: 3.938 kB / 0.556 GB, free: 6.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.798e-05/0.408, allocations: 0 / 0.556 GB, free: 6.328 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00295/0.411, allocations: 1.064 MB / 0.557 GB, free: 5.227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.411, allocations: 15.98 kB / 0.557 GB, free: 5.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.412, allocations: 168.2 kB / 0.5572 GB, free: 5.047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/0.4137, allocations: 0.54 MB / 0.5577 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.616e-05/0.4137, allocations: 57.64 kB / 0.5577 GB, free: 4.422 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001992/0.4139, allocations: 72.12 kB / 0.5578 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.4157, allocations: 1.01 MB / 0.5588 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.4157, allocations: 8 kB / 0.5588 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.069e-05/0.4158, allocations: 31.97 kB / 0.5588 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000219/0.416, allocations: 69.95 kB / 0.5589 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/0.4178, allocations: 0.968 MB / 0.5599 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005749/0.4235, allocations: 2.923 MB / 0.5627 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.4248, allocations: 0.6326 MB / 0.5633 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006888/0.4255, allocations: 385.4 kB / 0.5637 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.816e-05/0.4255, allocations: 12.5 kB / 0.5637 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.68e-05/0.4256, allocations: 43 kB / 0.5637 GB, free: 14.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=73): time 3.356e-06/0.4256, allocations: 0 / 0.5637 GB, free: 14.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=75): time 0.004433/0.43, allocations: 2.22 MB / 0.5659 GB, free: 11.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.238e-05/0.4301, allocations: 85.77 kB / 0.566 GB, free: 11.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005961/0.4307, allocations: 429.7 kB / 0.5664 GB, free: 11.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.429e-05/0.4308, allocations: 37.7 kB / 0.5664 GB, free: 11.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003225/0.4311, allocations: 372.5 kB / 0.5668 GB, free: 10.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000263/0.4313, allocations: 265.7 kB / 0.5671 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/0.4316, allocations: 154.5 kB / 0.5672 GB, free: 10.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.4318, allocations: 378.7 kB / 0.5676 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005492/0.4323, allocations: 341.8 kB / 0.5679 GB, free: 9.781 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007372/0.4331, allocations: 0.5185 MB / 0.5684 GB, free: 9.191 MB / 414.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: ind.i[3] = ind.i_start[3] (0.0 = ind.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.005317/0.4384, allocations: 2.17 MB / 0.5705 GB, free: 6.953 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.4384, allocations: 0 / 0.5705 GB, free: 6.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001795/0.4402, allocations: 1.019 MB / 0.5715 GB, free: 5.922 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.4402, allocations: 6.812 kB / 0.5715 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.4402, allocations: 8 kB / 0.5715 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001617/0.4404, allocations: 36.84 kB / 0.5716 GB, free: 5.871 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000796/0.4412, allocations: 187.7 kB / 0.5717 GB, free: 5.688 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.4426, allocations: 1.378 MB / 0.5731 GB, free: 4.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004705/0.4431, allocations: 35.97 kB / 0.5731 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.25e-05/0.4432, allocations: 31.98 kB / 0.5731 GB, free: 4.137 MB / 414.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: ind.i[3] = ind.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 92 * Array equations: 2 * Algorithm blocks: 0 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004662/0.4437, allocations: 279.5 kB / 0.5734 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.4438, allocations: 71.5 kB / 0.5735 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/0.4455, allocations: 0.8952 MB / 0.5744 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.827e-05/0.4455, allocations: 15.98 kB / 0.5744 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.4455, allocations: 0 / 0.5744 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.4455, allocations: 3.984 kB / 0.5744 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003611/0.4491, allocations: 1.751 MB / 0.5761 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.4491, allocations: 8.125 kB / 0.5761 GB, free: 1.004 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006914/0.4498, allocations: 155.7 kB / 0.5762 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001071/0.4499, allocations: 32.84 kB / 0.5763 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.387e-05/0.45, allocations: 27.92 kB / 0.5763 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/0.4513, allocations: 1.362 MB / 0.5776 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/0.4513, allocations: 8 kB / 0.5776 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002342/0.4536, allocations: 1.454 MB / 0.5791 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/0.4538, allocations: 63.62 kB / 0.5791 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.4539, allocations: 20 kB / 0.5791 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003913/0.4543, allocations: 32.08 kB / 0.5792 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.4544, allocations: 68.42 kB / 0.5792 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-05/0.4545, allocations: 27.98 kB / 0.5793 GB, free: 13.58 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003793/0.4548, allocations: 287.1 kB / 0.5795 GB, free: 13.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4548, allocations: 0 / 0.5795 GB, free: 13.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000814/0.4556, allocations: 183.9 kB / 0.5797 GB, free: 13.12 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],ind.i[1],ind.i[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003223/0.456, allocations: 158.9 kB / 0.5799 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001669/0.4576, allocations: 0.9105 MB / 0.5807 GB, free: 12.03 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/0.4576, allocations: 4 kB / 0.5808 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007465/0.4584, allocations: 0.492 MB / 0.5812 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008568/0.4592, allocations: 133.1 kB / 0.5814 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003458/0.4627, allocations: 2.013 MB / 0.5833 GB, free: 9.297 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/0.4633, allocations: 416.2 kB / 0.5837 GB, free: 8.863 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005704/0.4638, allocations: 201.2 kB / 0.5839 GB, free: 8.664 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.4641, allocations: 59.42 kB / 0.584 GB, free: 8.605 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4641, allocations: 3.938 kB / 0.584 GB, free: 8.602 MB / 430.1 MB Notification: Performance of Templates: time 0.01806/0.4821, allocations: 8.733 MB / 0.5925 GB, free: 15.98 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.58774795755744] Failed to read output from testmodel.py, exit status != 0: 0.49202699959278107 0.508672177 0.09734337200000001 Calling exit ...