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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 177.4 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9521/0.9521, allocations: 158.6 MB / 185.2 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.04175/0.04175, allocations: 10.66 MB / 248.2 MB, free: 4.359 MB / 234.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1500,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1500,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 271 MB, free: 13.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.445e-05, allocations: 2.312 kB / 271 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.01714/0.01717, allocations: 14.7 MB / 285.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01636/0.03353, allocations: 6.836 MB / 292.5 MB, free: 7.93 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004634/0.03816, allocations: 99.12 kB / 292.6 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003938/0.0421, allocations: 0.8296 MB / 293.4 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009407/0.05151, allocations: 2.623 MB / 296.1 MB, free: 4.359 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004325/0.05583, allocations: 1.535 MB / 297.6 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1353/0.1911, allocations: 5.413 MB / 303 MB, free: 24.24 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009409/0.192, allocations: 495.1 kB / 303.5 MB, free: 24.12 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00498/0.197, allocations: 2.56 MB / 306.1 MB, free: 24.05 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003233/0.2003, allocations: 1.483 MB / 307.5 MB, free: 23.87 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009341/0.2012, allocations: 296.7 kB / 307.8 MB, free: 23.87 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001883/0.2031, allocations: 0.723 MB / 308.6 MB, free: 23.86 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003353/0.2034, allocations: 0.6607 MB / 309.2 MB, free: 23.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001315/0.2047, allocations: 1.181 MB / 310.4 MB, free: 23.55 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003444/0.2082, allocations: 2.782 MB / 313.2 MB, free: 22.94 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2082, allocations: 0 / 313.2 MB, free: 22.94 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2082, allocations: 0 / 313.2 MB, free: 22.94 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.23e-05/0.2082, allocations: 5.438 kB / 313.2 MB, free: 22.94 MB / 282.7 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.006917/0.2151, allocations: 4.254 MB / 317.4 MB, free: 21.12 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.2152, allocations: 14.28 kB / 317.5 MB, free: 21.11 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.2162, allocations: 0.5059 MB / 318 MB, free: 21.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/0.2179, allocations: 1.2 MB / 319.2 MB, free: 20.43 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.348e-05/0.218, allocations: 165.9 kB / 319.3 MB, free: 20.35 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001856/0.2182, allocations: 227 kB / 319.5 MB, free: 20.28 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.2196, allocations: 1.585 MB / 321.1 MB, free: 19.65 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.2196, allocations: 6.938 kB / 321.1 MB, free: 19.65 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.54e-05/0.2197, allocations: 81.41 kB / 321.2 MB, free: 19.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/0.2197, allocations: 46.62 kB / 321.3 MB, free: 19.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008672/0.2206, allocations: 0.7151 MB / 322 MB, free: 19.52 MB / 282.7 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.006967/0.2275, allocations: 6.319 MB / 328.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.2286, allocations: 1.059 MB / 329.4 MB, free: 14.15 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.2289, allocations: 328.8 kB / 329.7 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.029e-05/0.229, allocations: 45.92 kB / 329.7 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.229, allocations: 52.56 kB / 329.8 MB, free: 13.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=194): time 3.306e-06/0.229, allocations: 0 / 329.8 MB, free: 13.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=194): time 0.003432/0.2325, allocations: 2.02 MB / 331.8 MB, free: 11.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.2325, allocations: 180.2 kB / 332 MB, free: 11.54 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009158/0.2334, allocations: 1.55 MB / 333.5 MB, free: 10.26 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.158e-05/0.2335, allocations: 69.7 kB / 333.6 MB, free: 10.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/0.2338, allocations: 0.8541 MB / 334.4 MB, free: 9.414 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003509/0.2342, allocations: 0.726 MB / 335.2 MB, free: 8.73 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003803/0.2345, allocations: 476.6 kB / 335.6 MB, free: 8.32 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.119e-05/0.2346, allocations: 309.1 kB / 335.9 MB, free: 8.016 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005477/0.2351, allocations: 380.8 kB / 336.3 MB, free: 7.637 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007538/0.2359, allocations: 1.39 MB / 337.7 MB, free: 5.957 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.2371, allocations: 1.459 MB / 339.2 MB, free: 4.379 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.2371, allocations: 4 kB / 339.2 MB, free: 4.375 MB / 282.7 MB Notification: Performance of matching and sorting (n=336) (initialization): time 0.003207/0.2403, allocations: 2.283 MB / 341.4 MB, free: 2.164 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.2404, allocations: 15.94 kB / 341.5 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.2404, allocations: 16 kB / 341.5 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00619/0.2466, allocations: 2.309 MB / 343.8 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/0.2481, allocations: 0.6408 MB / 344.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/0.2584, allocations: 15.72 MB / 360.1 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/0.2604, allocations: 282.1 kB / 360.4 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.2605, allocations: 79.98 kB / 360.5 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009525/0.2614, allocations: 493.2 kB / 361 MB, free: 14.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009591/0.2624, allocations: 1.37 MB / 362.3 MB, free: 12.35 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001439/0.2638, allocations: 1.44 MB / 363.8 MB, free: 10.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.154e-05/0.2638, allocations: 7.938 kB / 363.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=336) (initialization_lambda0): time 0.003002/0.2668, allocations: 1.919 MB / 365.7 MB, free: 8.918 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.2669, allocations: 12 kB / 365.7 MB, free: 8.906 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.2669, allocations: 16 kB / 365.7 MB, free: 8.891 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005146/0.272, allocations: 1.698 MB / 367.4 MB, free: 7.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001741/0.2738, allocations: 0.7554 MB / 368.2 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00734/0.2811, allocations: 13.2 MB / 381.4 MB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/0.2831, allocations: 218.6 kB / 381.6 MB, free: 8.395 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-05/0.2832, allocations: 83.64 kB / 381.7 MB, free: 8.316 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * 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 (279): * Single equations (assignments): 268 * 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.0004214/0.2836, allocations: 336.8 kB / 382 MB, free: 8.012 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003439/0.284, allocations: 211.7 kB / 382.2 MB, free: 7.805 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.2855, allocations: 1.172 MB / 383.4 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.2855, allocations: 11.95 kB / 383.4 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.2855, allocations: 0 / 383.4 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006442/0.2862, allocations: 261.9 kB / 383.7 MB, free: 6.379 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/0.2863, allocations: 36 kB / 383.7 MB, free: 6.344 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006094/0.287, allocations: 67.95 kB / 383.8 MB, free: 6.277 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/0.2872, allocations: 157.7 kB / 383.9 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001733/0.2889, allocations: 1.115 MB / 385 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00133/0.2902, allocations: 1.329 MB / 386.4 MB, free: 3.762 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000351/0.2906, allocations: 345.8 kB / 386.7 MB, free: 3.441 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006862/0.2913, allocations: 0.7742 MB / 387.5 MB, free: 2.734 MB / 330.7 MB Notification: Performance of Backend: time 8.12e-07/0.2913, allocations: 4 kB / 387.5 MB, free: 2.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006971/0.2982, allocations: 6.078 MB / 393.6 MB, free: 12.62 MB / 346.7 MB Notification: Performance of SimCode: time 0.006475/0.3047, allocations: 5.3 MB / 398.9 MB, free: 7.336 MB / 346.7 MB Notification: Performance of Templates: time 0.2007/0.5054, allocations: 61.91 MB / 460.8 MB, free: 118.6 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.463641791138798]