Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerGrids_dev_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.001162/0.001162, allocations: 104 kB / 16.35 MB, free: 5.824 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.001107/0.001107, allocations: 192.4 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07722/0.07722, allocations: 16.74 MB / 307.9 MB, free: 14.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 65.08 kB / 373.2 MB, free: 48.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07865/0.07987, allocations: 53.57 MB / 426.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.03238/0.1123, allocations: 40.64 MB / 467.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0182/0.1305, allocations: 10.37 MB / 477.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004183/0.1347, allocations: 115.3 kB / 477.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004577/0.1393, allocations: 1.385 MB / 479.2 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01059/0.1499, allocations: 3.913 MB / 483.1 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005618/0.1556, allocations: 2.501 MB / 485.6 MB, free: 0.8594 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo:2652:11-2652:130:writable] Error: Internal error NFFunction.Function.getBody2 got function with external section (not algorithm section) Notification: Performance of NFFlatten.flatten: time 0.01063/0.1662, allocations: 8.542 MB / 494.2 MB, free: 8.297 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003652/0.1699, allocations: 2.112 MB / 496.3 MB, free: 6.133 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00453/0.1744, allocations: 2.876 MB / 499.2 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004362/0.1788, allocations: 3.003 MB / 0.4904 GB, free: 236 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001295/0.1801, allocations: 460 kB / 0.4908 GB, free: 15.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003131/0.1832, allocations: 1.003 MB / 0.4918 GB, free: 14.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001295/0.1845, allocations: 1.023 MB / 0.4928 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003469/0.188, allocations: 2.81 MB / 0.4956 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007576/0.1956, allocations: 6.958 MB / 0.5024 GB, free: 3.945 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1956, allocations: 0 / 0.5024 GB, free: 3.945 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1956, allocations: 0 / 0.5024 GB, free: 3.945 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001551/0.1958, allocations: 0 / 0.5024 GB, free: 3.945 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 838 * Number of variables: 838 Notification: Performance of Generate backend data structure: time 0.1818/0.3776, allocations: 6.441 MB / 0.5087 GB, free: 76.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3777, allocations: 10.7 kB / 0.5087 GB, free: 76.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004877/0.3826, allocations: 1.017 MB / 0.5097 GB, free: 76.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005807/0.3884, allocations: 3.172 MB / 0.5128 GB, free: 75.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.3885, allocations: 270.3 kB / 0.513 GB, free: 75.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003673/0.3889, allocations: 369.6 kB / 0.5134 GB, free: 74.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004912/0.3938, allocations: 3.87 MB / 0.5171 GB, free: 72.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.04e-05/0.3939, allocations: 24.16 kB / 0.5172 GB, free: 72.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002466/0.3942, allocations: 149.6 kB / 0.5173 GB, free: 72.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-05/0.3942, allocations: 86.72 kB / 0.5174 GB, free: 72.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004834/0.3991, allocations: 3.028 MB / 0.5204 GB, free: 71.44 MB / 382.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.02602/0.4251, allocations: 24.12 MB / 0.5439 GB, free: 50.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004481/0.4296, allocations: 3.574 MB / 0.5474 GB, free: 47.63 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00149/0.4311, allocations: 1.145 MB / 0.5485 GB, free: 46.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/0.4313, allocations: 50.75 kB / 0.5486 GB, free: 46.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.97e-05/0.4314, allocations: 69.56 kB / 0.5486 GB, free: 46.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=281): time 4.729e-06/0.4314, allocations: 0 / 0.5486 GB, free: 46.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=281): time 0.01199/0.4434, allocations: 4.995 MB / 0.5535 GB, free: 41.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/0.4435, allocations: 218.8 kB / 0.5537 GB, free: 41.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004292/0.4478, allocations: 3.567 MB / 0.5572 GB, free: 37.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004125/0.4482, allocations: 93.7 kB / 0.5573 GB, free: 37.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001019/0.4492, allocations: 1.909 MB / 0.5592 GB, free: 35.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008498/0.4501, allocations: 1.1 MB / 0.5602 GB, free: 34.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001655/0.4517, allocations: 1.472 MB / 0.5617 GB, free: 32.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.78e-05/0.4518, allocations: 301.1 kB / 0.5619 GB, free: 32.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003022/0.4548, allocations: 2.27 MB / 0.5642 GB, free: 30.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003488/0.4583, allocations: 3.159 MB / 0.5673 GB, free: 26.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005352/0.4637, allocations: 4.44 MB / 0.5716 GB, free: 22.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.455e-05/0.4637, allocations: 4 kB / 0.5716 GB, free: 22.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=1044) (initialization): time 0.01316/0.4769, allocations: 8.058 MB / 0.5795 GB, free: 14.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/0.4769, allocations: 13.78 kB / 0.5795 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.957e-05/0.477, allocations: 16.03 kB / 0.5795 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01084/0.4878, allocations: 2.156 MB / 0.5816 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005964/0.4938, allocations: 1.57 MB / 0.5831 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02704/0.5209, allocations: 25.49 MB / 0.608 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006287/0.5272, allocations: 0.5846 MB / 0.6086 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006155/0.5278, allocations: 260 kB / 0.6088 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005572/0.5334, allocations: 2.765 MB / 0.6115 GB, free: 11.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004602/0.538, allocations: 3.05 MB / 0.6145 GB, free: 8.277 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006458/0.5445, allocations: 4.284 MB / 0.6187 GB, free: 3.801 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.781e-05/0.5446, allocations: 4 kB / 0.6187 GB, free: 3.797 MB / 414.1 MB Notification: Performance of matching and sorting (n=1044) (initialization_lambda0): time 0.01322/0.5578, allocations: 7.254 MB / 0.6258 GB, free: 12.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.5578, allocations: 15.94 kB / 0.6258 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.169e-05/0.5579, allocations: 12.53 kB / 0.6258 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00995/0.5678, allocations: 1.632 MB / 0.6274 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006951/0.5748, allocations: 1.642 MB / 0.629 GB, free: 9.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01988/0.5947, allocations: 20.69 MB / 0.6492 GB, free: 2.797 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007284/0.6021, allocations: 464.3 kB / 0.6497 GB, free: 2.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001158/0.6032, allocations: 260 kB / 0.6499 GB, free: 2.086 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 9 (GRIDL.componentPF.isSlackBus,GRID.componentPF.isSlackBus,NTLV.componentPF.isSlackBus,GEN.componentPF.isSlackBus,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 (971): * Single equations (assignments): 958 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,0,100.0%), (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): 7 systems {(38,0), (10,0), (16,0), (2,0), (2,0), (2,0), (2,0)} Notification: Performance of prepare postOptimizeDAE: time 0.001744/0.605, allocations: 0.513 MB / 0.6504 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001382/0.6064, allocations: 422.9 kB / 0.6508 GB, free: 1.148 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005884/0.6123, allocations: 2.975 MB / 0.6537 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.633e-05/0.6123, allocations: 23.94 kB / 0.6537 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.6124, allocations: 3.938 kB / 0.6537 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002453/0.6148, allocations: 0.8235 MB / 0.6546 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001138/0.616, allocations: 51.98 kB / 0.6546 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003249/0.6192, allocations: 155.9 kB / 0.6548 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000397/0.6196, allocations: 206.7 kB / 0.6549 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007347/0.627, allocations: 2.992 MB / 0.6579 GB, free: 9.918 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006811/0.6338, allocations: 3.743 MB / 0.6615 GB, free: 6.113 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001654/0.6355, allocations: 0.98 MB / 0.6625 GB, free: 5.129 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004029/0.6396, allocations: 2.197 MB / 0.6646 GB, free: 2.922 MB / 462.1 MB Notification: Performance of Backend: time 8.41e-07/0.6396, allocations: 0 / 0.6646 GB, free: 2.922 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.03309/0.6727, allocations: 13.02 MB / 0.6773 GB, free: 5.66 MB / 478.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.1725/0.8452, allocations: 7.83 MB / 0.685 GB, free: 151.7 MB / 478.1 MB Notification: Performance of Templates: time 0.1235/0.9687, allocations: 93.89 MB / 0.7767 GB, free: 80 MB / 478.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1)