Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_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_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerGrids_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.0009819/0.000982, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.007938/0.007939, allocations: 172 kB / 16.26 MB, free: 6.676 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.504/1.504, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06241/0.06241, allocations: 14.16 MB / 284.9 MB, free: 7.039 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.0005182/0.0005182, allocations: 12 kB / 348.8 MB, free: 17.46 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09171/0.09224, allocations: 51.11 MB / 400 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.01525/0.1075, allocations: 15.61 MB / 415.6 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01234/0.1199, allocations: 6.765 MB / 422.3 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003521/0.1235, allocations: 71.56 kB / 422.4 MB, free: 7.758 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002873/0.1264, allocations: 0.6798 MB / 423.1 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007819/0.1342, allocations: 2.323 MB / 425.4 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003801/0.1381, allocations: 1.419 MB / 426.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1851/0.3231, allocations: 4.953 MB / 431.8 MB, free: 14.22 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001744/0.3249, allocations: 0.7033 MB / 432.5 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003018/0.328, allocations: 1.302 MB / 433.8 MB, free: 14 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003144/0.3311, allocations: 1.448 MB / 435.2 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006604/0.3318, allocations: 93.81 kB / 435.3 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002215/0.3341, allocations: 474.5 kB / 435.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004642/0.3345, allocations: 413.7 kB / 436.2 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002254/0.3368, allocations: 1.381 MB / 437.6 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005947/0.3428, allocations: 3.64 MB / 441.2 MB, free: 12.56 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3428, allocations: 0 / 441.2 MB, free: 12.56 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.3428, allocations: 0 / 441.2 MB, free: 12.56 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001338/0.3429, allocations: 0 / 441.2 MB, free: 12.56 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.01332/0.3563, allocations: 3.603 MB / 444.8 MB, free: 11.2 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.336e-05/0.3564, allocations: 8.688 kB / 444.8 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002629/0.359, allocations: 409.9 kB / 445.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004531/0.3635, allocations: 1.797 MB / 447 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002278/0.3638, allocations: 163.9 kB / 447.2 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007604/0.3646, allocations: 225.6 kB / 447.4 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004906/0.3695, allocations: 2.113 MB / 449.5 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.555e-05/0.3696, allocations: 5.438 kB / 449.5 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001823/0.3698, allocations: 83.91 kB / 449.6 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.074e-05/0.3698, allocations: 48.28 kB / 449.7 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003841/0.3737, allocations: 1.981 MB / 451.6 MB, free: 9.711 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.01552/0.3892, allocations: 11.69 MB / 463.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00421/0.3935, allocations: 2.698 MB / 466 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/0.395, allocations: 0.8395 MB / 466.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.3951, allocations: 30.48 kB / 466.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.3952, allocations: 51.44 kB / 466.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=194): time 5.1e-06/0.3952, allocations: 0 / 466.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=194): time 0.01024/0.4055, allocations: 3.514 MB / 470.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.4056, allocations: 178.8 kB / 470.6 MB, free: 9.883 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003051/0.4087, allocations: 1.782 MB / 472.4 MB, free: 8.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004254/0.4091, allocations: 69.7 kB / 472.5 MB, free: 7.996 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009346/0.4101, allocations: 1.091 MB / 473.6 MB, free: 6.902 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001015/0.4111, allocations: 0.6842 MB / 474.3 MB, free: 6.223 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003184/0.4114, allocations: 235.2 kB / 474.5 MB, free: 5.988 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.857e-05/0.4115, allocations: 305.1 kB / 474.8 MB, free: 5.688 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001768/0.4133, allocations: 0.8643 MB / 475.6 MB, free: 4.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002179/0.4155, allocations: 1.505 MB / 477.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003743/0.4192, allocations: 2.266 MB / 479.4 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.496e-05/0.4193, allocations: 9.781 kB / 479.4 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.01017/0.4295, allocations: 4.05 MB / 483.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004493/0.4299, allocations: 0.5544 MB / 484 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.653e-05/0.43, allocations: 16 kB / 484 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01684/0.4468, allocations: 1.961 MB / 486 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004393/0.4513, allocations: 0.5393 MB / 486.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02962/0.4809, allocations: 20.36 MB / 0.495 GB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003446/0.4844, allocations: 305.5 kB / 0.4953 GB, free: 3.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004016/0.4849, allocations: 104 kB / 0.4954 GB, free: 3.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.4849, allocations: 6.344 kB / 0.4954 GB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006259/0.4911, allocations: 2.736 MB / 0.4981 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.965e-05/0.4912, allocations: 19.94 kB / 0.4981 GB, free: 484 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007097/0.4983, allocations: 1.279 MB / 0.4994 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002816/0.5012, allocations: 0.6118 MB / 0.5 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01453/0.5157, allocations: 15.28 MB / 0.5149 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003074/0.5188, allocations: 202.2 kB / 0.5151 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003101/0.5192, allocations: 99.98 kB / 0.5152 GB, free: 13.76 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.001429/0.5206, allocations: 0.5635 MB / 0.5157 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007107/0.5213, allocations: 249 kB / 0.516 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004522/0.5258, allocations: 2.173 MB / 0.5181 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.197e-05/0.5259, allocations: 11.91 kB / 0.5181 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.5259, allocations: 0 / 0.5181 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/0.5272, allocations: 481.6 kB / 0.5186 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003879/0.5276, allocations: 36 kB / 0.5186 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/0.529, allocations: 103.7 kB / 0.5187 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000285/0.5293, allocations: 149.8 kB / 0.5188 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005731/0.5351, allocations: 2.181 MB / 0.521 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004863/0.54, allocations: 2.727 MB / 0.5236 GB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001254/0.5413, allocations: 0.7327 MB / 0.5243 GB, free: 4.395 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001905/0.5432, allocations: 1.148 MB / 0.5255 GB, free: 3.23 MB / 398.1 MB Notification: Performance of Backend: time 5.41e-07/0.5432, allocations: 0 / 0.5255 GB, free: 3.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01542/0.5586, allocations: 7.067 MB / 0.5324 GB, free: 12.02 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: time 0.009801/0.5685, allocations: 6.282 MB / 0.5385 GB, free: 5.711 MB / 414.1 MB Notification: Performance of Templates: time 0.07698/0.6455, allocations: 43.54 MB / 0.581 GB, free: 10.3 MB / 462.1 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.makefile (rm -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.sim & ./PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1)