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.001472/0.001472, allocations: 105.8 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 192.9 kB / 16.91 MB, free: 6.188 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.511/1.511, allocations: 205.1 MB / 222.8 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06242/0.06242, allocations: 14.15 MB / 284.3 MB, free: 7.266 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.002327/0.002327, allocations: 75.75 kB / 347.3 MB, free: 17.63 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1346, allocations: 50.13 MB / 397.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.01938/0.1541, allocations: 16.33 MB / 413.8 MB, free: 15.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0157/0.1698, allocations: 6.846 MB / 420.6 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004577/0.1745, allocations: 75.56 kB / 420.7 MB, free: 8.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00398/0.1785, allocations: 0.6837 MB / 421.4 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009968/0.1885, allocations: 2.32 MB / 423.7 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004627/0.1932, allocations: 1.403 MB / 425.1 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.357/0.5501, allocations: 5.253 MB / 430.4 MB, free: 14.58 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00219/0.5524, allocations: 0.7432 MB / 431.1 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004036/0.5565, allocations: 1.603 MB / 432.7 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003815/0.5603, allocations: 1.676 MB / 434.4 MB, free: 14.03 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001368/0.5617, allocations: 256.5 kB / 434.6 MB, free: 14.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003405/0.5651, allocations: 0.6667 MB / 435.3 MB, free: 14.03 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001221/0.5664, allocations: 0.575 MB / 435.9 MB, free: 13.92 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005127/0.5715, allocations: 1.593 MB / 437.5 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00964/0.5812, allocations: 3.894 MB / 441.4 MB, free: 12.95 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.5812, allocations: 2.812 kB / 441.4 MB, free: 12.95 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.5812, allocations: 4.438 kB / 441.4 MB, free: 12.95 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001598/0.5814, allocations: 0 / 441.4 MB, free: 12.95 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.01621/0.5976, allocations: 4.052 MB / 445.4 MB, free: 11.5 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.624e-05/0.5977, allocations: 8.594 kB / 445.4 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002307/0.6, allocations: 408 kB / 445.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004696/0.6047, allocations: 1.8 MB / 447.6 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.6049, allocations: 160.6 kB / 447.8 MB, free: 10.35 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000387/0.6053, allocations: 228.2 kB / 448 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004528/0.6098, allocations: 2.078 MB / 450.1 MB, free: 9.324 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.214e-05/0.6099, allocations: 3.469 kB / 450.1 MB, free: 9.324 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001664/0.6101, allocations: 83.91 kB / 450.2 MB, free: 9.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.332e-05/0.6101, allocations: 52.03 kB / 450.2 MB, free: 9.258 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003459/0.6136, allocations: 1.911 MB / 452.1 MB, free: 8.59 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.01605/0.6297, allocations: 11.57 MB / 463.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004058/0.6338, allocations: 2.631 MB / 466.3 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/0.6352, allocations: 0.815 MB / 467.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.6353, allocations: 26.77 kB / 467.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/0.6354, allocations: 52.09 kB / 467.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=194): time 5.35e-06/0.6354, allocations: 0 / 467.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=194): time 0.01041/0.6458, allocations: 3.414 MB / 470.6 MB, free: 8.996 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.646, allocations: 176.2 kB / 470.8 MB, free: 8.785 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003334/0.6493, allocations: 1.778 MB / 472.6 MB, free: 6.977 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000422/0.6498, allocations: 65.7 kB / 472.7 MB, free: 6.906 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.6508, allocations: 1.091 MB / 473.7 MB, free: 5.812 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008639/0.6517, allocations: 0.6863 MB / 474.4 MB, free: 5.133 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007276/0.6524, allocations: 485.4 kB / 474.9 MB, free: 4.652 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.6525, allocations: 316.2 kB / 475.2 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/0.6542, allocations: 0.8328 MB / 476 MB, free: 3.504 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002201/0.6564, allocations: 1.465 MB / 477.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003542/0.6599, allocations: 2.207 MB / 479.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.66, allocations: 4 kB / 479.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.009625/0.6696, allocations: 3.778 MB / 483.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/0.6697, allocations: 13.56 kB / 483.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.057e-05/0.6697, allocations: 16 kB / 483.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009239/0.679, allocations: 1.814 MB / 485.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002475/0.6815, allocations: 0.5346 MB / 485.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02712/0.7086, allocations: 21.33 MB / 0.4953 GB, free: 2.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003354/0.712, allocations: 281.5 kB / 0.4956 GB, free: 2.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003003/0.7123, allocations: 104 kB / 0.4957 GB, free: 2.137 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002489/0.7148, allocations: 1.07 MB / 0.4967 GB, free: 1.062 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001694/0.7165, allocations: 1.36 MB / 0.4981 GB, free: 15.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002921/0.7195, allocations: 2.051 MB / 0.5001 GB, free: 13.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.117e-06/0.7195, allocations: 7.938 kB / 0.5001 GB, free: 13.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=343) (initialization_lambda0): time 0.006473/0.726, allocations: 2.956 MB / 0.503 GB, free: 10.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.726, allocations: 12 kB / 0.503 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/0.7261, allocations: 16 kB / 0.503 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006852/0.7329, allocations: 1.302 MB / 0.5043 GB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002507/0.7354, allocations: 0.6054 MB / 0.5048 GB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01564/0.7511, allocations: 16.51 MB / 0.521 GB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003376/0.7545, allocations: 202.2 kB / 0.5212 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005726/0.7551, allocations: 104 kB / 0.5213 GB, free: 6.234 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.001134/0.7562, allocations: 335.7 kB / 0.5216 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009551/0.7572, allocations: 248.9 kB / 0.5218 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004538/0.7618, allocations: 2.118 MB / 0.5239 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.966e-05/0.7618, allocations: 7.969 kB / 0.5239 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.7618, allocations: 0 / 0.5239 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/0.7631, allocations: 469.6 kB / 0.5244 GB, free: 3.082 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003294/0.7634, allocations: 36 kB / 0.5244 GB, free: 3.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.7646, allocations: 104.3 kB / 0.5245 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000274/0.7649, allocations: 149.8 kB / 0.5246 GB, free: 2.801 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005169/0.7701, allocations: 2.094 MB / 0.5267 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02777/0.7979, allocations: 12.71 MB / 0.5391 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001259/0.7992, allocations: 0.6949 MB / 0.5398 GB, free: 3.199 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001791/0.801, allocations: 1.148 MB / 0.5409 GB, free: 2.035 MB / 414.1 MB Notification: Performance of Backend: time 3.41e-07/0.801, allocations: 0 / 0.5409 GB, free: 2.035 MB / 414.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created initialization part: time 0.01483/0.8158, allocations: 6.998 MB / 0.5477 GB, free: 10.91 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.01657/0.8324, allocations: 8.353 MB / 0.5559 GB, free: 2.512 MB / 430.1 MB Notification: Performance of Templates: time 0.3348/1.167, allocations: 50.69 MB / 0.6054 GB, free: 155.9 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)