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.001851/0.001851, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.002313/0.002313, allocations: 161.7 kB / 22.75 MB, free: 1.656 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 1.48/1.48, allocations: 158.6 MB / 184.6 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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.0672/0.0672, allocations: 10.65 MB / 247.5 MB, free: 4.535 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.555e-06/2.555e-06, allocations: 0 / 318.7 MB, free: 39.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.945e-05/3.2e-05, allocations: 8.141 kB / 318.8 MB, free: 39.92 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.01428/0.01432, allocations: 13.83 MB / 332.6 MB, free: 26.04 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.02661, allocations: 6.481 MB / 339.1 MB, free: 19.54 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00412/0.03073, allocations: 99.19 kB / 339.2 MB, free: 19.45 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003259/0.03399, allocations: 0.81 MB / 340 MB, free: 18.63 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008234/0.04222, allocations: 2.601 MB / 342.6 MB, free: 16.03 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003944/0.04616, allocations: 1.538 MB / 344.1 MB, free: 14.49 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00698/0.05315, allocations: 5.409 MB / 349.5 MB, free: 9.074 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/0.05472, allocations: 480.9 kB / 350 MB, free: 8.582 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005387/0.06011, allocations: 2.541 MB / 352.5 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002877/0.06298, allocations: 1.511 MB / 354 MB, free: 4.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001014/0.064, allocations: 308 kB / 354.3 MB, free: 4.219 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/0.06646, allocations: 0.7181 MB / 355.1 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004641/0.06692, allocations: 0.6691 MB / 355.7 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001563/0.06849, allocations: 1.2 MB / 356.9 MB, free: 1.625 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007515/0.076, allocations: 4.432 MB / 361.4 MB, free: 13.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.07601, allocations: 0 / 361.4 MB, free: 13.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.07601, allocations: 0 / 361.4 MB, free: 13.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.000129/0.07614, allocations: 0 / 361.4 MB, free: 13.18 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.01797/0.09411, allocations: 4.252 MB / 365.6 MB, free: 8.879 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.09416, allocations: 8.031 kB / 365.6 MB, free: 8.871 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002255/0.09642, allocations: 0.5847 MB / 366.2 MB, free: 8.285 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005623/0.102, allocations: 2.039 MB / 368.2 MB, free: 6.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001883/0.1022, allocations: 164.4 kB / 368.4 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004417/0.1027, allocations: 229.2 kB / 368.6 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004973/0.1076, allocations: 2.21 MB / 370.8 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.931e-05/0.1077, allocations: 0 / 370.8 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002077/0.1079, allocations: 84 kB / 370.9 MB, free: 3.402 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.396e-05/0.108, allocations: 48 kB / 371 MB, free: 3.355 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004281/0.1122, allocations: 1.897 MB / 372.9 MB, free: 1.453 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.02221/0.1344, allocations: 7.76 MB / 380.6 MB, free: 9.473 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004537/0.139, allocations: 1.765 MB / 382.4 MB, free: 7.723 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002017/0.141, allocations: 0.7407 MB / 383.1 MB, free: 6.984 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001329/0.1411, allocations: 38 kB / 383.2 MB, free: 6.949 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.954e-05/0.1412, allocations: 52.56 kB / 383.2 MB, free: 6.887 MB / 314.7 MB Notification: Performance of pre-optimization done (n=194): time 7.323e-06/0.1412, allocations: 0 / 383.2 MB, free: 6.887 MB / 314.7 MB Notification: Performance of matching and sorting (n=194): time 0.01122/0.1524, allocations: 3.411 MB / 386.6 MB, free: 3.469 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001546/0.1526, allocations: 176.2 kB / 386.8 MB, free: 3.262 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003656/0.1562, allocations: 1.876 MB / 388.7 MB, free: 1.352 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003773/0.1566, allocations: 69.7 kB / 388.7 MB, free: 1.277 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001213/0.1578, allocations: 1.122 MB / 389.9 MB, free: 148 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001401/0.1592, allocations: 0.7127 MB / 390.6 MB, free: 15.42 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008456/0.1601, allocations: 465.5 kB / 391 MB, free: 14.96 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.1603, allocations: 301.1 kB / 391.3 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00196/0.1622, allocations: 0.8364 MB / 392.2 MB, free: 13.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002919/0.1651, allocations: 1.845 MB / 394 MB, free: 11.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004355/0.1695, allocations: 2.198 MB / 396.2 MB, free: 9.176 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.616e-05/0.1695, allocations: 4 kB / 396.2 MB, free: 9.172 MB / 330.7 MB Notification: Performance of matching and sorting (n=336) (initialization): time 0.0113/0.1808, allocations: 3.853 MB / 400.1 MB, free: 5.234 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.705e-05/0.1808, allocations: 12 kB / 400.1 MB, free: 5.223 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.989e-05/0.1809, allocations: 12 kB / 400.1 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01527/0.1961, allocations: 2.522 MB / 402.6 MB, free: 2.652 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002494/0.1986, allocations: 0.5266 MB / 403.1 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03226/0.2309, allocations: 19.91 MB / 423.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002818/0.2337, allocations: 250.6 kB / 423.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002263/0.2339, allocations: 103.9 kB / 423.4 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002282/0.2362, allocations: 1.071 MB / 424.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002646/0.2389, allocations: 1.741 MB / 426.2 MB, free: 9.547 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003528/0.2424, allocations: 2.034 MB / 428.2 MB, free: 7.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.164e-05/0.2424, allocations: 4 kB / 428.2 MB, free: 7.266 MB / 362.7 MB Notification: Performance of matching and sorting (n=336) (initialization_lambda0): time 0.007495/0.2499, allocations: 3.037 MB / 431.3 MB, free: 4.148 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.2499, allocations: 12 kB / 431.3 MB, free: 4.137 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.81e-05/0.25, allocations: 16 kB / 431.3 MB, free: 4.121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01085/0.2608, allocations: 1.647 MB / 433 MB, free: 2.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002784/0.2636, allocations: 0.6008 MB / 433.6 MB, free: 1.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1546/0.4182, allocations: 15.26 MB / 448.8 MB, free: 100.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00262/0.4208, allocations: 183.3 kB / 449 MB, free: 100.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000214/0.421, allocations: 99.5 kB / 449.1 MB, free: 100.5 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.0005427/0.4215, allocations: 333.2 kB / 449.4 MB, free: 100.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006366/0.4222, allocations: 314 kB / 449.7 MB, free: 100.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00438/0.4266, allocations: 2.099 MB / 451.8 MB, free: 99.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.609e-05/0.4266, allocations: 10.81 kB / 451.8 MB, free: 99.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.4266, allocations: 3.547 kB / 451.8 MB, free: 99.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/0.4278, allocations: 453.5 kB / 452.3 MB, free: 99.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003277/0.4281, allocations: 32.44 kB / 452.3 MB, free: 99.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/0.4296, allocations: 77.69 kB / 452.4 MB, free: 99.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000354/0.4299, allocations: 156.9 kB / 452.5 MB, free: 99.41 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00531/0.4352, allocations: 2.077 MB / 454.6 MB, free: 98.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005198/0.4404, allocations: 2.75 MB / 457.4 MB, free: 97.45 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001335/0.4418, allocations: 0.659 MB / 458 MB, free: 97.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002039/0.4438, allocations: 1.201 MB / 459.2 MB, free: 96.69 MB / 362.7 MB Notification: Performance of Backend: time 1.002e-06/0.4438, allocations: 3.844 kB / 459.2 MB, free: 96.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01281/0.4566, allocations: 6.765 MB / 466 MB, free: 92.9 MB / 362.7 MB Notification: Performance of SimCode: time 0.007471/0.4641, allocations: 5.298 MB / 471.3 MB, free: 89.35 MB / 362.7 MB Notification: Performance of Templates: time 0.07477/0.5389, allocations: 54.84 MB / 0.5138 GB, free: 35.32 MB / 362.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=480 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.205696874996647]