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.001134/0.001134, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.33/1.33, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1944/0.1944, allocations: 16.77 MB / 307.2 MB, free: 14.75 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 63.91 kB / 371.8 MB, free: 3.562 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2824, allocations: 53.54 MB / 425.3 MB, free: 39.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.02501/0.3075, allocations: 40.9 MB / 466.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01556/0.3231, allocations: 10.48 MB / 476.7 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004684/0.3278, allocations: 108.3 kB / 476.8 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004/0.3318, allocations: 1.386 MB / 478.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009949/0.3418, allocations: 3.921 MB / 482.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00619/0.348, allocations: 2.61 MB / 484.7 MB, free: 14.02 MB / 366.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo:2647:11-2647:130:writable] Error: Internal error NFFunction.Function.getBody2 got function with external section (not algorithm section) Notification: Performance of NFFlatten.flatten: time 0.0138/0.3618, allocations: 8.622 MB / 493.4 MB, free: 9.555 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004904/0.3667, allocations: 2.137 MB / 495.5 MB, free: 8.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006215/0.373, allocations: 2.913 MB / 498.4 MB, free: 6.918 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006876/0.3799, allocations: 3.084 MB / 0.4897 GB, free: 5.328 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002131/0.382, allocations: 476.6 kB / 0.4902 GB, free: 5.328 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00474/0.3868, allocations: 1.016 MB / 0.4912 GB, free: 5.203 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00251/0.3893, allocations: 1.057 MB / 0.4922 GB, free: 4.441 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007472/0.3968, allocations: 2.873 MB / 0.495 GB, free: 2.539 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01074/0.4076, allocations: 6.999 MB / 0.5019 GB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.4076, allocations: 3.984 kB / 0.5019 GB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4076, allocations: 0 / 0.5019 GB, free: 12.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002493/0.4079, allocations: 0 / 0.5019 GB, free: 12.76 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: 862 * Number of variables: 862 Notification: Performance of Generate backend data structure: time 0.02551/0.4334, allocations: 6.99 MB / 0.5087 GB, free: 5.688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.774e-05/0.4335, allocations: 12.03 kB / 0.5087 GB, free: 5.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006479/0.44, allocations: 1.018 MB / 0.5097 GB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007521/0.4476, allocations: 3.102 MB / 0.5127 GB, free: 1.484 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002785/0.4479, allocations: 279.1 kB / 0.513 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000932/0.4488, allocations: 379.8 kB / 0.5133 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007824/0.4566, allocations: 3.992 MB / 0.5172 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.531e-05/0.4567, allocations: 19.81 kB / 0.5173 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004477/0.4572, allocations: 156 kB / 0.5174 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-05/0.4573, allocations: 88 kB / 0.5175 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005945/0.4632, allocations: 3.176 MB / 0.5206 GB, free: 8.98 MB / 398.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.03597/0.4992, allocations: 24.22 MB / 0.5443 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006648/0.5059, allocations: 3.576 MB / 0.5477 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002307/0.5083, allocations: 1.229 MB / 0.5489 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001575/0.5085, allocations: 50.91 kB / 0.549 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.113e-05/0.5085, allocations: 77.5 kB / 0.5491 GB, free: 10.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=297): time 6.021e-06/0.5086, allocations: 0 / 0.5491 GB, free: 10.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=297): time 0.01562/0.5242, allocations: 5.37 MB / 0.5543 GB, free: 5.145 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.5243, allocations: 218.8 kB / 0.5545 GB, free: 4.883 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005323/0.5296, allocations: 3.657 MB / 0.5581 GB, free: 1.207 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004885/0.5302, allocations: 97.7 kB / 0.5582 GB, free: 1.105 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00153/0.5317, allocations: 1.897 MB / 0.56 GB, free: 15.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001678/0.5334, allocations: 1.164 MB / 0.5612 GB, free: 14.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003321/0.5367, allocations: 1.536 MB / 0.5627 GB, free: 12.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002524/0.537, allocations: 305.1 kB / 0.563 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007388/0.5444, allocations: 2.4 MB / 0.5653 GB, free: 9.742 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009459/0.5539, allocations: 3.313 MB / 0.5685 GB, free: 6.203 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01428/0.5682, allocations: 4.697 MB / 0.5731 GB, free: 1.258 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.175e-05/0.5683, allocations: 4 kB / 0.5731 GB, free: 1.254 MB / 446.1 MB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.03679/0.6051, allocations: 8.442 MB / 0.5814 GB, free: 8.676 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.797e-05/0.6052, allocations: 12.03 kB / 0.5814 GB, free: 8.664 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.441e-05/0.6053, allocations: 16 kB / 0.5814 GB, free: 8.648 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02442/0.6298, allocations: 2.173 MB / 0.5835 GB, free: 6.434 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0137/0.6435, allocations: 1.631 MB / 0.5851 GB, free: 4.801 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.242/0.8856, allocations: 25.91 MB / 0.6104 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007262/0.8929, allocations: 0.6122 MB / 0.611 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/0.894, allocations: 273.1 kB / 0.6113 GB, free: 113.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006071/0.9001, allocations: 2.906 MB / 0.6141 GB, free: 112.4 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004791/0.9049, allocations: 3.202 MB / 0.6172 GB, free: 110.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006938/0.9118, allocations: 4.532 MB / 0.6217 GB, free: 108.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.11e-05/0.9119, allocations: 3.812 kB / 0.6217 GB, free: 108.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.01618/0.9281, allocations: 7.627 MB / 0.6291 GB, free: 105.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.9282, allocations: 15.66 kB / 0.6291 GB, free: 105.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.399e-05/0.9282, allocations: 16.22 kB / 0.6292 GB, free: 105.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00983/0.938, allocations: 1.663 MB / 0.6308 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007071/0.9451, allocations: 1.71 MB / 0.6324 GB, free: 104.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01724/0.9624, allocations: 21.1 MB / 0.653 GB, free: 85.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007889/0.9703, allocations: 475 kB / 0.6535 GB, free: 85.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001342/0.9717, allocations: 270.8 kB / 0.6538 GB, free: 85.7 MB / 462.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 (1015): * Single equations (assignments): 1002 * 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), (19,0), (2,0), (2,0), (2,0), (2,0)} Notification: Performance of prepare postOptimizeDAE: time 0.002508/0.9742, allocations: 0.5361 MB / 0.6543 GB, free: 85.22 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001582/0.9758, allocations: 427.6 kB / 0.6547 GB, free: 85.07 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006197/0.982, allocations: 3.185 MB / 0.6578 GB, free: 83.67 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-05/0.9821, allocations: 15.05 kB / 0.6578 GB, free: 83.67 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.9821, allocations: 0.5469 kB / 0.6578 GB, free: 83.67 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002568/0.9847, allocations: 0.8713 MB / 0.6587 GB, free: 83.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0013/0.986, allocations: 52.09 kB / 0.6587 GB, free: 83.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003319/0.9893, allocations: 153.2 kB / 0.6589 GB, free: 82.98 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004359/0.9898, allocations: 222.2 kB / 0.6591 GB, free: 82.96 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007017/0.9968, allocations: 3.234 MB / 0.6622 GB, free: 81.69 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00624/1.003, allocations: 4.039 MB / 0.6662 GB, free: 79.75 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001549/1.005, allocations: 1.053 MB / 0.6672 GB, free: 79.32 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003755/1.008, allocations: 2.246 MB / 0.6694 GB, free: 78.45 MB / 462.1 MB Notification: Performance of Backend: time 4.81e-07/1.008, allocations: 3.812 kB / 0.6694 GB, free: 78.45 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02593/1.034, allocations: 13.58 MB / 0.6827 GB, free: 66.27 MB / 462.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.01415/1.049, allocations: 8.12 MB / 0.6906 GB, free: 58.74 MB / 462.1 MB Notification: Performance of Templates: time 0.3335/1.382, allocations: 102.1 MB / 0.7903 GB, free: 127.2 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 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1)