Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.002268/0.002268, 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.002707/0.002707, allocations: 215.9 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.606/1.606, 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.1859/0.1859, allocations: 38.54 MB / 352.4 MB, free: 12.29 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.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.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.002488/0.002488, allocations: 67.89 kB / 493 MB, free: 4.184 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.4118, allocations: 62.46 MB / 0.5424 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.009244/0.4211, allocations: 5.838 MB / 0.5481 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003209/0.4243, allocations: 1.357 MB / 0.5495 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003261/0.4246, allocations: 35.38 kB / 0.5495 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005134/0.4251, allocations: 136.2 kB / 0.5496 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008922/0.426, allocations: 395.9 kB / 0.55 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005317/0.4266, allocations: 191 kB / 0.5502 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00105/0.4276, allocations: 0.9248 MB / 0.5511 GB, free: 9.785 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003219/0.4279, allocations: 169.7 kB / 0.5512 GB, free: 9.684 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007068/0.4286, allocations: 429.6 kB / 0.5517 GB, free: 9.441 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007813/0.4294, allocations: 472.7 kB / 0.5521 GB, free: 9.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.369e-05/0.4295, allocations: 46.12 kB / 0.5521 GB, free: 9.184 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.4296, allocations: 51.66 kB / 0.5522 GB, free: 9.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000323/0.43, allocations: 275.6 kB / 0.5525 GB, free: 9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003546/0.4303, allocations: 260.9 kB / 0.5527 GB, free: 8.852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009304/0.4313, allocations: 0.684 MB / 0.5534 GB, free: 8.395 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.4313, allocations: 0 / 0.5534 GB, free: 8.395 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4313, allocations: 1.25 kB / 0.5534 GB, free: 8.395 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.4313, allocations: 3.938 kB / 0.5534 GB, free: 8.391 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001881/0.4332, allocations: 0.8887 MB / 0.5542 GB, free: 7.715 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.4332, allocations: 13.3 kB / 0.5543 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.4333, allocations: 73.66 kB / 0.5543 GB, free: 7.672 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.4345, allocations: 497 kB / 0.5548 GB, free: 7.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.815e-05/0.4345, allocations: 49.88 kB / 0.5549 GB, free: 7.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.4346, allocations: 51.77 kB / 0.5549 GB, free: 7.258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.4357, allocations: 0.6258 MB / 0.5555 GB, free: 6.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.4357, allocations: 4 kB / 0.5555 GB, free: 6.676 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.16e-05/0.4358, allocations: 20 kB / 0.5555 GB, free: 6.656 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000109/0.4359, allocations: 32.97 kB / 0.5556 GB, free: 6.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008762/0.4368, allocations: 0.5035 MB / 0.5561 GB, free: 6.121 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003551/0.4403, allocations: 2 MB / 0.558 GB, free: 4.047 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008728/0.4412, allocations: 455.3 kB / 0.5584 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000726/0.4419, allocations: 341.5 kB / 0.5588 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.4419, allocations: 11.89 kB / 0.5588 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.442, allocations: 42.5 kB / 0.5588 GB, free: 3.188 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.334e-06/0.442, allocations: 0 / 0.5588 GB, free: 3.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=47): time 0.003468/0.4454, allocations: 1.593 MB / 0.5604 GB, free: 1.559 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.4455, allocations: 81.11 kB / 0.5605 GB, free: 1.461 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005108/0.446, allocations: 405.7 kB / 0.5608 GB, free: 1.055 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.325e-05/0.4461, allocations: 37.7 kB / 0.5609 GB, free: 1.012 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/0.4463, allocations: 304.9 kB / 0.5612 GB, free: 0.707 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.4465, allocations: 166.5 kB / 0.5613 GB, free: 0.543 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.4466, allocations: 98.3 kB / 0.5614 GB, free: 452 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.4468, allocations: 358.8 kB / 0.5618 GB, free: 84 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/0.4471, allocations: 189.2 kB / 0.5619 GB, free: 15.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000409/0.4475, allocations: 312.5 kB / 0.5622 GB, free: 15.54 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[1] = ind.i_start[1] (-ind.i_start[2] = ind.i_start[1]) Notification: Performance of analyzeInitialSystem (initialization): time 0.002683/0.4502, allocations: 1.16 MB / 0.5634 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4502, allocations: 4 kB / 0.5634 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001235/0.4514, allocations: 0.7033 MB / 0.5641 GB, free: 13.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.4515, allocations: 8.094 kB / 0.5641 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.4515, allocations: 4 kB / 0.5641 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003957/0.4519, allocations: 140.7 kB / 0.5642 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004622/0.4523, allocations: 115.8 kB / 0.5643 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003274/0.4556, allocations: 2.465 MB / 0.5667 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003278/0.4559, allocations: 23.98 kB / 0.5668 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.456, allocations: 16 kB / 0.5668 GB, free: 10.74 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[1] = ind.i_start[1]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * Array equations: 0 * 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 {(3,9,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003485/0.4563, allocations: 225.7 kB / 0.567 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.864e-05/0.4564, allocations: 55.66 kB / 0.567 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.4576, allocations: 0.6423 MB / 0.5677 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.4576, allocations: 4 kB / 0.5677 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4576, allocations: 4 kB / 0.5677 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.4576, allocations: 3.984 kB / 0.5677 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002167/0.4598, allocations: 1.182 MB / 0.5688 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.4598, allocations: 4 kB / 0.5688 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00035/0.4601, allocations: 75.89 kB / 0.5689 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000417/0.4606, allocations: 152.9 kB / 0.569 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-05/0.4606, allocations: 15.98 kB / 0.5691 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003206/0.4638, allocations: 2.478 MB / 0.5715 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4638, allocations: 0 / 0.5715 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.4654, allocations: 0.9808 MB / 0.5724 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.4655, allocations: 51.7 kB / 0.5725 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.139e-05/0.4656, allocations: 12 kB / 0.5725 GB, free: 4.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.4659, allocations: 19.98 kB / 0.5725 GB, free: 4.633 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.868e-05/0.466, allocations: 47.8 kB / 0.5726 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.466, allocations: 12 kB / 0.5726 GB, free: 4.574 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003211/0.4663, allocations: 271.1 kB / 0.5728 GB, free: 4.312 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4663, allocations: 0 / 0.5728 GB, free: 4.312 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006629/0.467, allocations: 148 kB / 0.573 GB, free: 4.168 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (meterDC.pav,meterAC.pav,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 (41): * Single equations (assignments): 39 * Array equations: 0 * 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 {(3,9,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001444/0.4671, allocations: 107.2 kB / 0.5731 GB, free: 4.055 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001236/0.4684, allocations: 0.6294 MB / 0.5737 GB, free: 3.414 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.4684, allocations: 4 kB / 0.5737 GB, free: 3.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007131/0.4691, allocations: 434.8 kB / 0.5741 GB, free: 2.973 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007425/0.4698, allocations: 128.8 kB / 0.5742 GB, free: 2.852 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.4721, allocations: 1.331 MB / 0.5755 GB, free: 1.473 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.4725, allocations: 333.2 kB / 0.5759 GB, free: 1.121 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003063/0.4728, allocations: 100.6 kB / 0.576 GB, free: 1.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.4729, allocations: 39.42 kB / 0.576 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4729, allocations: 7.938 kB / 0.576 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of Templates: time 0.01462/0.4876, allocations: 7.459 MB / 0.5833 GB, free: 9.613 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.662471478804946] Failed to read output from testmodel.py, exit status != 0: 0.49757091514766216 0.513745213 0.07878594400000001 Calling exit ...