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: 78.66 kB / 21.42 MB, free: 3.074 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.00159/0.00159, allocations: 168.8 kB / 24.82 MB, free: 9.27 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.018/1.018, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.232/0.232, allocations: 29.42 MB / 291.2 MB, free: 2.473 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.493e-06/1.493e-06, allocations: 0 / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.178e-05, allocations: 2.312 kB / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.006642/0.006664, allocations: 5.755 MB / 375.8 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002493/0.009157, allocations: 1.846 MB / 377.7 MB, free: 3.109 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002908/0.009447, allocations: 39.69 kB / 377.7 MB, free: 3.07 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006201/0.01007, allocations: 210.5 kB / 377.9 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006167/0.01068, allocations: 433.4 kB / 378.4 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006656/0.01135, allocations: 367 kB / 378.7 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008435/0.01219, allocations: 1.055 MB / 379.8 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000467/0.01266, allocations: 412.6 kB / 380.2 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.01369, allocations: 0.6779 MB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005664/0.01425, allocations: 0.5182 MB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.901e-05/0.01434, allocations: 64 kB / 381.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000385/0.01473, allocations: 263.5 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002858/0.01501, allocations: 387 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002598/0.01527, allocations: 295.3 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007797/0.01605, allocations: 0.8176 MB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.01605, allocations: 4 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01606, allocations: 0 / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.01607, allocations: 0 / 383.2 MB, free: 13.6 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.001352/0.01742, allocations: 1.121 MB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.01746, allocations: 15.98 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006528/0.01811, allocations: 212.2 kB / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006159/0.01872, allocations: 0.5134 MB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.46e-05/0.01877, allocations: 53.67 kB / 385.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.0189, allocations: 68.55 kB / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007244/0.01962, allocations: 0.6119 MB / 385.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.01964, allocations: 4 kB / 385.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.379e-05/0.0197, allocations: 23.98 kB / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001286/0.01982, allocations: 65.97 kB / 385.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005266/0.02035, allocations: 357.5 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003192/0.02354, allocations: 2.932 MB / 389.1 MB, free: 7.414 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005137/0.02406, allocations: 337.8 kB / 389.5 MB, free: 7.062 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002589/0.02432, allocations: 180.5 kB / 389.6 MB, free: 6.883 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.02435, allocations: 12.5 kB / 389.7 MB, free: 6.867 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.02438, allocations: 45.83 kB / 389.7 MB, free: 6.812 MB / 362.7 MB Notification: Performance of pre-optimization done (n=73): time 2.454e-06/0.02438, allocations: 0 / 389.7 MB, free: 6.812 MB / 362.7 MB Notification: Performance of matching and sorting (n=75): time 0.001821/0.02621, allocations: 1.111 MB / 390.8 MB, free: 5.664 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.02624, allocations: 85.77 kB / 390.9 MB, free: 5.562 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/0.02656, allocations: 450.2 kB / 391.3 MB, free: 5.105 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.02659, allocations: 37.7 kB / 391.4 MB, free: 5.062 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.0268, allocations: 423.1 kB / 391.8 MB, free: 4.641 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.02698, allocations: 277.7 kB / 392.1 MB, free: 4.367 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.02716, allocations: 160.2 kB / 392.2 MB, free: 4.203 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.02733, allocations: 0.5546 MB / 392.8 MB, free: 3.637 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.02749, allocations: 101.9 kB / 392.9 MB, free: 3.535 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.02779, allocations: 378.9 kB / 393.2 MB, free: 3.066 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.0009497/0.02874, allocations: 0.8051 MB / 394 MB, free: 2.164 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.02874, allocations: 0 / 394 MB, free: 2.164 MB / 362.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001045/0.02979, allocations: 0.6118 MB / 394.7 MB, free: 1.543 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.0298, allocations: 8 kB / 394.7 MB, free: 1.535 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.02981, allocations: 4 kB / 394.7 MB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.734e-05/0.02991, allocations: 31.67 kB / 394.7 MB, free: 1.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004845/0.0304, allocations: 171.7 kB / 394.9 MB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008852/0.03128, allocations: 1.764 MB / 396.6 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.03152, allocations: 27.88 kB / 396.7 MB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.707e-05/0.03157, allocations: 27.98 kB / 396.7 MB, free: 15.39 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.0001789/0.03175, allocations: 208.4 kB / 396.9 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.03188, allocations: 83.62 kB / 397 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007127/0.03259, allocations: 0.5034 MB / 397.5 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/0.03261, allocations: 15.98 kB / 397.5 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.03262, allocations: 4 kB / 397.5 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.03263, allocations: 3.984 kB / 397.5 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.03437, allocations: 1.377 MB / 398.9 MB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.03438, allocations: 4 kB / 398.9 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004083/0.03478, allocations: 139.8 kB / 399 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.045e-05/0.03486, allocations: 31.67 kB / 399 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.042e-05/0.0349, allocations: 27.98 kB / 399.1 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007515/0.03565, allocations: 1.748 MB / 400.8 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.03565, allocations: 12 kB / 400.8 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.03683, allocations: 0.9357 MB / 401.8 MB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-05/0.03689, allocations: 63.5 kB / 401.8 MB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.729e-05/0.03695, allocations: 20 kB / 401.9 MB, free: 9.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.03717, allocations: 19.98 kB / 401.9 MB, free: 9.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.535e-05/0.03725, allocations: 72.22 kB / 401.9 MB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.03728, allocations: 20 kB / 402 MB, free: 9.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001695/0.03745, allocations: 271 kB / 402.2 MB, free: 9.484 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03745, allocations: 0 / 402.2 MB, free: 9.484 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005644/0.03802, allocations: 184 kB / 402.4 MB, free: 9.305 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.0001956/0.03821, allocations: 163 kB / 402.6 MB, free: 9.133 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007142/0.03893, allocations: 0.6078 MB / 403.2 MB, free: 8.504 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.03893, allocations: 0 / 403.2 MB, free: 8.504 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003666/0.03929, allocations: 414.6 kB / 403.6 MB, free: 8.074 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006972/0.03999, allocations: 144 kB / 403.7 MB, free: 7.941 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.04225, allocations: 1.661 MB / 405.4 MB, free: 6.164 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.04243, allocations: 219.2 kB / 405.6 MB, free: 5.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002593/0.04269, allocations: 93.25 kB / 405.7 MB, free: 5.836 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003363/0.04302, allocations: 206.1 kB / 405.9 MB, free: 5.633 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.04302, allocations: 4 kB / 405.9 MB, free: 5.629 MB / 378.7 MB Notification: Performance of Templates: time 0.0125/0.05553, allocations: 8.378 MB / 414.3 MB, free: 13.36 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: 3.071501453407109]