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.001343/0.001343, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001453/0.001453, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.478/1.478, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.1884/0.1884, allocations: 38.52 MB / 353.2 MB, free: 12.54 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.002014/0.002014, allocations: 67.89 kB / 493.3 MB, free: 4.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3196, allocations: 62.46 MB / 0.5428 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.008971/0.3286, allocations: 6.69 MB / 0.5493 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004046/0.3326, allocations: 1.946 MB / 0.5512 GB, free: 9.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005933/0.3332, allocations: 37.53 kB / 0.5512 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001419/0.3346, allocations: 456.4 kB / 0.5517 GB, free: 9.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001087/0.3357, allocations: 426 kB / 0.5521 GB, free: 8.922 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.3368, allocations: 363.6 kB / 0.5524 GB, free: 8.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.3382, allocations: 1.033 MB / 0.5534 GB, free: 8.074 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006254/0.3389, allocations: 421.2 kB / 0.5538 GB, free: 7.793 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007831/0.3396, allocations: 478.7 kB / 0.5543 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000909/0.3406, allocations: 0.6155 MB / 0.5549 GB, free: 7.156 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.3407, allocations: 66.78 kB / 0.555 GB, free: 7.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006101/0.3413, allocations: 284.6 kB / 0.5552 GB, free: 7.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003874/0.3417, allocations: 380.3 kB / 0.5556 GB, free: 6.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004631/0.3421, allocations: 418.4 kB / 0.556 GB, free: 6.523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.3435, allocations: 1.051 MB / 0.557 GB, free: 5.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3435, allocations: 0 / 0.557 GB, free: 5.828 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3435, allocations: 0 / 0.557 GB, free: 5.828 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.989e-05/0.3435, allocations: 4 kB / 0.557 GB, free: 5.824 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.002475/0.346, allocations: 1.073 MB / 0.5581 GB, free: 4.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.346, allocations: 11.98 kB / 0.5581 GB, free: 4.781 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.97e-05/0.3461, allocations: 17.5 kB / 0.5581 GB, free: 4.766 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001536/0.3462, allocations: 122.8 kB / 0.5582 GB, free: 4.637 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009204/0.3471, allocations: 172.2 kB / 0.5584 GB, free: 4.469 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.3483, allocations: 0.5477 MB / 0.5589 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/0.3484, allocations: 53.44 kB / 0.559 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.3486, allocations: 67.98 kB / 0.559 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.3503, allocations: 1.014 MB / 0.56 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.3503, allocations: 0 / 0.56 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.007e-05/0.3504, allocations: 27.98 kB / 0.56 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002265/0.3506, allocations: 73.95 kB / 0.5601 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.3523, allocations: 0.9797 MB / 0.5611 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00574/0.358, allocations: 3.176 MB / 0.5642 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.3592, allocations: 0.6282 MB / 0.5648 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007307/0.3599, allocations: 395.4 kB / 0.5652 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.613e-05/0.36, allocations: 9.438 kB / 0.5652 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/0.36, allocations: 39 kB / 0.5652 GB, free: 13.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=73): time 3.116e-06/0.36, allocations: 0 / 0.5652 GB, free: 13.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=75): time 0.004666/0.3647, allocations: 2.223 MB / 0.5674 GB, free: 11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.877e-05/0.3648, allocations: 81.77 kB / 0.5675 GB, free: 10.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008676/0.3657, allocations: 441.8 kB / 0.5679 GB, free: 10.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.998e-05/0.3657, allocations: 37.7 kB / 0.5679 GB, free: 10.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004181/0.3662, allocations: 384.5 kB / 0.5683 GB, free: 10.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003926/0.3666, allocations: 265.7 kB / 0.5685 GB, free: 9.773 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002785/0.3668, allocations: 154.5 kB / 0.5687 GB, free: 9.617 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002498/0.3671, allocations: 374.7 kB / 0.569 GB, free: 9.242 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005653/0.3676, allocations: 341.8 kB / 0.5694 GB, free: 8.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007147/0.3684, allocations: 0.5224 MB / 0.5699 GB, free: 8.316 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.005473/0.3738, allocations: 2.162 MB / 0.572 GB, free: 6.082 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.3738, allocations: 8 kB / 0.572 GB, free: 6.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001808/0.3756, allocations: 1.019 MB / 0.573 GB, free: 5.047 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.3757, allocations: 11.98 kB / 0.573 GB, free: 5.035 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.3757, allocations: 8 kB / 0.573 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001598/0.3759, allocations: 36.78 kB / 0.573 GB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007909/0.3766, allocations: 191.7 kB / 0.5732 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/0.3781, allocations: 1.397 MB / 0.5746 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005144/0.3786, allocations: 36.03 kB / 0.5746 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.007e-05/0.3786, allocations: 32.14 kB / 0.5747 GB, free: 3.219 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.0004518/0.3791, allocations: 285.4 kB / 0.5749 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.3793, allocations: 67.56 kB / 0.575 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.3808, allocations: 0.8914 MB / 0.5759 GB, free: 1.961 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.778e-05/0.3808, allocations: 16 kB / 0.5759 GB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3808, allocations: 3.938 kB / 0.5759 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.3808, allocations: 3.984 kB / 0.5759 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003453/0.3843, allocations: 1.91 MB / 0.5777 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.3843, allocations: 4 kB / 0.5778 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006844/0.385, allocations: 152.3 kB / 0.5779 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001162/0.3851, allocations: 44.67 kB / 0.5779 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.435e-05/0.3852, allocations: 23.98 kB / 0.578 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.3864, allocations: 1.385 MB / 0.5793 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/0.3864, allocations: 11.94 kB / 0.5793 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002187/0.3886, allocations: 1.454 MB / 0.5807 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.3888, allocations: 63.7 kB / 0.5808 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.663e-05/0.3888, allocations: 27.98 kB / 0.5808 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003801/0.3892, allocations: 39.94 kB / 0.5809 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.3893, allocations: 60.41 kB / 0.5809 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.825e-05/0.3894, allocations: 32 kB / 0.581 GB, free: 12.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004109/0.3898, allocations: 303.1 kB / 0.5812 GB, free: 12.14 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3898, allocations: 0 / 0.5812 GB, free: 12.14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007871/0.3906, allocations: 187.9 kB / 0.5814 GB, free: 11.95 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.002639/0.3932, allocations: 2.038 MB / 0.5834 GB, free: 9.832 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001679/0.3949, allocations: 0.9186 MB / 0.5843 GB, free: 8.898 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.3949, allocations: 7.938 kB / 0.5843 GB, free: 8.891 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007583/0.3957, allocations: 0.4917 MB / 0.5848 GB, free: 8.387 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009602/0.3966, allocations: 140.2 kB / 0.5849 GB, free: 8.254 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.4071, allocations: 6.92 MB / 0.5917 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007133/0.4078, allocations: 1.016 MB / 0.5927 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005605/0.4083, allocations: 205.4 kB / 0.5929 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004192/0.4088, allocations: 275.3 kB / 0.5931 GB, free: 15.47 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4088, allocations: 0 / 0.5931 GB, free: 15.47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04941/0.4582, allocations: 15.48 MB / 0.6083 GB, free: 164 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.19, allocations: 23.42 kB / 0.6083 GB, free: 144 kB / 446.1 MB " [Timeout remaining time 647] (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.02755054802401] Failed to read output from testmodel.py, exit status != 0: 13.36459031200502 13.381514277 13.03444538 Calling exit ...