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.001172/0.001172, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001341/0.001341, allocations: 193.2 kB / 16.13 MB, free: 6.656 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.466/1.466, allocations: 205.1 MB / 222 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06765/0.06765, allocations: 14.17 MB / 283.5 MB, free: 7.289 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.001519/0.001519, allocations: 74.55 kB / 346.5 MB, free: 17.76 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08494/0.08647, allocations: 50.13 MB / 396.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.0164/0.1029, allocations: 16.33 MB / 412.9 MB, free: 15.17 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01364/0.1166, allocations: 6.854 MB / 419.8 MB, free: 8.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003532/0.1202, allocations: 75.56 kB / 419.9 MB, free: 8.219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00305/0.1233, allocations: 0.6837 MB / 420.5 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007227/0.1306, allocations: 2.35 MB / 422.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00351/0.1341, allocations: 1.426 MB / 424.3 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1667/0.3008, allocations: 4.968 MB / 429.3 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001596/0.3025, allocations: 0.7145 MB / 430 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002695/0.3052, allocations: 1.373 MB / 431.4 MB, free: 14.24 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002853/0.3081, allocations: 1.536 MB / 432.9 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009074/0.309, allocations: 123.2 kB / 433 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002458/0.3115, allocations: 0.4893 MB / 433.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008659/0.3123, allocations: 462.3 kB / 434 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00319/0.3155, allocations: 1.418 MB / 435.4 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006064/0.3216, allocations: 3.749 MB / 439.1 MB, free: 12.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3217, allocations: 0 / 439.1 MB, free: 12.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3217, allocations: 0 / 439.1 MB, free: 12.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001443/0.3218, allocations: 3.438 kB / 439.1 MB, free: 12.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.01567/0.3375, allocations: 4.038 MB / 443.2 MB, free: 11.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.3376, allocations: 9 kB / 443.2 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002794/0.3404, allocations: 410.2 kB / 443.6 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005805/0.3462, allocations: 1.799 MB / 445.4 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001988/0.3465, allocations: 163.3 kB / 445.6 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009771/0.3475, allocations: 231.9 kB / 445.8 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006466/0.3539, allocations: 2.074 MB / 447.9 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.063e-05/0.3541, allocations: 8.156 kB / 447.9 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004594/0.3545, allocations: 82.62 kB / 447.9 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.26e-05/0.3546, allocations: 47.47 kB / 448 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004679/0.3593, allocations: 1.914 MB / 449.9 MB, free: 9.41 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.01772/0.377, allocations: 11.56 MB / 461.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004251/0.3813, allocations: 2.632 MB / 464.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001629/0.383, allocations: 0.8113 MB / 464.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.3831, allocations: 24.16 kB / 464.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.3832, allocations: 62.42 kB / 465 MB, free: 12.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=194): time 5.541e-06/0.3832, allocations: 3.984 kB / 465 MB, free: 12.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=194): time 0.01127/0.3945, allocations: 3.403 MB / 468.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.22e-05/0.3946, allocations: 183.8 kB / 468.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003588/0.3982, allocations: 1.778 MB / 470.4 MB, free: 8.352 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004826/0.3987, allocations: 65.7 kB / 470.4 MB, free: 8.281 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001104/0.3999, allocations: 1.098 MB / 471.5 MB, free: 7.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001063/0.4009, allocations: 0.6862 MB / 472.2 MB, free: 6.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001276/0.4022, allocations: 477.4 kB / 472.7 MB, free: 6.027 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.371e-05/0.4023, allocations: 317 kB / 473 MB, free: 5.715 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/0.4043, allocations: 0.8329 MB / 473.8 MB, free: 4.875 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002435/0.4068, allocations: 1.458 MB / 475.3 MB, free: 3.168 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004131/0.411, allocations: 2.215 MB / 477.5 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.009e-05/0.411, allocations: 4 kB / 477.5 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.01075/0.4218, allocations: 3.768 MB / 481.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.077e-05/0.4218, allocations: 12 kB / 481.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.101e-05/0.4219, allocations: 16 kB / 481.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009488/0.4314, allocations: 1.812 MB / 483.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002358/0.4338, allocations: 0.5374 MB / 483.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02562/0.4594, allocations: 19.77 MB / 0.4916 GB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003072/0.4625, allocations: 277.5 kB / 0.4919 GB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005397/0.4631, allocations: 96 kB / 0.492 GB, free: 5.164 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003073/0.4662, allocations: 1.075 MB / 0.493 GB, free: 4.082 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002098/0.4683, allocations: 1.35 MB / 0.4943 GB, free: 2.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003445/0.4718, allocations: 2.05 MB / 0.4963 GB, free: 256 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.818e-05/0.4718, allocations: 8 kB / 0.4963 GB, free: 248 kB / 366.1 MB Notification: Performance of matching and sorting (n=343) (initialization_lambda0): time 0.007551/0.4794, allocations: 2.962 MB / 0.4992 GB, free: 13.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.4794, allocations: 8 kB / 0.4992 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.718e-05/0.4795, allocations: 20.06 kB / 0.4993 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007203/0.4867, allocations: 1.298 MB / 0.5005 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002744/0.4895, allocations: 0.6028 MB / 0.5011 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01528/0.5048, allocations: 15.3 MB / 0.5161 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002955/0.5078, allocations: 202.2 kB / 0.5163 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005501/0.5084, allocations: 104 kB / 0.5164 GB, free: 10.54 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.0009349/0.5093, allocations: 346.5 kB / 0.5167 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000945/0.5103, allocations: 249.6 kB / 0.5169 GB, free: 9.977 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005293/0.5156, allocations: 2.114 MB / 0.519 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.778e-05/0.5156, allocations: 7.969 kB / 0.519 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.5156, allocations: 0 / 0.519 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001974/0.5176, allocations: 477 kB / 0.5194 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009068/0.5186, allocations: 36 kB / 0.5195 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002026/0.5206, allocations: 95.62 kB / 0.5196 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003868/0.521, allocations: 149.8 kB / 0.5197 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006088/0.5271, allocations: 2.086 MB / 0.5218 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005244/0.5324, allocations: 2.646 MB / 0.5243 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00134/0.5338, allocations: 0.7027 MB / 0.525 GB, free: 1.684 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002364/0.5361, allocations: 1.14 MB / 0.5261 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of Backend: time 9.62e-07/0.5362, allocations: 0 / 0.5261 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01659/0.5528, allocations: 6.878 MB / 0.5329 GB, free: 9.527 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.01049/0.5633, allocations: 6.133 MB / 0.5388 GB, free: 3.363 MB / 414.1 MB Notification: Performance of Templates: time 0.07812/0.6414, allocations: 43.72 MB / 0.5815 GB, free: 7.762 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)