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.00162/0.00162, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001722/0.001722, allocations: 214.1 kB / 24.48 MB, free: 3.844 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.46/1.46, allocations: 230.6 MB / 258.2 MB, free: 7.82 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.1981/0.1981, allocations: 38.56 MB / 353.2 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.002359/0.002359, allocations: 63.91 kB / 493.7 MB, free: 4.203 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3391, allocations: 62.47 MB / 0.5432 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.009754/0.3488, allocations: 6.211 MB / 0.5492 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00404/0.3529, allocations: 1.803 MB / 0.551 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005009/0.3534, allocations: 42.28 kB / 0.551 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.3548, allocations: 433.1 kB / 0.5514 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001091/0.3559, allocations: 418.8 kB / 0.5518 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.357, allocations: 361.7 kB / 0.5522 GB, free: 9.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001382/0.3584, allocations: 1.034 MB / 0.5532 GB, free: 8.766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006814/0.3591, allocations: 417.6 kB / 0.5536 GB, free: 8.488 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008338/0.3599, allocations: 487.4 kB / 0.5541 GB, free: 8.211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009177/0.3608, allocations: 0.588 MB / 0.5546 GB, free: 7.871 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.3609, allocations: 66.28 kB / 0.5547 GB, free: 7.871 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006162/0.3616, allocations: 263.7 kB / 0.555 GB, free: 7.766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004166/0.362, allocations: 385.1 kB / 0.5553 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000429/0.3624, allocations: 346.4 kB / 0.5556 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.3638, allocations: 1.059 MB / 0.5567 GB, free: 6.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3638, allocations: 0 / 0.5567 GB, free: 6.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3638, allocations: 7.938 kB / 0.5567 GB, free: 6.332 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.3638, allocations: 0 / 0.5567 GB, free: 6.332 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.002332/0.3662, allocations: 1.068 MB / 0.5577 GB, free: 5.227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.3662, allocations: 15.98 kB / 0.5577 GB, free: 5.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000918/0.3671, allocations: 164.2 kB / 0.5579 GB, free: 5.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.3684, allocations: 0.5478 MB / 0.5584 GB, free: 4.477 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.346e-05/0.3685, allocations: 45.69 kB / 0.5585 GB, free: 4.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/0.3687, allocations: 80.09 kB / 0.5586 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.3703, allocations: 1.006 MB / 0.5595 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.3703, allocations: 0 / 0.5595 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-05/0.3704, allocations: 24 kB / 0.5596 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002091/0.3706, allocations: 73.95 kB / 0.5596 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/0.3723, allocations: 0.9758 MB / 0.5606 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005129/0.3774, allocations: 2.927 MB / 0.5634 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.3785, allocations: 0.6257 MB / 0.5641 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006688/0.3792, allocations: 395.3 kB / 0.5644 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.585e-05/0.3793, allocations: 8.5 kB / 0.5644 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.3793, allocations: 43 kB / 0.5645 GB, free: 14.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=73): time 3.326e-06/0.3793, allocations: 0 / 0.5645 GB, free: 14.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=75): time 0.004142/0.3834, allocations: 2.223 MB / 0.5667 GB, free: 11.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/0.3835, allocations: 81.77 kB / 0.5667 GB, free: 11.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000519/0.384, allocations: 425.7 kB / 0.5671 GB, free: 11.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.874e-05/0.3841, allocations: 41.7 kB / 0.5672 GB, free: 11.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002823/0.3844, allocations: 368.5 kB / 0.5675 GB, free: 10.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002503/0.3846, allocations: 273.7 kB / 0.5678 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/0.3849, allocations: 146.6 kB / 0.5679 GB, free: 10.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.3851, allocations: 374.7 kB / 0.5683 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005494/0.3856, allocations: 341.8 kB / 0.5686 GB, free: 9.793 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007075/0.3863, allocations: 0.5224 MB / 0.5691 GB, free: 9.199 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.005332/0.3917, allocations: 2.16 MB / 0.5712 GB, free: 6.973 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.3917, allocations: 4 kB / 0.5712 GB, free: 6.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001802/0.3935, allocations: 1.027 MB / 0.5722 GB, free: 5.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.3935, allocations: 10.81 kB / 0.5723 GB, free: 5.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.3935, allocations: 11.98 kB / 0.5723 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001721/0.3937, allocations: 36.78 kB / 0.5723 GB, free: 5.871 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008062/0.3945, allocations: 191.7 kB / 0.5725 GB, free: 5.684 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.3959, allocations: 1.374 MB / 0.5738 GB, free: 4.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004736/0.3964, allocations: 35.97 kB / 0.5739 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.129e-05/0.3964, allocations: 32 kB / 0.5739 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.000449/0.3969, allocations: 277.5 kB / 0.5742 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.397, allocations: 67.52 kB / 0.5742 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/0.3986, allocations: 0.8913 MB / 0.5751 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.691e-05/0.3987, allocations: 16 kB / 0.5751 GB, free: 2.871 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3987, allocations: 0 / 0.5751 GB, free: 2.871 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.3987, allocations: 3.984 kB / 0.5751 GB, free: 2.867 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00342/0.4021, allocations: 1.751 MB / 0.5768 GB, free: 1.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.4021, allocations: 4.562 kB / 0.5768 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000702/0.4028, allocations: 155.7 kB / 0.577 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001204/0.4029, allocations: 36.83 kB / 0.577 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.882e-05/0.403, allocations: 28 kB / 0.577 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/0.4043, allocations: 1.37 MB / 0.5784 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.4043, allocations: 4 kB / 0.5784 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/0.4065, allocations: 1.462 MB / 0.5798 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.4066, allocations: 55.58 kB / 0.5799 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.987e-05/0.4067, allocations: 32.03 kB / 0.5799 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003623/0.4071, allocations: 27.97 kB / 0.5799 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.4072, allocations: 64.28 kB / 0.58 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.238e-05/0.4072, allocations: 27.98 kB / 0.58 GB, free: 13.58 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003537/0.4076, allocations: 275.1 kB / 0.5803 GB, free: 13.31 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4076, allocations: 4 kB / 0.5803 GB, free: 13.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007953/0.4084, allocations: 187.9 kB / 0.5804 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.000295/0.4087, allocations: 155 kB / 0.5806 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0016/0.4103, allocations: 0.9108 MB / 0.5815 GB, free: 12.04 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4103, allocations: 0 / 0.5815 GB, free: 12.04 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007334/0.411, allocations: 0.4917 MB / 0.582 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008457/0.4119, allocations: 140.8 kB / 0.5821 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003319/0.4152, allocations: 2.077 MB / 0.5841 GB, free: 9.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005075/0.4157, allocations: 416.2 kB / 0.5845 GB, free: 8.797 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.4159, allocations: 63.42 kB / 0.5846 GB, free: 8.734 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4159, allocations: 0 / 0.5846 GB, free: 8.734 MB / 430.1 MB Notification: Performance of Templates: time 0.019/0.4349, allocations: 12.35 MB / 0.5966 GB, free: 12.39 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.795236167032272] Failed to read output from testmodel.py, exit status != 0: 0.44427714915946126 0.45919394799999996 0.09204765100000001 Calling exit ...