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.001399/0.001399, 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.001567/0.001567, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.477/1.477, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.1855/0.1855, allocations: 38.56 MB / 353.2 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.002164/0.002164, allocations: 71.89 kB / 493.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2976, allocations: 62.47 MB / 0.5432 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.00781/0.3054, allocations: 5.833 MB / 0.5489 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002785/0.3082, allocations: 1.365 MB / 0.5502 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003552/0.3085, allocations: 36.12 kB / 0.5502 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000494/0.309, allocations: 136.1 kB / 0.5504 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008959/0.3099, allocations: 395.2 kB / 0.5507 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005093/0.3104, allocations: 192.2 kB / 0.5509 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001019/0.3115, allocations: 0.9199 MB / 0.5518 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003027/0.3118, allocations: 166.1 kB / 0.552 GB, free: 9.691 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006694/0.3124, allocations: 432.9 kB / 0.5524 GB, free: 9.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007276/0.3132, allocations: 475.9 kB / 0.5528 GB, free: 9.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.585e-05/0.3132, allocations: 47.78 kB / 0.5529 GB, free: 9.184 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.3134, allocations: 47.75 kB / 0.5529 GB, free: 9.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002723/0.3136, allocations: 267.8 kB / 0.5532 GB, free: 9.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003158/0.314, allocations: 268.1 kB / 0.5534 GB, free: 8.855 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000783/0.3147, allocations: 0.6806 MB / 0.5541 GB, free: 8.402 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3147, allocations: 4 kB / 0.5541 GB, free: 8.398 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3147, allocations: 3.938 kB / 0.5541 GB, free: 8.395 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.3148, allocations: 1.312 kB / 0.5541 GB, free: 8.395 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.001793/0.3166, allocations: 0.889 MB / 0.555 GB, free: 7.719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3166, allocations: 13.05 kB / 0.555 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.3167, allocations: 73.03 kB / 0.5551 GB, free: 7.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.3178, allocations: 497.2 kB / 0.5555 GB, free: 7.309 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.822e-05/0.3179, allocations: 41.69 kB / 0.5556 GB, free: 7.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.845e-05/0.318, allocations: 56.8 kB / 0.5556 GB, free: 7.266 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.319, allocations: 0.6198 MB / 0.5562 GB, free: 6.688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.319, allocations: 4 kB / 0.5562 GB, free: 6.684 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.013e-05/0.3191, allocations: 20 kB / 0.5563 GB, free: 6.664 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001134/0.3192, allocations: 32.97 kB / 0.5563 GB, free: 6.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008565/0.32, allocations: 0.4996 MB / 0.5568 GB, free: 6.133 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003287/0.3233, allocations: 2.015 MB / 0.5588 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000874/0.3242, allocations: 463.1 kB / 0.5592 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007062/0.3249, allocations: 333.9 kB / 0.5595 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.654e-05/0.3249, allocations: 15.89 kB / 0.5595 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.325, allocations: 42.5 kB / 0.5596 GB, free: 3.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.635e-06/0.325, allocations: 0 / 0.5596 GB, free: 3.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=47): time 0.003609/0.3286, allocations: 1.589 MB / 0.5611 GB, free: 1.555 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.3287, allocations: 85.23 kB / 0.5612 GB, free: 1.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000494/0.3292, allocations: 409.7 kB / 0.5616 GB, free: 1.043 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.3292, allocations: 33.7 kB / 0.5616 GB, free: 1.004 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/0.3294, allocations: 297 kB / 0.5619 GB, free: 0.707 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.3296, allocations: 170.5 kB / 0.5621 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.3297, allocations: 98.3 kB / 0.5622 GB, free: 448 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.3299, allocations: 358.8 kB / 0.5625 GB, free: 80 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.3302, allocations: 185.2 kB / 0.5627 GB, free: 15.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004307/0.3307, allocations: 312.5 kB / 0.563 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.002869/0.3335, allocations: 1.166 MB / 0.5641 GB, free: 14.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3336, allocations: 0 / 0.5641 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001359/0.3349, allocations: 0.703 MB / 0.5648 GB, free: 13.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.3349, allocations: 11.94 kB / 0.5648 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.3349, allocations: 0 / 0.5648 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004182/0.3354, allocations: 137.1 kB / 0.5649 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005058/0.3359, allocations: 115.8 kB / 0.5651 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003347/0.3392, allocations: 2.453 MB / 0.5675 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004216/0.3396, allocations: 28.02 kB / 0.5675 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.3397, allocations: 20 kB / 0.5675 GB, free: 10.75 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.0003779/0.3401, allocations: 217.7 kB / 0.5677 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.189e-05/0.3401, allocations: 55.67 kB / 0.5678 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.3414, allocations: 0.6501 MB / 0.5684 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3414, allocations: 8 kB / 0.5684 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.3414, allocations: 0 / 0.5684 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.3414, allocations: 7.984 kB / 0.5684 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.3437, allocations: 1.186 MB / 0.5696 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.3437, allocations: 96 / 0.5696 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/0.344, allocations: 79.83 kB / 0.5696 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004247/0.3445, allocations: 148.8 kB / 0.5698 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.136e-05/0.3445, allocations: 15.98 kB / 0.5698 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003126/0.3476, allocations: 2.47 MB / 0.5722 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.3476, allocations: 0 / 0.5722 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.3492, allocations: 0.9887 MB / 0.5732 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.3494, allocations: 51.7 kB / 0.5732 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.707e-05/0.3494, allocations: 12 kB / 0.5732 GB, free: 4.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.3497, allocations: 15.98 kB / 0.5733 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.826e-05/0.3498, allocations: 47.8 kB / 0.5733 GB, free: 4.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/0.3498, allocations: 16 kB / 0.5733 GB, free: 4.574 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003294/0.3501, allocations: 271.1 kB / 0.5736 GB, free: 4.312 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3501, allocations: 4 kB / 0.5736 GB, free: 4.309 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006861/0.3508, allocations: 148 kB / 0.5737 GB, free: 4.164 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.0001513/0.351, allocations: 99.19 kB / 0.5738 GB, free: 4.059 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.3522, allocations: 0.6376 MB / 0.5744 GB, free: 3.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3522, allocations: 0 / 0.5744 GB, free: 3.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007362/0.353, allocations: 434.4 kB / 0.5749 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.0007276/0.3537, allocations: 129.3 kB / 0.575 GB, free: 2.852 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.3561, allocations: 1.391 MB / 0.5763 GB, free: 1.406 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.3565, allocations: 325.2 kB / 0.5766 GB, free: 1.062 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.3567, allocations: 47.42 kB / 0.5767 GB, free: 1.016 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3567, allocations: 0 / 0.5767 GB, free: 1.016 MB / 414.1 MB Notification: Performance of Templates: time 0.01439/0.371, allocations: 9.324 MB / 0.5858 GB, free: 7.707 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: 8.636952370870858] Failed to read output from testmodel.py, exit status != 0: 0.38045527786016464 0.39501384500000003 0.07699048600000001 Calling exit ...