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.001347/0.001347, allocations: 108 kB / 15.61 MB, free: 152 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.001385/0.001385, allocations: 195.9 kB / 16.53 MB, free: 6.664 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.53/1.53, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2118/0.2118, allocations: 16.71 MB / 307.1 MB, free: 14.93 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 71.88 kB / 371.7 MB, free: 3.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3256, allocations: 53.54 MB / 425.3 MB, free: 39.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.02908/0.3547, allocations: 40.89 MB / 466.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0186/0.3734, allocations: 10.48 MB / 476.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007317/0.3807, allocations: 108.6 kB / 476.7 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005656/0.3864, allocations: 1.386 MB / 478.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0143/0.4008, allocations: 3.931 MB / 482.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008021/0.4088, allocations: 2.612 MB / 484.7 MB, free: 14.01 MB / 366.1 MB [/var/lib/jenkins1/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.01788/0.4267, allocations: 8.627 MB / 493.3 MB, free: 9.555 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005948/0.4327, allocations: 2.134 MB / 495.4 MB, free: 8.414 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007835/0.4406, allocations: 2.91 MB / 498.3 MB, free: 6.926 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007949/0.4485, allocations: 3.09 MB / 0.4897 GB, free: 5.332 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002499/0.4511, allocations: 475.9 kB / 0.4901 GB, free: 5.332 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005933/0.457, allocations: 1.012 MB / 0.4911 GB, free: 5.211 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002818/0.4599, allocations: 1.061 MB / 0.4922 GB, free: 4.445 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01062/0.4705, allocations: 2.857 MB / 0.495 GB, free: 2.574 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01859/0.4891, allocations: 7.004 MB / 0.5018 GB, free: 12.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/0.4892, allocations: 0 / 0.5018 GB, free: 12.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4892, allocations: 0 / 0.5018 GB, free: 12.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004245/0.4896, allocations: 0 / 0.5018 GB, free: 12.88 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.03125/0.5209, allocations: 6.998 MB / 0.5086 GB, free: 5.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.521, allocations: 8.031 kB / 0.5086 GB, free: 5.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007124/0.5281, allocations: 1.029 MB / 0.5096 GB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009562/0.5377, allocations: 3.098 MB / 0.5127 GB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000404/0.5381, allocations: 283.1 kB / 0.5129 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001283/0.5394, allocations: 375.8 kB / 0.5133 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007885/0.5473, allocations: 4.003 MB / 0.5172 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.021e-05/0.5474, allocations: 19.81 kB / 0.5172 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003878/0.5478, allocations: 152 kB / 0.5174 GB, free: 12.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.049e-05/0.5479, allocations: 88 kB / 0.5175 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006359/0.5543, allocations: 3.172 MB / 0.5205 GB, free: 9.098 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.04149/0.5958, allocations: 24.22 MB / 0.5442 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007199/0.603, allocations: 3.587 MB / 0.5477 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002457/0.6055, allocations: 1.225 MB / 0.5489 GB, free: 10.83 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.6057, allocations: 43.05 kB / 0.5489 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.943e-05/0.6058, allocations: 77.55 kB / 0.549 GB, free: 10.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=297): time 8.055e-06/0.6058, allocations: 0 / 0.549 GB, free: 10.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=297): time 0.01671/0.6225, allocations: 5.366 MB / 0.5543 GB, free: 5.266 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/0.6227, allocations: 218.8 kB / 0.5545 GB, free: 5.004 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006976/0.6297, allocations: 3.661 MB / 0.558 GB, free: 1.324 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007954/0.6305, allocations: 97.7 kB / 0.5581 GB, free: 1.223 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002218/0.6328, allocations: 1.91 MB / 0.56 GB, free: 15.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001991/0.6348, allocations: 1.157 MB / 0.5611 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002969/0.6377, allocations: 1.536 MB / 0.5626 GB, free: 12.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.6379, allocations: 309.1 kB / 0.5629 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004888/0.6428, allocations: 2.392 MB / 0.5653 GB, free: 9.855 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006089/0.6489, allocations: 3.32 MB / 0.5685 GB, free: 6.309 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009376/0.6583, allocations: 4.686 MB / 0.5731 GB, free: 1.375 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.04e-05/0.6584, allocations: 4 kB / 0.5731 GB, free: 1.371 MB / 446.1 MB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.02232/0.6807, allocations: 8.445 MB / 0.5813 GB, free: 8.789 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.426e-05/0.6808, allocations: 10.34 kB / 0.5813 GB, free: 8.781 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.647e-05/0.6809, allocations: 16 kB / 0.5813 GB, free: 8.766 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01284/0.6937, allocations: 2.171 MB / 0.5835 GB, free: 6.555 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008397/0.7021, allocations: 1.634 MB / 0.5851 GB, free: 4.918 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3184/1.021, allocations: 25.91 MB / 0.6104 GB, free: 114.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008145/1.029, allocations: 0.5993 MB / 0.611 GB, free: 114.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001028/1.03, allocations: 270.8 kB / 0.6112 GB, free: 114.3 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005474/1.035, allocations: 2.915 MB / 0.6141 GB, free: 112.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004168/1.04, allocations: 3.203 MB / 0.6172 GB, free: 111.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006104/1.046, allocations: 4.531 MB / 0.6216 GB, free: 108.6 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.242e-05/1.046, allocations: 6.656 kB / 0.6216 GB, free: 108.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.01519/1.061, allocations: 7.625 MB / 0.6291 GB, free: 105.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.105e-05/1.061, allocations: 10.84 kB / 0.6291 GB, free: 105.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-05/1.061, allocations: 14.22 kB / 0.6291 GB, free: 105.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009819/1.071, allocations: 1.664 MB / 0.6307 GB, free: 105.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008344/1.079, allocations: 1.712 MB / 0.6324 GB, free: 105.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02036/1.1, allocations: 21.1 MB / 0.653 GB, free: 86.42 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009246/1.109, allocations: 476.7 kB / 0.6534 GB, free: 86.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001422/1.11, allocations: 271 kB / 0.6537 GB, free: 86.22 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.001448/1.112, allocations: 0.53 MB / 0.6542 GB, free: 85.75 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001449/1.113, allocations: 429.5 kB / 0.6546 GB, free: 85.59 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00685/1.12, allocations: 3.182 MB / 0.6577 GB, free: 84.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-05/1.12, allocations: 18.42 kB / 0.6578 GB, free: 84.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/1.12, allocations: 1.375 kB / 0.6578 GB, free: 84.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003132/1.123, allocations: 0.8611 MB / 0.6586 GB, free: 83.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001296/1.125, allocations: 62.84 kB / 0.6587 GB, free: 83.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003894/1.129, allocations: 151.1 kB / 0.6588 GB, free: 83.51 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005013/1.129, allocations: 221.9 kB / 0.659 GB, free: 83.48 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007733/1.137, allocations: 3.236 MB / 0.6622 GB, free: 82.21 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007354/1.144, allocations: 4.034 MB / 0.6661 GB, free: 80.28 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001777/1.146, allocations: 1.053 MB / 0.6671 GB, free: 79.85 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004436/1.151, allocations: 2.25 MB / 0.6693 GB, free: 78.98 MB / 462.1 MB Notification: Performance of Backend: time 1.222e-06/1.151, allocations: 0 / 0.6693 GB, free: 78.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.03207/1.183, allocations: 13.57 MB / 0.6826 GB, free: 66.83 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.01605/1.199, allocations: 8.127 MB / 0.6905 GB, free: 59.29 MB / 462.1 MB Notification: Performance of Templates: time 0.3848/1.584, allocations: 102.1 MB / 0.7903 GB, free: 126.6 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1)