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.001471/0.001471, allocations: 87.58 kB / 21.19 MB, free: 3.375 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.001677/0.001677, allocations: 161 kB / 24.56 MB, free: 8 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 0.9415/0.9415, allocations: 177.1 MB / 205 MB, free: 5.633 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.2169/0.2169, allocations: 29.42 MB / 290.9 MB, free: 2.512 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.613e-06/1.613e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.367e-05, allocations: 2.312 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.009579/0.009602, allocations: 5.815 MB / 375.4 MB, free: 5.156 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00605/0.01565, allocations: 1.865 MB / 377.3 MB, free: 3.285 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004121/0.01606, allocations: 39.69 kB / 377.4 MB, free: 3.246 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002925/0.01899, allocations: 202.6 kB / 377.5 MB, free: 3.047 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.02001, allocations: 433.4 kB / 378 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.02109, allocations: 362.9 kB / 378.3 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001248/0.02234, allocations: 1.055 MB / 379.4 MB, free: 1.207 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006935/0.02304, allocations: 412.6 kB / 379.8 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.02405, allocations: 0.6116 MB / 380.4 MB, free: 192 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00093/0.02498, allocations: 0.5494 MB / 380.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001827/0.02516, allocations: 64 kB / 381 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005945/0.02575, allocations: 275.4 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003853/0.02614, allocations: 391 kB / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004462/0.02658, allocations: 295.3 kB / 381.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0071/0.03368, allocations: 0.8176 MB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.03369, allocations: 0 / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.03369, allocations: 0 / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.0337, allocations: 0 / 382.8 MB, free: 13.81 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.001655/0.03536, allocations: 1.179 MB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.03539, allocations: 11.98 kB / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006877/0.04227, allocations: 236.1 kB / 384.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008993/0.04317, allocations: 0.5654 MB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.04321, allocations: 45.69 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.04336, allocations: 72.53 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009623/0.04432, allocations: 0.6668 MB / 385.5 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.04435, allocations: 3.938 kB / 385.5 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.662e-05/0.0444, allocations: 32 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001525/0.04455, allocations: 77.92 kB / 385.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006883/0.05144, allocations: 439.5 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009332/0.06077, allocations: 2.995 MB / 389.1 MB, free: 7.277 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006466/0.06142, allocations: 388.8 kB / 389.4 MB, free: 6.879 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.06175, allocations: 200.1 kB / 389.6 MB, free: 6.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.979e-05/0.0618, allocations: 16.5 kB / 389.7 MB, free: 6.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.06183, allocations: 41.89 kB / 389.7 MB, free: 6.609 MB / 362.7 MB Notification: Performance of pre-optimization done (n=73): time 2.715e-06/0.06183, allocations: 3.938 kB / 389.7 MB, free: 6.605 MB / 362.7 MB Notification: Performance of matching and sorting (n=75): time 0.008411/0.07024, allocations: 1.427 MB / 391.1 MB, free: 5.141 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.07029, allocations: 89.75 kB / 391.2 MB, free: 5.035 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003831/0.07067, allocations: 458.5 kB / 391.7 MB, free: 4.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.07071, allocations: 33.7 kB / 391.7 MB, free: 4.531 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/0.07092, allocations: 419.1 kB / 392.1 MB, free: 4.113 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.0711, allocations: 273.7 kB / 392.4 MB, free: 3.844 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/0.07129, allocations: 156.2 kB / 392.5 MB, free: 3.684 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.07147, allocations: 0.5549 MB / 393.1 MB, free: 3.117 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.07173, allocations: 137.9 kB / 393.2 MB, free: 2.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0064/0.07813, allocations: 403 kB / 393.6 MB, free: 2.488 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.00137/0.0795, allocations: 0.9185 MB / 394.5 MB, free: 1.473 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.07951, allocations: 3.984 kB / 394.5 MB, free: 1.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00107/0.08058, allocations: 0.6859 MB / 395.2 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.0806, allocations: 4 kB / 395.2 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.08061, allocations: 8 kB / 395.2 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001384/0.08075, allocations: 35.66 kB / 395.3 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006577/0.08733, allocations: 196.1 kB / 395.5 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009937/0.08832, allocations: 1.783 MB / 397.2 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002868/0.08861, allocations: 39.97 kB / 397.3 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-05/0.08867, allocations: 35.98 kB / 397.3 MB, free: 14.55 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.0002013/0.08887, allocations: 204.3 kB / 397.5 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.08901, allocations: 95.59 kB / 397.6 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00292/0.09193, allocations: 0.562 MB / 398.2 MB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.419e-05/0.09195, allocations: 15.98 kB / 398.2 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.09196, allocations: 0 / 398.2 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.09197, allocations: 7.984 kB / 398.2 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.09371, allocations: 1.471 MB / 399.7 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.09371, allocations: 4 kB / 399.7 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003529/0.09407, allocations: 151.8 kB / 399.8 MB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.42e-05/0.09414, allocations: 27.67 kB / 399.8 MB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.09417, allocations: 27.98 kB / 399.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000705/0.09488, allocations: 1.779 MB / 401.7 MB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.09488, allocations: 7.938 kB / 401.7 MB, free: 9.938 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009339/0.09582, allocations: 1.018 MB / 402.7 MB, free: 8.812 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.259e-05/0.09587, allocations: 55.56 kB / 402.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.967e-05/0.09592, allocations: 35.95 kB / 402.8 MB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.09609, allocations: 27.97 kB / 402.8 MB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.707e-05/0.09616, allocations: 64.28 kB / 402.9 MB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.09619, allocations: 27.98 kB / 402.9 MB, free: 8.605 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001723/0.09636, allocations: 279.1 kB / 403.2 MB, free: 8.332 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09636, allocations: 0 / 403.2 MB, free: 8.332 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004535/0.09682, allocations: 184 kB / 403.3 MB, free: 8.152 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.0002352/0.09705, allocations: 162.3 kB / 403.5 MB, free: 7.988 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007897/0.09784, allocations: 0.6628 MB / 404.2 MB, free: 7.305 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.09785, allocations: 4 kB / 404.2 MB, free: 7.301 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003506/0.0982, allocations: 434.2 kB / 404.6 MB, free: 6.852 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/0.09871, allocations: 139 kB / 404.7 MB, free: 6.719 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.1009, allocations: 1.692 MB / 406.4 MB, free: 4.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.1011, allocations: 215.3 kB / 406.6 MB, free: 4.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003071/0.1014, allocations: 165.1 kB / 406.8 MB, free: 4.516 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.1015, allocations: 60.48 kB / 406.8 MB, free: 4.453 MB / 378.7 MB Notification: Performance of SimCode: time 8.41e-07/0.1015, allocations: 0 / 406.8 MB, free: 4.453 MB / 378.7 MB Notification: Performance of Templates: time 0.01063/0.1122, allocations: 7.836 MB / 414.7 MB, free: 12.73 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.265319178812206]