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.001918/0.001918, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001934/0.001934, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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.551/1.551, allocations: 177.2 MB / 204.6 MB, free: 5.594 MB / 186.7 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.3078/0.3078, allocations: 29.41 MB / 290.5 MB, free: 2.441 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.733e-06/1.733e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.122e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.01499/0.01502, allocations: 6.519 MB / 375.4 MB, free: 4.77 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00592/0.02094, allocations: 1.858 MB / 377.3 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005136/0.02145, allocations: 35.69 kB / 377.3 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001977/0.02343, allocations: 453.8 kB / 377.7 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001508/0.02494, allocations: 433.3 kB / 378.2 MB, free: 2 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001459/0.0264, allocations: 370.9 kB / 378.5 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002009/0.0284, allocations: 1.055 MB / 379.6 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.02947, allocations: 416.5 kB / 380 MB, free: 172 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001569/0.03104, allocations: 0.6115 MB / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00145/0.03249, allocations: 0.5533 MB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001984/0.03269, allocations: 64 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000804/0.03349, allocations: 263.5 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004867/0.03398, allocations: 399 kB / 381.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000455/0.03443, allocations: 299.3 kB / 382.2 MB, free: 14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001547/0.03598, allocations: 1.086 MB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.03598, allocations: 0 / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.03599, allocations: 0 / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.036, allocations: 0 / 383.2 MB, free: 12.91 MB / 362.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.002598/0.03859, allocations: 1.222 MB / 384.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.03864, allocations: 15.98 kB / 384.5 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.0397, allocations: 228.2 kB / 384.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.04102, allocations: 0.5693 MB / 385.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-05/0.04109, allocations: 53.61 kB / 385.3 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.04127, allocations: 68.56 kB / 385.4 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.04273, allocations: 0.7292 MB / 386.1 MB, free: 9.918 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/0.04276, allocations: 0 / 386.1 MB, free: 9.918 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.794e-05/0.04285, allocations: 28 kB / 386.1 MB, free: 9.891 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002577/0.04311, allocations: 69.95 kB / 386.2 MB, free: 9.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.04432, allocations: 0.5229 MB / 386.7 MB, free: 9.297 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005814/0.05014, allocations: 3.176 MB / 389.9 MB, free: 6.004 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009439/0.05108, allocations: 405.5 kB / 390.3 MB, free: 5.582 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005168/0.0516, allocations: 217.5 kB / 390.5 MB, free: 5.363 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.913e-05/0.05166, allocations: 16.5 kB / 390.5 MB, free: 5.348 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/0.0517, allocations: 45.89 kB / 390.6 MB, free: 5.293 MB / 362.7 MB Notification: Performance of pre-optimization done (n=73): time 3.316e-06/0.05171, allocations: 0 / 390.6 MB, free: 5.293 MB / 362.7 MB Notification: Performance of matching and sorting (n=75): time 0.003532/0.05524, allocations: 1.496 MB / 392.1 MB, free: 3.758 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.047e-05/0.05532, allocations: 85.75 kB / 392.2 MB, free: 3.656 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006817/0.056, allocations: 0.5298 MB / 392.7 MB, free: 3.109 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.987e-05/0.05606, allocations: 41.67 kB / 392.7 MB, free: 3.062 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003874/0.05645, allocations: 431.2 kB / 393.2 MB, free: 2.633 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003048/0.05675, allocations: 293.6 kB / 393.4 MB, free: 2.344 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003007/0.05705, allocations: 172.3 kB / 393.6 MB, free: 2.168 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003859/0.05744, allocations: 0.5743 MB / 394.2 MB, free: 1.582 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000376/0.05781, allocations: 157.9 kB / 394.3 MB, free: 1.426 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006669/0.05848, allocations: 447 kB / 394.8 MB, free: 0.8906 MB / 362.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.005022/0.0635, allocations: 1.502 MB / 396.3 MB, free: 15.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.467e-06/0.06351, allocations: 4 kB / 396.3 MB, free: 15.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001569/0.06508, allocations: 0.7175 MB / 397 MB, free: 14.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.0651, allocations: 8 kB / 397 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.06512, allocations: 8.062 kB / 397 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001781/0.0653, allocations: 39.66 kB / 397.1 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008323/0.06613, allocations: 187.7 kB / 397.2 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/0.06787, allocations: 1.81 MB / 399 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004494/0.06832, allocations: 35.97 kB / 399.1 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.869e-05/0.0684, allocations: 40.02 kB / 399.1 MB, free: 12.3 MB / 378.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.0004275/0.06883, allocations: 228.3 kB / 399.3 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.06903, allocations: 87.58 kB / 399.4 MB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.07039, allocations: 0.5933 MB / 400 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002051/0.07059, allocations: 12 kB / 400 MB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.0706, allocations: 8 kB / 400 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.07061, allocations: 3.984 kB / 400 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003515/0.07413, allocations: 1.593 MB / 401.6 MB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.07413, allocations: 7.938 kB / 401.6 MB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008609/0.075, allocations: 151.7 kB / 401.8 MB, free: 9.484 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001363/0.07513, allocations: 44.36 kB / 401.8 MB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.049e-05/0.07519, allocations: 24 kB / 401.9 MB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/0.07684, allocations: 1.795 MB / 403.7 MB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/0.07685, allocations: 11.94 kB / 403.7 MB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.07879, allocations: 1.084 MB / 404.8 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.07892, allocations: 59.58 kB / 404.8 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.559e-05/0.07902, allocations: 27.92 kB / 404.8 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000369/0.07939, allocations: 31.97 kB / 404.9 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.07952, allocations: 64.28 kB / 404.9 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.803e-05/0.07958, allocations: 23.98 kB / 405 MB, free: 6.094 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006702/0.08025, allocations: 327 kB / 405.3 MB, free: 5.773 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08025, allocations: 0 / 405.3 MB, free: 5.773 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007781/0.08102, allocations: 187.9 kB / 405.5 MB, free: 5.59 MB / 378.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.0003504/0.08137, allocations: 159.1 kB / 405.6 MB, free: 5.426 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001461/0.08284, allocations: 0.7165 MB / 406.3 MB, free: 4.691 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.08284, allocations: 0 / 406.3 MB, free: 4.691 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007024/0.08354, allocations: 464.4 kB / 406.8 MB, free: 4.219 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008396/0.08438, allocations: 139.6 kB / 406.9 MB, free: 4.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003011/0.08739, allocations: 1.696 MB / 408.6 MB, free: 2.273 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005273/0.08792, allocations: 392.2 kB / 409 MB, free: 1.863 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000531/0.08845, allocations: 173.1 kB / 409.2 MB, free: 1.691 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.08865, allocations: 64.48 kB / 409.2 MB, free: 1.629 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.08865, allocations: 0 / 409.2 MB, free: 1.629 MB / 378.7 MB Notification: Performance of Templates: time 0.0179/0.1065, allocations: 7.816 MB / 417 MB, free: 9.934 MB / 394.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.941379201016389]