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.0008312/0.0008311, allocations: 92.86 kB / 15.71 MB, free: 464 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.001175/0.001175, allocations: 177.3 kB / 16.59 MB, free: 6.398 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.602/1.602, allocations: 205.4 MB / 222.8 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06193/0.06194, allocations: 14.16 MB / 285.2 MB, free: 7.141 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.0006789/0.0006791, allocations: 12 kB / 348.8 MB, free: 17.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1286, allocations: 51.12 MB / 399.9 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.0166/0.1452, allocations: 14.57 MB / 414.5 MB, free: 76 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01481/0.1601, allocations: 6.471 MB / 421 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00485/0.165, allocations: 71.56 kB / 421.1 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003609/0.1687, allocations: 0.6015 MB / 421.7 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01094/0.1796, allocations: 2.021 MB / 423.7 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00464/0.1843, allocations: 1.115 MB / 424.8 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009059/0.1934, allocations: 4.724 MB / 429.5 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00207/0.1955, allocations: 0.5816 MB / 430.1 MB, free: 452 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2852/0.4807, allocations: 1.256 MB / 431.4 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004551/0.4853, allocations: 1.393 MB / 432.8 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008448/0.4862, allocations: 96.75 kB / 432.9 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002827/0.489, allocations: 455.5 kB / 433.3 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006488/0.4897, allocations: 398.9 kB / 433.7 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002149/0.4918, allocations: 0.5358 MB / 434.2 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006524/0.4983, allocations: 2.918 MB / 437.1 MB, free: 13.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.4984, allocations: 1.312 kB / 437.1 MB, free: 13.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.4984, allocations: 0 / 437.1 MB, free: 13.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001596/0.4986, allocations: 0 / 437.1 MB, free: 13.84 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.01289/0.5115, allocations: 3.631 MB / 440.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.23e-05/0.5115, allocations: 12.48 kB / 440.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002912/0.5145, allocations: 408.1 kB / 441.2 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005676/0.5202, allocations: 1.727 MB / 442.9 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/0.5204, allocations: 167.2 kB / 443.1 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005047/0.5209, allocations: 225.5 kB / 443.3 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004819/0.5257, allocations: 2.092 MB / 445.4 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.044e-05/0.5258, allocations: 6.766 kB / 445.4 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001678/0.526, allocations: 83.94 kB / 445.5 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.888e-05/0.526, allocations: 48.78 kB / 445.5 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00462/0.5307, allocations: 1.97 MB / 447.5 MB, free: 11.5 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.01783/0.5485, allocations: 11.66 MB / 459.1 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003982/0.5525, allocations: 2.696 MB / 461.8 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/0.5539, allocations: 0.8341 MB / 462.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.5541, allocations: 36.33 kB / 462.7 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.063e-05/0.5542, allocations: 52.69 kB / 462.8 MB, free: 1.988 MB / 318.1 MB Notification: Performance of pre-optimization done (n=194): time 5.31e-06/0.5542, allocations: 0 / 462.8 MB, free: 1.988 MB / 318.1 MB Notification: Performance of matching and sorting (n=194): time 0.009794/0.564, allocations: 3.578 MB / 466.3 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.164e-05/0.5641, allocations: 173.7 kB / 466.5 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004512/0.5686, allocations: 1.776 MB / 468.3 MB, free: 224 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002879/0.5689, allocations: 68.77 kB / 468.4 MB, free: 192 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001452/0.5704, allocations: 1.086 MB / 469.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001216/0.5716, allocations: 0.6861 MB / 470.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002884/0.5719, allocations: 52 kB / 470.2 MB, free: 14.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003255/0.5723, allocations: 415.4 kB / 470.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002128/0.5744, allocations: 0.8463 MB / 471.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002516/0.5769, allocations: 1.486 MB / 472.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002368/0.5793, allocations: 1.049 MB / 474 MB, free: 10.9 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-05/0.5794, allocations: 4 kB / 474 MB, free: 10.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.01058/0.5899, allocations: 4.015 MB / 478 MB, free: 6.922 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005408/0.5905, allocations: 0.5603 MB / 478.5 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.303e-05/0.5906, allocations: 16 kB / 478.6 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008122/0.5987, allocations: 1.693 MB / 480.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002539/0.6013, allocations: 0.5392 MB / 480.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02796/0.6293, allocations: 20.33 MB / 0.4894 GB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003805/0.6331, allocations: 309.5 kB / 0.4897 GB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007415/0.6339, allocations: 102.9 kB / 0.4898 GB, free: 13.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.6339, allocations: 6.188 kB / 0.4898 GB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007904/0.6419, allocations: 2.712 MB / 0.4924 GB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.375e-05/0.642, allocations: 16 kB / 0.4924 GB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006347/0.6484, allocations: 1.277 MB / 0.4937 GB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003015/0.6514, allocations: 0.6166 MB / 0.4943 GB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01823/0.6697, allocations: 15.26 MB / 0.5092 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004324/0.674, allocations: 206.2 kB / 0.5094 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009206/0.675, allocations: 110.9 kB / 0.5095 GB, free: 8.414 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 0,(2,100.0%) 0,(2,100.0%) 0,(3,66.7%) 0,(3,66.7%) 0} * Non-linear torn systems: 6 {38 0,2 0,2 0,2 0,2 0,10 0} Notification: Performance of prepare postOptimizeDAE: time 0.002805/0.6778, allocations: 0.5531 MB / 0.51 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001408/0.6793, allocations: 250.6 kB / 0.5103 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006083/0.6854, allocations: 2.165 MB / 0.5124 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.132e-05/0.6854, allocations: 7.969 kB / 0.5124 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.6854, allocations: 0 / 0.5124 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001952/0.6874, allocations: 481.6 kB / 0.5129 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001007/0.6884, allocations: 40 kB / 0.5129 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002201/0.6906, allocations: 103.6 kB / 0.513 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003495/0.691, allocations: 153.7 kB / 0.5131 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006066/0.6971, allocations: 2.16 MB / 0.5153 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00596/0.7031, allocations: 2.712 MB / 0.5179 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001481/0.7046, allocations: 0.7145 MB / 0.5186 GB, free: 15.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002908/0.7075, allocations: 1.128 MB / 0.5197 GB, free: 13.98 MB / 398.1 MB Notification: Performance of Backend: time 1.082e-06/0.7076, allocations: 0 / 0.5197 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01834/0.7259, allocations: 7.059 MB / 0.5266 GB, free: 6.801 MB / 398.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of SimCode: time 0.01405/0.74, allocations: 5.979 MB / 0.5324 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of Templates: time 0.09152/0.8316, allocations: 42.41 MB / 0.5738 GB, free: 6.551 MB / 446.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)