Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 104.1 kB / 15.88 MB, free: 4 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 199.5 kB / 16.8 MB, free: 6.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.1 MB / 222.7 MB, free: 4.805 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06532/0.06532, allocations: 14.17 MB / 284.1 MB, free: 7.34 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 67.89 kB / 347.1 MB, free: 17.77 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0938/0.0953, allocations: 50.13 MB / 397.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.01606/0.1114, allocations: 16.33 MB / 413.6 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01266/0.1241, allocations: 6.858 MB / 420.4 MB, free: 8.305 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003796/0.128, allocations: 75.56 kB / 420.5 MB, free: 8.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003034/0.131, allocations: 0.6837 MB / 421.2 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008274/0.1394, allocations: 2.346 MB / 423.6 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004163/0.1435, allocations: 1.431 MB / 425 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1824/0.326, allocations: 4.96 MB / 429.9 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001997/0.328, allocations: 0.7144 MB / 430.7 MB, free: 14.35 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003088/0.3311, allocations: 1.373 MB / 432 MB, free: 14.26 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003286/0.3344, allocations: 1.536 MB / 433.6 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000864/0.3353, allocations: 124 kB / 433.7 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002409/0.3378, allocations: 0.4895 MB / 434.2 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006321/0.3384, allocations: 463.5 kB / 434.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003174/0.3416, allocations: 1.419 MB / 436 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007164/0.3488, allocations: 3.749 MB / 439.8 MB, free: 12.86 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.3488, allocations: 0 / 439.8 MB, free: 12.86 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3488, allocations: 0 / 439.8 MB, free: 12.86 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001507/0.349, allocations: 0 / 439.8 MB, free: 12.86 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 507 * Number of variables: 507 Notification: Performance of Generate backend data structure: time 0.01451/0.3635, allocations: 4.042 MB / 443.8 MB, free: 11.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.3636, allocations: 8.594 kB / 443.8 MB, free: 11.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/0.3655, allocations: 408.6 kB / 444.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003866/0.3694, allocations: 1.796 MB / 446 MB, free: 10.69 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001501/0.3695, allocations: 164.6 kB / 446.2 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004344/0.37, allocations: 228.8 kB / 446.4 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003802/0.3738, allocations: 2.078 MB / 448.5 MB, free: 10.13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.892e-05/0.3739, allocations: 7.844 kB / 448.5 MB, free: 10.13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/0.374, allocations: 82.88 kB / 448.6 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.944e-05/0.3741, allocations: 48.81 kB / 448.6 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003445/0.3775, allocations: 1.913 MB / 450.6 MB, free: 9.414 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01417/0.3917, allocations: 11.56 MB / 462.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004182/0.3959, allocations: 2.64 MB / 464.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/0.3974, allocations: 0.8129 MB / 465.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.3975, allocations: 22.61 kB / 465.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.3975, allocations: 61.75 kB / 465.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=194): time 6.282e-06/0.3976, allocations: 3.984 kB / 465.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=194): time 0.009667/0.4072, allocations: 3.404 MB / 469.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.975e-05/0.4073, allocations: 179.6 kB / 469.2 MB, free: 10.19 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003213/0.4106, allocations: 1.774 MB / 471 MB, free: 8.383 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003017/0.4109, allocations: 69.7 kB / 471.1 MB, free: 8.309 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009491/0.4118, allocations: 1.092 MB / 472.2 MB, free: 7.215 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008315/0.4127, allocations: 0.6876 MB / 472.9 MB, free: 6.531 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009319/0.4136, allocations: 485.3 kB / 473.3 MB, free: 6.051 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.4137, allocations: 305.1 kB / 473.6 MB, free: 5.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001764/0.4155, allocations: 0.8407 MB / 474.5 MB, free: 4.902 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0022/0.4177, allocations: 1.458 MB / 475.9 MB, free: 3.195 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00375/0.4215, allocations: 2.211 MB / 478.1 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.038e-05/0.4215, allocations: 4 kB / 478.1 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.009783/0.4313, allocations: 3.772 MB / 481.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/0.4314, allocations: 12 kB / 481.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.909e-05/0.4314, allocations: 18.25 kB / 481.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009409/0.4408, allocations: 1.814 MB / 483.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002394/0.4433, allocations: 0.5315 MB / 484.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02528/0.4686, allocations: 19.76 MB / 0.4922 GB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003325/0.4719, allocations: 273.6 kB / 0.4925 GB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004142/0.4724, allocations: 108 kB / 0.4926 GB, free: 5.188 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002841/0.4752, allocations: 1.072 MB / 0.4936 GB, free: 4.109 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002102/0.4773, allocations: 1.353 MB / 0.495 GB, free: 2.504 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003544/0.4809, allocations: 2.052 MB / 0.497 GB, free: 280 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.582e-05/0.4809, allocations: 4.281 kB / 0.497 GB, free: 276 kB / 366.1 MB Notification: Performance of matching and sorting (n=343) (initialization_lambda0): time 0.007448/0.4884, allocations: 2.959 MB / 0.4999 GB, free: 13.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.4885, allocations: 14.34 kB / 0.4999 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/0.4885, allocations: 24 kB / 0.4999 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007128/0.4956, allocations: 1.298 MB / 0.5012 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003032/0.4987, allocations: 0.6054 MB / 0.5018 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01536/0.5141, allocations: 15.3 MB / 0.5167 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002891/0.517, allocations: 206.2 kB / 0.5169 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004971/0.5175, allocations: 99.98 kB / 0.517 GB, free: 10.56 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 5 (PSS.firstWashoutVsi2.integrator.local_reset,PSS.secondWashoutVsi1.integrator.local_reset,PSS.firstWashoutVsi1.integrator.local_reset,AVR.firstOrderLim.I.local_reset,TGOV.firstOrderLim.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (3,0,66.7%), (3,0,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(38,0), (2,0), (2,0), (2,0), (2,0), (10,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0008508/0.5184, allocations: 340.1 kB / 0.5173 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008759/0.5193, allocations: 252.9 kB / 0.5176 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004809/0.5241, allocations: 2.118 MB / 0.5196 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-05/0.5241, allocations: 11.95 kB / 0.5196 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.5242, allocations: 0 / 0.5196 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/0.5256, allocations: 469.6 kB / 0.5201 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007153/0.5263, allocations: 40 kB / 0.5201 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001718/0.528, allocations: 95.62 kB / 0.5202 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003134/0.5283, allocations: 145.8 kB / 0.5204 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005723/0.5341, allocations: 2.09 MB / 0.5224 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02839/0.5625, allocations: 12.53 MB / 0.5346 GB, free: 8.418 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001424/0.564, allocations: 0.7027 MB / 0.5353 GB, free: 7.715 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002156/0.5662, allocations: 1.14 MB / 0.5364 GB, free: 6.559 MB / 414.1 MB Notification: Performance of Backend: time 9.52e-07/0.5662, allocations: 4 kB / 0.5364 GB, free: 6.555 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01621/0.5824, allocations: 6.863 MB / 0.5431 GB, free: 15.57 MB / 430.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.01389/0.5963, allocations: 8.275 MB / 0.5512 GB, free: 7.227 MB / 430.1 MB Notification: Performance of Templates: time 0.2624/0.8588, allocations: 47.96 MB / 0.5981 GB, free: 155.5 MB / 462.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.sim & ./PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1)