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.001267/0.001267, allocations: 107.5 kB / 21.22 MB, free: 0.6289 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.001539/0.001539, allocations: 212.3 kB / 24.51 MB, free: 3.914 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.497/1.497, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.188/0.188, allocations: 38.55 MB / 353.2 MB, free: 12.3 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterAvToGrid",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterAvToGrid",fmuType="cs",version="2.0",platforms={"static"}) [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.002061/0.002061, allocations: 66.39 kB / 493.3 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3274, allocations: 62.47 MB / 0.5427 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.008563/0.336, allocations: 6.207 MB / 0.5488 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003763/0.3398, allocations: 1.796 MB / 0.5505 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005459/0.3403, allocations: 45.72 kB / 0.5506 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.3418, allocations: 433.3 kB / 0.551 GB, free: 9.762 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001175/0.3429, allocations: 418.8 kB / 0.5514 GB, free: 9.426 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.344, allocations: 361.5 kB / 0.5517 GB, free: 9.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001463/0.3455, allocations: 1.031 MB / 0.5527 GB, free: 8.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007802/0.3463, allocations: 416.5 kB / 0.5531 GB, free: 8.305 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000961/0.3472, allocations: 491.2 kB / 0.5536 GB, free: 8.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/0.3484, allocations: 0.6119 MB / 0.5542 GB, free: 7.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002096/0.3486, allocations: 66.5 kB / 0.5543 GB, free: 7.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007474/0.3494, allocations: 268.8 kB / 0.5545 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004928/0.3498, allocations: 376.6 kB / 0.5549 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000723/0.3506, allocations: 354.8 kB / 0.5552 GB, free: 7.102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.3524, allocations: 1.062 MB / 0.5562 GB, free: 6.367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3524, allocations: 0 / 0.5562 GB, free: 6.367 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3524, allocations: 0 / 0.5562 GB, free: 6.367 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.538e-05/0.3525, allocations: 0 / 0.5562 GB, free: 6.367 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.003001/0.3555, allocations: 1.068 MB / 0.5573 GB, free: 5.262 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.3555, allocations: 15.98 kB / 0.5573 GB, free: 5.246 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.214e-05/0.3556, allocations: 21.5 kB / 0.5573 GB, free: 5.227 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002418/0.3558, allocations: 122.8 kB / 0.5574 GB, free: 5.098 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.3569, allocations: 164.2 kB / 0.5576 GB, free: 4.938 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.3581, allocations: 0.5439 MB / 0.5581 GB, free: 4.363 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.062e-05/0.3582, allocations: 57.38 kB / 0.5582 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00022/0.3584, allocations: 79.97 kB / 0.5583 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.3603, allocations: 1.006 MB / 0.5592 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/0.3603, allocations: 4 kB / 0.5592 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.918e-05/0.3604, allocations: 23.98 kB / 0.5593 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002276/0.3606, allocations: 73.95 kB / 0.5593 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.3623, allocations: 0.9797 MB / 0.5603 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005471/0.3678, allocations: 3.028 MB / 0.5633 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.3689, allocations: 0.6326 MB / 0.5639 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006486/0.3696, allocations: 379.4 kB / 0.5642 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.184e-05/0.3696, allocations: 12.5 kB / 0.5642 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.058e-05/0.3697, allocations: 43 kB / 0.5643 GB, free: 13.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=73): time 2.955e-06/0.3697, allocations: 0 / 0.5643 GB, free: 13.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=75): time 0.00452/0.3742, allocations: 2.216 MB / 0.5665 GB, free: 11.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.517e-05/0.3743, allocations: 85.77 kB / 0.5665 GB, free: 11.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006175/0.3749, allocations: 449.8 kB / 0.567 GB, free: 11.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.18e-05/0.375, allocations: 37.7 kB / 0.567 GB, free: 11.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/0.3753, allocations: 368.4 kB / 0.5674 GB, free: 10.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003063/0.3756, allocations: 273.8 kB / 0.5676 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002629/0.3759, allocations: 150.5 kB / 0.5678 GB, free: 10.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000223/0.3761, allocations: 378.7 kB / 0.5681 GB, free: 9.863 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006021/0.3767, allocations: 341.7 kB / 0.5684 GB, free: 9.531 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007464/0.3774, allocations: 0.5147 MB / 0.5689 GB, free: 8.945 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.005629/0.3831, allocations: 2.17 MB / 0.5711 GB, free: 6.703 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/0.3831, allocations: 3.938 kB / 0.5711 GB, free: 6.699 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002024/0.3851, allocations: 1.027 MB / 0.5721 GB, free: 5.664 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.3851, allocations: 8 kB / 0.5721 GB, free: 5.656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.3851, allocations: 4 kB / 0.5721 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001791/0.3853, allocations: 49.3 kB / 0.5721 GB, free: 5.602 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008479/0.3862, allocations: 187.7 kB / 0.5723 GB, free: 5.418 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.3876, allocations: 1.393 MB / 0.5737 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000568/0.3882, allocations: 35.97 kB / 0.5737 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-05/0.3883, allocations: 28 kB / 0.5737 GB, free: 3.844 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.000541/0.3888, allocations: 278.9 kB / 0.574 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/0.389, allocations: 67.64 kB / 0.5741 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001801/0.3908, allocations: 0.8992 MB / 0.5749 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.249e-05/0.3909, allocations: 16 kB / 0.575 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.3909, allocations: 3.938 kB / 0.575 GB, free: 2.566 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.3909, allocations: 3.984 kB / 0.575 GB, free: 2.562 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003858/0.3947, allocations: 1.844 MB / 0.5768 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.3948, allocations: 4 kB / 0.5768 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007373/0.3955, allocations: 151.7 kB / 0.5769 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001207/0.3956, allocations: 36.83 kB / 0.5769 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-05/0.3957, allocations: 27.98 kB / 0.577 GB, free: 400 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/0.397, allocations: 1.397 MB / 0.5783 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.397, allocations: 7.938 kB / 0.5783 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/0.3994, allocations: 1.45 MB / 0.5798 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.3995, allocations: 67.58 kB / 0.5798 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.3997, allocations: 23.94 kB / 0.5798 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004156/0.4001, allocations: 40.03 kB / 0.5799 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.4002, allocations: 68.2 kB / 0.58 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.167e-05/0.4003, allocations: 24 kB / 0.58 GB, free: 13.12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004024/0.4007, allocations: 299.1 kB / 0.5803 GB, free: 12.83 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4007, allocations: 0 / 0.5803 GB, free: 12.83 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008831/0.4015, allocations: 187.9 kB / 0.5804 GB, free: 12.65 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.002698/0.4042, allocations: 2.042 MB / 0.5824 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.4059, allocations: 0.9187 MB / 0.5833 GB, free: 9.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.4059, allocations: 0 / 0.5833 GB, free: 9.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007774/0.4067, allocations: 495.5 kB / 0.5838 GB, free: 9.094 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009654/0.4077, allocations: 147.9 kB / 0.5839 GB, free: 8.953 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/0.419, allocations: 6.927 MB / 0.5907 GB, free: 1.676 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000584/0.4195, allocations: 416.3 kB / 0.5911 GB, free: 1.246 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005902/0.4201, allocations: 201.4 kB / 0.5913 GB, free: 1.047 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004649/0.4206, allocations: 279.3 kB / 0.5916 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4206, allocations: 0 / 0.5916 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0498/0.4704, allocations: 15.59 MB / 0.6068 GB, free: 1.426 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.38, allocations: 14.28 kB / 0.6068 GB, free: 1.418 MB / 446.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterAvToGrid_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterAvToGrid.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.303264964953996] Failed to read output from testmodel.py, exit status != 0: 13.563550120103173 13.585971001 13.230029899 Calling exit ...