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.0009936/0.0009936, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001054/0.001054, allocations: 169 kB / 23.27 MB, free: 1.223 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.7905/0.7905, allocations: 158.6 MB / 185.2 MB, free: 2.785 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.03753/0.03753, allocations: 10.66 MB / 248.2 MB, free: 4.285 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.242e-06/1.242e-06, allocations: 0 / 320 MB, free: 39.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393e-05/1.517e-05, allocations: 4.203 kB / 320 MB, free: 39.21 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.008207/0.008222, allocations: 14.66 MB / 334.6 MB, free: 24.5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008417/0.01664, allocations: 6.618 MB / 341.3 MB, free: 17.86 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00251/0.01915, allocations: 95.19 kB / 341.4 MB, free: 17.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002028/0.02118, allocations: 0.8062 MB / 342.2 MB, free: 16.96 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005978/0.02716, allocations: 2.606 MB / 344.8 MB, free: 14.35 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002519/0.02967, allocations: 1.544 MB / 346.3 MB, free: 12.81 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01048/0.04015, allocations: 5.404 MB / 351.7 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003798/0.04395, allocations: 480.8 kB / 352.2 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002841/0.04679, allocations: 2.565 MB / 354.8 MB, free: 4.336 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004494/0.05128, allocations: 1.48 MB / 356.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004234/0.05171, allocations: 296 kB / 356.5 MB, free: 2.562 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.05288, allocations: 0.718 MB / 357.2 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002872/0.05317, allocations: 0.6536 MB / 357.9 MB, free: 1.188 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003948/0.05712, allocations: 1.18 MB / 359.1 MB, free: 4 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006059/0.06317, allocations: 2.789 MB / 361.9 MB, free: 13.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.06318, allocations: 4 kB / 361.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.06318, allocations: 4 kB / 361.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.283e-05/0.06323, allocations: 0 / 361.9 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.007999/0.07122, allocations: 4.355 MB / 366.2 MB, free: 8.785 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.07127, allocations: 12.03 kB / 366.2 MB, free: 8.773 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.0724, allocations: 0.5925 MB / 366.8 MB, free: 8.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002146/0.07455, allocations: 1.733 MB / 368.6 MB, free: 6.379 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.07466, allocations: 164.4 kB / 368.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002505/0.07491, allocations: 236.3 kB / 369 MB, free: 5.988 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/0.07683, allocations: 1.619 MB / 370.6 MB, free: 4.238 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/0.07686, allocations: 3.938 kB / 370.6 MB, free: 4.234 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.07699, allocations: 84 kB / 370.7 MB, free: 4.152 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.664e-05/0.07702, allocations: 51.98 kB / 370.7 MB, free: 4.102 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.07831, allocations: 0.8216 MB / 371.5 MB, free: 3.277 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.02211/0.1004, allocations: 8.322 MB / 379.9 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007761/0.1082, allocations: 1.193 MB / 381 MB, free: 9.523 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004956/0.1087, allocations: 377.3 kB / 381.4 MB, free: 9.152 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-05/0.1088, allocations: 49.97 kB / 381.5 MB, free: 9.105 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.1088, allocations: 55.39 kB / 381.5 MB, free: 9.039 MB / 314.7 MB Notification: Performance of pre-optimization done (n=194): time 4.258e-06/0.1088, allocations: 0 / 381.5 MB, free: 9.039 MB / 314.7 MB Notification: Performance of matching and sorting (n=194): time 0.01728/0.1261, allocations: 2.365 MB / 383.9 MB, free: 6.668 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.1262, allocations: 176.2 kB / 384.1 MB, free: 6.461 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.1277, allocations: 1.67 MB / 385.7 MB, free: 4.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.726e-05/0.1278, allocations: 69.7 kB / 385.8 MB, free: 4.676 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007488/0.1286, allocations: 1.204 MB / 387 MB, free: 3.457 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005025/0.1291, allocations: 0.7203 MB / 387.7 MB, free: 2.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005676/0.1297, allocations: 0.4919 MB / 388.2 MB, free: 2.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1298, allocations: 476.8 kB / 388.7 MB, free: 1.762 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007051/0.1305, allocations: 412.3 kB / 389.1 MB, free: 1.352 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.1318, allocations: 1.656 MB / 390.7 MB, free: 15.24 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001866/0.1336, allocations: 1.639 MB / 392.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/0.1336, allocations: 4 kB / 392.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=336) (initialization): time 0.004588/0.1382, allocations: 2.704 MB / 395.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.1383, allocations: 12 kB / 395.1 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/0.1383, allocations: 16 kB / 395.1 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008341/0.1466, allocations: 2.373 MB / 397.5 MB, free: 8.027 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.148, allocations: 0.5304 MB / 398 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/0.16, allocations: 22.13 MB / 420.1 MB, free: 100 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.1611, allocations: 286.1 kB / 420.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-05/0.1611, allocations: 75.98 kB / 420.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007733/0.1619, allocations: 0.5467 MB / 421 MB, free: 15.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001029/0.1629, allocations: 1.641 MB / 422.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001422/0.1644, allocations: 1.631 MB / 424.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.496e-06/0.1644, allocations: 11.98 kB / 424.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=336) (initialization_lambda0): time 0.002869/0.1672, allocations: 2.326 MB / 426.6 MB, free: 8.711 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.1673, allocations: 12 kB / 426.7 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.1673, allocations: 20.89 kB / 426.7 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004984/0.1723, allocations: 1.752 MB / 428.4 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.1734, allocations: 0.6007 MB / 429 MB, free: 6.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1139/0.2872, allocations: 18.91 MB / 447.9 MB, free: 72.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/0.289, allocations: 221.1 kB / 448.2 MB, free: 72.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.2891, allocations: 80.44 kB / 448.2 MB, free: 72.97 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.0003882/0.2895, allocations: 419.5 kB / 448.6 MB, free: 72.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003448/0.2898, allocations: 325 kB / 449 MB, free: 72.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00183/0.2916, allocations: 1.381 MB / 450.3 MB, free: 72.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.2917, allocations: 9.562 kB / 450.4 MB, free: 72.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.2917, allocations: 0 / 450.4 MB, free: 72.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006592/0.2923, allocations: 499.6 kB / 450.8 MB, free: 72.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/0.2925, allocations: 39.27 kB / 450.9 MB, free: 72.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007733/0.2933, allocations: 60.88 kB / 450.9 MB, free: 72.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/0.2935, allocations: 163.4 kB / 451.1 MB, free: 72.56 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002297/0.2958, allocations: 1.378 MB / 452.5 MB, free: 72.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001553/0.2973, allocations: 1.736 MB / 454.2 MB, free: 71.82 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002997/0.2976, allocations: 378.4 kB / 454.6 MB, free: 71.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005127/0.2981, allocations: 0.9106 MB / 455.5 MB, free: 71.6 MB / 362.7 MB Notification: Performance of Backend: time 7.41e-07/0.2981, allocations: 0 / 455.5 MB, free: 71.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00619/0.3043, allocations: 7.333 MB / 462.8 MB, free: 67.6 MB / 362.7 MB Notification: Performance of SimCode: time 0.005089/0.3094, allocations: 5.64 MB / 468.5 MB, free: 64.82 MB / 362.7 MB Notification: Performance of Templates: time 0.05201/0.3614, allocations: 61.97 MB / 0.518 GB, free: 12.5 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.098710882943124]