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.001016/0.001016, allocations: 80.8 kB / 21.5 MB, free: 2.996 MB / 18.57 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.001166/0.001166, allocations: 170.5 kB / 24.91 MB, free: 9.211 MB / 18.57 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/1, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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.2272/0.2272, allocations: 29.42 MB / 291.2 MB, free: 2.414 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.675e-05, allocations: 2.312 kB / 316.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.008445/0.008472, allocations: 5.833 MB / 322.7 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002941/0.01141, allocations: 1.893 MB / 324.6 MB, free: 8.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003582/0.01177, allocations: 35.69 kB / 324.6 MB, free: 8.145 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006094/0.01238, allocations: 210.6 kB / 324.8 MB, free: 7.938 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006032/0.01298, allocations: 425.4 kB / 325.3 MB, free: 7.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000713/0.0137, allocations: 362.9 kB / 325.6 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008852/0.01458, allocations: 1.059 MB / 326.7 MB, free: 6.102 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004814/0.01506, allocations: 446.5 kB / 327.1 MB, free: 5.656 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000735/0.0158, allocations: 0.6779 MB / 327.8 MB, free: 4.977 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000508/0.01631, allocations: 498.7 kB / 328.3 MB, free: 4.488 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.267e-05/0.01639, allocations: 64 kB / 328.3 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004069/0.0168, allocations: 271.5 kB / 328.6 MB, free: 4.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002477/0.01704, allocations: 398.9 kB / 329 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.01726, allocations: 287.3 kB / 329.3 MB, free: 3.488 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006845/0.01794, allocations: 0.8137 MB / 330.1 MB, free: 2.672 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.01795, allocations: 0 / 330.1 MB, free: 2.672 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.01795, allocations: 8 kB / 330.1 MB, free: 2.664 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.01796, allocations: 0 / 330.1 MB, free: 2.664 MB / 298.7 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.001106/0.01906, allocations: 0.9723 MB / 331.1 MB, free: 1.664 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.0191, allocations: 11.98 kB / 331.1 MB, free: 1.652 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005525/0.01965, allocations: 184.7 kB / 331.3 MB, free: 1.473 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005265/0.02018, allocations: 495 kB / 331.7 MB, free: 0.957 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.02021, allocations: 49.67 kB / 331.8 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.02032, allocations: 72.52 kB / 331.9 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005637/0.02089, allocations: 0.6026 MB / 332.5 MB, free: 204 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.0209, allocations: 7.938 kB / 332.5 MB, free: 196 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.902e-05/0.02094, allocations: 23.98 kB / 332.5 MB, free: 172 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001004/0.02104, allocations: 69.95 kB / 332.6 MB, free: 104 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00042/0.02146, allocations: 324.5 kB / 332.9 MB, free: 15.78 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/0.02368, allocations: 2.34 MB / 335.2 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000387/0.02407, allocations: 349.5 kB / 335.6 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.02425, allocations: 151 kB / 335.7 MB, free: 12.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.02428, allocations: 12.48 kB / 335.7 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.0243, allocations: 43.06 kB / 335.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=73): time 1.984e-06/0.02431, allocations: 0 / 335.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.00161/0.02592, allocations: 0.9939 MB / 336.8 MB, free: 11.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.02597, allocations: 85.7 kB / 336.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.02625, allocations: 387 kB / 337.2 MB, free: 11.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.02629, allocations: 37.7 kB / 337.3 MB, free: 11.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.02644, allocations: 329.4 kB / 337.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.02658, allocations: 265.6 kB / 337.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.02673, allocations: 142.5 kB / 338 MB, free: 10.47 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.02686, allocations: 374.6 kB / 338.3 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.02699, allocations: 104.8 kB / 338.4 MB, free: 9.996 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.02721, allocations: 283.1 kB / 338.7 MB, free: 9.648 MB / 314.7 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.0007405/0.02795, allocations: 0.7052 MB / 339.4 MB, free: 8.871 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.02795, allocations: 4 kB / 339.4 MB, free: 8.867 MB / 314.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0005472/0.0285, allocations: 498.7 kB / 339.9 MB, free: 8.371 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.02852, allocations: 4 kB / 339.9 MB, free: 8.367 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.02852, allocations: 8 kB / 339.9 MB, free: 8.359 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.815e-05/0.02861, allocations: 32.83 kB / 340 MB, free: 8.324 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000434/0.02905, allocations: 188.3 kB / 340.1 MB, free: 8.141 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006345/0.02968, allocations: 1.234 MB / 341.4 MB, free: 6.809 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.02986, allocations: 23.98 kB / 341.4 MB, free: 6.785 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/0.0299, allocations: 27.98 kB / 341.4 MB, free: 6.758 MB / 314.7 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.0001518/0.03005, allocations: 156.5 kB / 341.6 MB, free: 6.594 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.03015, allocations: 67.88 kB / 341.6 MB, free: 6.527 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004815/0.03063, allocations: 424.8 kB / 342.1 MB, free: 6.102 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.03065, allocations: 12 kB / 342.1 MB, free: 6.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.03065, allocations: 4 kB / 342.1 MB, free: 6.086 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.03066, allocations: 3.984 kB / 342.1 MB, free: 6.082 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.03189, allocations: 1.164 MB / 343.2 MB, free: 4.832 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.03189, allocations: 8.125 kB / 343.3 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003663/0.03226, allocations: 158.2 kB / 343.4 MB, free: 4.672 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-05/0.03232, allocations: 28.84 kB / 343.4 MB, free: 4.641 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.03235, allocations: 23.98 kB / 343.5 MB, free: 4.617 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005808/0.03293, allocations: 1.233 MB / 344.7 MB, free: 3.285 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.03294, allocations: 11.94 kB / 344.7 MB, free: 3.273 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006904/0.03363, allocations: 0.7674 MB / 345.5 MB, free: 2.422 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.996e-05/0.03368, allocations: 67.56 kB / 345.5 MB, free: 2.355 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.957e-05/0.03373, allocations: 19.98 kB / 345.6 MB, free: 2.336 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.03388, allocations: 27.91 kB / 345.6 MB, free: 2.309 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.484e-05/0.03394, allocations: 60.28 kB / 345.6 MB, free: 2.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.253e-05/0.03398, allocations: 31.92 kB / 345.7 MB, free: 2.219 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001206/0.0341, allocations: 148.7 kB / 345.8 MB, free: 2.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0341, allocations: 0 / 345.8 MB, free: 2.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003846/0.03448, allocations: 187.9 kB / 346 MB, free: 1.887 MB / 314.7 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.0001719/0.03465, allocations: 132.2 kB / 346.1 MB, free: 1.746 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005363/0.03519, allocations: 0.5083 MB / 346.6 MB, free: 1.227 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/0.0352, allocations: 8 kB / 346.6 MB, free: 1.219 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002558/0.03546, allocations: 336.4 kB / 347 MB, free: 0.875 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.03589, allocations: 143.1 kB / 347.1 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.03766, allocations: 1.514 MB / 348.6 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.03781, allocations: 219.3 kB / 348.8 MB, free: 14.89 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002263/0.03803, allocations: 89.27 kB / 348.9 MB, free: 14.8 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/0.03831, allocations: 177.3 kB / 349.1 MB, free: 14.63 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.03831, allocations: 0 / 349.1 MB, free: 14.63 MB / 330.7 MB Notification: Performance of Templates: time 0.01165/0.04996, allocations: 8.423 MB / 357.5 MB, free: 6.336 MB / 330.7 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.019615672994405]