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.001524/0.001524, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001416/0.001416, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.384/1.384, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.1778/0.1778, allocations: 38.53 MB / 353.2 MB, free: 12.57 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.001959/0.001959, allocations: 59.91 kB / 493.8 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3284, allocations: 62.47 MB / 0.5432 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.00816/0.3366, allocations: 6.681 MB / 0.5497 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003707/0.3403, allocations: 1.943 MB / 0.5516 GB, free: 9.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004546/0.3408, allocations: 38.38 kB / 0.5517 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.342, allocations: 455.3 kB / 0.5521 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0011/0.3431, allocations: 431.1 kB / 0.5525 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009992/0.3441, allocations: 351.5 kB / 0.5529 GB, free: 8.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001381/0.3455, allocations: 1.033 MB / 0.5539 GB, free: 8.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007456/0.3463, allocations: 423.9 kB / 0.5543 GB, free: 8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009327/0.3472, allocations: 492.1 kB / 0.5547 GB, free: 7.719 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009465/0.3482, allocations: 0.6082 MB / 0.5553 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.3483, allocations: 66.16 kB / 0.5554 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006686/0.3489, allocations: 284 kB / 0.5557 GB, free: 7.242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003858/0.3493, allocations: 384.2 kB / 0.556 GB, free: 6.996 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004603/0.3498, allocations: 422.9 kB / 0.5564 GB, free: 6.719 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.3511, allocations: 1.048 MB / 0.5575 GB, free: 5.848 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3511, allocations: 0 / 0.5575 GB, free: 5.848 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3511, allocations: 0 / 0.5575 GB, free: 5.848 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.628e-05/0.3511, allocations: 0 / 0.5575 GB, free: 5.848 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.002461/0.3536, allocations: 1.078 MB / 0.5585 GB, free: 4.734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.3537, allocations: 11.98 kB / 0.5585 GB, free: 4.723 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.3547, allocations: 168.2 kB / 0.5587 GB, free: 4.559 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.356, allocations: 0.544 MB / 0.5592 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.997e-05/0.3561, allocations: 45.69 kB / 0.5593 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/0.3562, allocations: 80.05 kB / 0.5593 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.3579, allocations: 1.014 MB / 0.5603 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.3579, allocations: 7.969 kB / 0.5603 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.665e-05/0.3579, allocations: 20 kB / 0.5604 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002043/0.3581, allocations: 73.95 kB / 0.5604 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/0.3597, allocations: 0.9758 MB / 0.5614 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005165/0.3648, allocations: 3.18 MB / 0.5645 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.3659, allocations: 0.6292 MB / 0.5651 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006118/0.3665, allocations: 387.4 kB / 0.5655 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.235e-05/0.3666, allocations: 8.5 kB / 0.5655 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.3666, allocations: 50.97 kB / 0.5655 GB, free: 13.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=73): time 2.946e-06/0.3666, allocations: 4 kB / 0.5655 GB, free: 13.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=75): time 0.003958/0.3706, allocations: 2.219 MB / 0.5677 GB, free: 11.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.3706, allocations: 89.77 kB / 0.5678 GB, free: 10.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005367/0.3712, allocations: 441.8 kB / 0.5682 GB, free: 10.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/0.3712, allocations: 37.7 kB / 0.5682 GB, free: 10.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003081/0.3715, allocations: 368.4 kB / 0.5686 GB, free: 10.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000239/0.3718, allocations: 265.7 kB / 0.5688 GB, free: 9.867 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/0.372, allocations: 154.6 kB / 0.569 GB, free: 9.711 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002263/0.3722, allocations: 378.6 kB / 0.5694 GB, free: 9.332 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005211/0.3727, allocations: 345.8 kB / 0.5697 GB, free: 8.996 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006884/0.3734, allocations: 0.5224 MB / 0.5702 GB, free: 8.402 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.005337/0.3788, allocations: 2.162 MB / 0.5723 GB, free: 6.168 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.3788, allocations: 4 kB / 0.5723 GB, free: 6.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001842/0.3806, allocations: 1.027 MB / 0.5733 GB, free: 5.129 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.3806, allocations: 10.81 kB / 0.5733 GB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.3807, allocations: 8.594 kB / 0.5733 GB, free: 5.113 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001691/0.3808, allocations: 44.83 kB / 0.5734 GB, free: 5.066 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007506/0.3816, allocations: 191.6 kB / 0.5736 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/0.3829, allocations: 1.389 MB / 0.5749 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004708/0.3834, allocations: 35.97 kB / 0.5749 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.767e-05/0.3835, allocations: 31.98 kB / 0.575 GB, free: 3.305 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.0004628/0.384, allocations: 277.4 kB / 0.5752 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.3841, allocations: 67.64 kB / 0.5753 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.3857, allocations: 0.8992 MB / 0.5762 GB, free: 2.047 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.393e-05/0.3857, allocations: 12.14 kB / 0.5762 GB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.3857, allocations: 3.984 kB / 0.5762 GB, free: 2.031 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.3857, allocations: 11.92 kB / 0.5762 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003535/0.3892, allocations: 1.903 MB / 0.5781 GB, free: 8 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.3892, allocations: 4 kB / 0.5781 GB, free: 4 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000662/0.3899, allocations: 147.8 kB / 0.5782 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001196/0.39, allocations: 40.83 kB / 0.5783 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-05/0.3901, allocations: 23.92 kB / 0.5783 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001269/0.3913, allocations: 1.393 MB / 0.5796 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.3914, allocations: 7.938 kB / 0.5796 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/0.3934, allocations: 1.466 MB / 0.5811 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.3936, allocations: 63.5 kB / 0.5811 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.694e-05/0.3936, allocations: 24.06 kB / 0.5812 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003452/0.394, allocations: 27.97 kB / 0.5812 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.3941, allocations: 68.28 kB / 0.5812 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.428e-05/0.3941, allocations: 27.98 kB / 0.5813 GB, free: 12.53 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000424/0.3946, allocations: 299.1 kB / 0.5816 GB, free: 12.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3946, allocations: 0 / 0.5816 GB, free: 12.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008996/0.3955, allocations: 176 kB / 0.5817 GB, free: 12.06 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.0003041/0.3958, allocations: 174.9 kB / 0.5819 GB, free: 11.88 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00154/0.3973, allocations: 0.9152 MB / 0.5828 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.3973, allocations: 4 kB / 0.5828 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007351/0.3981, allocations: 498.8 kB / 0.5833 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008103/0.3989, allocations: 141.1 kB / 0.5834 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003229/0.4021, allocations: 2.073 MB / 0.5854 GB, free: 8.148 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007387/0.4028, allocations: 1.016 MB / 0.5864 GB, free: 7.102 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/0.4031, allocations: 63.36 kB / 0.5865 GB, free: 7.039 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4031, allocations: 0 / 0.5865 GB, free: 7.039 MB / 430.1 MB Notification: Performance of Templates: time 0.01852/0.4216, allocations: 12.21 MB / 0.5984 GB, free: 10.84 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: 9.49001770792529] Failed to read output from testmodel.py, exit status != 0: 0.4309591860510409 0.44432437300000005 0.090151512 Calling exit ...