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.001415/0.001415, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001444/0.001444, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.8699/0.8699, allocations: 158.6 MB / 186 MB, free: 2.793 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.04138/0.04138, allocations: 10.65 MB / 249 MB, free: 4.297 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 1.032e-06/1.032e-06, allocations: 0 / 320.8 MB, free: 39.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.191e-05/1.294e-05, allocations: 3.438 kB / 320.8 MB, free: 39.22 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.007563/0.007576, allocations: 14.65 MB / 335.4 MB, free: 24.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00559/0.01317, allocations: 6.622 MB / 342 MB, free: 17.88 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006874/0.01385, allocations: 95.19 kB / 342.1 MB, free: 17.79 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009373/0.01479, allocations: 0.8062 MB / 342.9 MB, free: 16.97 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002444/0.01723, allocations: 2.615 MB / 345.6 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.01849, allocations: 1.538 MB / 347.1 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003801/0.02229, allocations: 5.415 MB / 352.5 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.02331, allocations: 476.9 kB / 353 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00358/0.02689, allocations: 2.564 MB / 355.5 MB, free: 4.34 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001958/0.02885, allocations: 1.488 MB / 357 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004477/0.0293, allocations: 296 kB / 357.3 MB, free: 2.559 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.03067, allocations: 0.7064 MB / 358 MB, free: 1.852 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003376/0.03101, allocations: 0.6574 MB / 358.7 MB, free: 1.191 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001064/0.03208, allocations: 1.184 MB / 359.9 MB, free: 4 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004423/0.0365, allocations: 2.792 MB / 362.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.0365, allocations: 0 / 362.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.0365, allocations: 0 / 362.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.73e-05/0.03655, allocations: 0 / 362.7 MB, free: 13.2 MB / 298.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.007825/0.04438, allocations: 4.355 MB / 367 MB, free: 8.789 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.04441, allocations: 11.97 kB / 367 MB, free: 8.777 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009556/0.04537, allocations: 0.5964 MB / 367.6 MB, free: 8.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00261/0.04798, allocations: 1.729 MB / 369.4 MB, free: 6.383 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.04811, allocations: 168.4 kB / 369.5 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003182/0.04843, allocations: 228.3 kB / 369.7 MB, free: 5.996 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002103/0.05053, allocations: 1.627 MB / 371.4 MB, free: 4.238 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.838e-05/0.05057, allocations: 0 / 371.4 MB, free: 4.238 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001616/0.05073, allocations: 80 kB / 371.4 MB, free: 4.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.121e-05/0.05077, allocations: 52 kB / 371.5 MB, free: 4.109 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/0.0524, allocations: 0.8215 MB / 372.3 MB, free: 3.285 MB / 298.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.01386/0.06626, allocations: 8.326 MB / 380.6 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/0.068, allocations: 1.196 MB / 381.8 MB, free: 9.523 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004052/0.06841, allocations: 377.3 kB / 382.2 MB, free: 9.152 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.752e-05/0.06849, allocations: 41.98 kB / 382.2 MB, free: 9.113 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.06852, allocations: 55.39 kB / 382.3 MB, free: 9.047 MB / 314.7 MB Notification: Performance of pre-optimization done (n=194): time 4.068e-06/0.06852, allocations: 4 kB / 382.3 MB, free: 9.043 MB / 314.7 MB Notification: Performance of matching and sorting (n=194): time 0.004515/0.07304, allocations: 2.349 MB / 384.7 MB, free: 6.688 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.0731, allocations: 180.2 kB / 384.8 MB, free: 6.477 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.07434, allocations: 1.674 MB / 386.5 MB, free: 4.762 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.07444, allocations: 65.7 kB / 386.6 MB, free: 4.691 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006088/0.07505, allocations: 1.204 MB / 387.8 MB, free: 3.473 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004438/0.07549, allocations: 0.7203 MB / 388.5 MB, free: 2.746 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004444/0.07593, allocations: 499.7 kB / 389 MB, free: 2.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.19e-05/0.07603, allocations: 480.8 kB / 389.4 MB, free: 1.777 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005746/0.0766, allocations: 416.3 kB / 389.9 MB, free: 1.363 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.07787, allocations: 1.656 MB / 391.5 MB, free: 15.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/0.07932, allocations: 1.631 MB / 393.1 MB, free: 13.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.946e-06/0.07933, allocations: 4 kB / 393.1 MB, free: 13.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=336) (initialization): time 0.0039/0.08323, allocations: 2.707 MB / 395.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.08325, allocations: 8 kB / 395.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.08327, allocations: 16.91 kB / 395.9 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007168/0.09043, allocations: 2.38 MB / 398.3 MB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.09155, allocations: 0.5265 MB / 398.8 MB, free: 7.512 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01263/0.1042, allocations: 22.13 MB / 420.9 MB, free: 116 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.1058, allocations: 274.3 kB / 421.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.1059, allocations: 87.92 kB / 421.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001039/0.107, allocations: 0.5426 MB / 421.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001067/0.108, allocations: 1.645 MB / 423.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001449/0.1095, allocations: 1.627 MB / 425.1 MB, free: 11.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.728e-06/0.1095, allocations: 7.984 kB / 425.1 MB, free: 11.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=336) (initialization_lambda0): time 0.004057/0.1136, allocations: 2.326 MB / 427.4 MB, free: 8.734 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.1136, allocations: 15.98 kB / 427.4 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.1136, allocations: 12 kB / 427.4 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007287/0.1209, allocations: 1.748 MB / 429.2 MB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001839/0.1227, allocations: 0.6046 MB / 429.8 MB, free: 6.312 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1186/0.2413, allocations: 18.91 MB / 448.7 MB, free: 73.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.2429, allocations: 229 kB / 448.9 MB, free: 73.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.243, allocations: 79.83 kB / 449 MB, free: 73.64 MB / 362.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.0003632/0.2434, allocations: 422.9 kB / 449.4 MB, free: 73.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003577/0.2437, allocations: 317.5 kB / 449.7 MB, free: 73.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.2453, allocations: 1.38 MB / 451.1 MB, free: 73.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.2453, allocations: 7.5 kB / 451.1 MB, free: 73.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2453, allocations: 3.469 kB / 451.1 MB, free: 73.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006123/0.2459, allocations: 494 kB / 451.6 MB, free: 73.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/0.2461, allocations: 36.66 kB / 451.6 MB, free: 73.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006558/0.2468, allocations: 66.7 kB / 451.7 MB, free: 73.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.2469, allocations: 164.4 kB / 451.9 MB, free: 73.24 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001964/0.2489, allocations: 1.38 MB / 453.2 MB, free: 73.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001447/0.2504, allocations: 1.731 MB / 455 MB, free: 72.5 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003445/0.2507, allocations: 381.2 kB / 455.3 MB, free: 72.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006401/0.2513, allocations: 0.9162 MB / 456.3 MB, free: 72.28 MB / 362.7 MB Notification: Performance of Backend: time 3.61e-07/0.2513, allocations: 0 / 456.3 MB, free: 72.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007053/0.2584, allocations: 7.33 MB / 463.6 MB, free: 68.27 MB / 362.7 MB Notification: Performance of SimCode: time 0.00603/0.2644, allocations: 5.64 MB / 469.2 MB, free: 65.49 MB / 362.7 MB Notification: Performance of Templates: time 0.05704/0.3215, allocations: 63.55 MB / 0.5203 GB, free: 11.77 MB / 362.7 MB " [Timeout remaining time 660] 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 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.2925940859131515]