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.001157/0.001157, 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.001169/0.001169, allocations: 199.7 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.187/1.187, allocations: 205.1 MB / 222.7 MB, free: 5.023 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05634/0.05634, allocations: 14.15 MB / 284.1 MB, free: 7.582 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.001286/0.001286, allocations: 63.91 kB / 347.1 MB, free: 17.81 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07432/0.07561, allocations: 50.14 MB / 397.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.0137/0.08934, allocations: 16.34 MB / 413.6 MB, free: 15.21 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.1, allocations: 6.846 MB / 420.5 MB, free: 8.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002872/0.1029, allocations: 75.56 kB / 420.5 MB, free: 8.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002524/0.1055, allocations: 0.6876 MB / 421.2 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006073/0.1116, allocations: 2.338 MB / 423.6 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002867/0.1145, allocations: 1.431 MB / 425 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1482/0.2627, allocations: 4.965 MB / 430 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.264, allocations: 0.7139 MB / 430.7 MB, free: 14.31 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002208/0.2662, allocations: 1.368 MB / 432 MB, free: 14.22 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001491/0.2677, allocations: 1.537 MB / 433.6 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002715/0.268, allocations: 122.3 kB / 433.7 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/0.2692, allocations: 0.5 MB / 434.2 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003328/0.2695, allocations: 454.1 kB / 434.6 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001216/0.2707, allocations: 1.418 MB / 436 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003506/0.2742, allocations: 3.751 MB / 439.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2743, allocations: 0 / 439.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2743, allocations: 3.328 kB / 439.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.346e-05/0.2743, allocations: 0 / 439.8 MB, free: 12.82 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.01066/0.285, allocations: 4.037 MB / 443.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.285, allocations: 8.906 kB / 443.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.2864, allocations: 412 kB / 444.3 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002655/0.2891, allocations: 1.794 MB / 446 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-05/0.2892, allocations: 167.1 kB / 446.2 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002759/0.2895, allocations: 225.3 kB / 446.4 MB, free: 10.63 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003084/0.2926, allocations: 2.075 MB / 448.5 MB, free: 10.15 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.363e-05/0.2926, allocations: 8.688 kB / 448.5 MB, free: 10.14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/0.2928, allocations: 81.62 kB / 448.6 MB, free: 10.08 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.484e-05/0.2928, allocations: 49.66 kB / 448.6 MB, free: 10.08 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003227/0.296, allocations: 1.913 MB / 450.6 MB, free: 9.457 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.01205/0.3081, allocations: 11.56 MB / 462.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003496/0.3116, allocations: 2.634 MB / 464.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00119/0.3128, allocations: 0.8125 MB / 465.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.622e-05/0.3129, allocations: 32.81 kB / 465.6 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.313, allocations: 54.34 kB / 465.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of pre-optimization done (n=194): time 4.258e-06/0.313, allocations: 0 / 465.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=194): time 0.00885/0.3218, allocations: 3.407 MB / 469.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.389e-05/0.3219, allocations: 180.2 kB / 469.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002436/0.3244, allocations: 1.778 MB / 471 MB, free: 8.426 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002156/0.3246, allocations: 65.7 kB / 471.1 MB, free: 8.355 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009116/0.3255, allocations: 1.092 MB / 472.2 MB, free: 7.262 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007105/0.3262, allocations: 0.6855 MB / 472.8 MB, free: 6.582 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006539/0.3269, allocations: 489.3 kB / 473.3 MB, free: 6.098 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.327, allocations: 309.1 kB / 473.6 MB, free: 5.793 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/0.3286, allocations: 0.8339 MB / 474.5 MB, free: 4.953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002002/0.3306, allocations: 1.469 MB / 475.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003251/0.3338, allocations: 2.201 MB / 478.1 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.3339, allocations: 4 kB / 478.1 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.008222/0.3421, allocations: 3.773 MB / 481.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.3421, allocations: 12 kB / 481.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/0.3422, allocations: 17.5 kB / 481.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00858/0.3507, allocations: 1.816 MB / 483.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001974/0.3527, allocations: 0.5331 MB / 484.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02322/0.376, allocations: 19.76 MB / 0.4922 GB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002629/0.3786, allocations: 277.5 kB / 0.4925 GB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001841/0.3788, allocations: 99.98 kB / 0.4926 GB, free: 5.242 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00206/0.3809, allocations: 1.072 MB / 0.4936 GB, free: 4.164 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001653/0.3826, allocations: 1.356 MB / 0.495 GB, free: 2.559 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002854/0.3854, allocations: 2.055 MB / 0.497 GB, free: 332 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.057e-06/0.3854, allocations: 4 kB / 0.497 GB, free: 328 kB / 366.1 MB Notification: Performance of matching and sorting (n=343) (initialization_lambda0): time 0.006263/0.3917, allocations: 2.96 MB / 0.4999 GB, free: 13.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.3917, allocations: 14.66 kB / 0.4999 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.3918, allocations: 20 kB / 0.4999 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006661/0.3984, allocations: 1.301 MB / 0.5012 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/0.4006, allocations: 0.6044 MB / 0.5018 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01361/0.4142, allocations: 15.3 MB / 0.5167 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/0.4163, allocations: 206.2 kB / 0.5169 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/0.4165, allocations: 104 kB / 0.517 GB, free: 10.61 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.0005053/0.417, allocations: 341.8 kB / 0.5173 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003416/0.4174, allocations: 248.9 kB / 0.5176 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003922/0.4213, allocations: 2.117 MB / 0.5196 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.4213, allocations: 7.969 kB / 0.5196 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.4213, allocations: 0 / 0.5196 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006732/0.422, allocations: 477.6 kB / 0.5201 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002609/0.4223, allocations: 32 kB / 0.5201 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.4233, allocations: 95.64 kB / 0.5202 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002413/0.4236, allocations: 149.1 kB / 0.5204 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004709/0.4283, allocations: 2.088 MB / 0.5224 GB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02198/0.4503, allocations: 12.54 MB / 0.5346 GB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001164/0.4515, allocations: 0.7023 MB / 0.5353 GB, free: 7.762 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001517/0.453, allocations: 1.144 MB / 0.5364 GB, free: 6.602 MB / 414.1 MB Notification: Performance of Backend: time 3.31e-07/0.453, allocations: 0 / 0.5364 GB, free: 6.602 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01213/0.4651, allocations: 6.858 MB / 0.5431 GB, free: 15.61 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.009249/0.4744, allocations: 8.28 MB / 0.5512 GB, free: 7.27 MB / 430.1 MB Notification: Performance of Templates: time 0.2037/0.6781, allocations: 47.96 MB / 0.5981 GB, free: 155.6 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=50 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1)