Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Examples.ENTSOE.SteadyState.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/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.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) Ignoring simflag -noemit -homotopyOnFirstTry=() since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Examples.ENTSOE.SteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.ENTSOE.SteadyState") translateModel(PowerGrids.Examples.ENTSOE.SteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.ENTSOE.SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 108.9 kB / 16.97 MB, free: 6.168 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.00174/0.00174, allocations: 184.9 kB / 17.89 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.206/2.206, allocations: 205.1 MB / 223.8 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.106/0.106, allocations: 14.18 MB / 285.3 MB, free: 13.92 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002706/0.002707, allocations: 67.89 kB / 349.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3432, allocations: 50.14 MB / 399.4 MB, free: 48.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.SteadyState): time 0.02345/0.3667, allocations: 16 MB / 415.4 MB, free: 35.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01717/0.3839, allocations: 6.835 MB / 422.3 MB, free: 28.45 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005224/0.3892, allocations: 71.62 kB / 422.3 MB, free: 28.38 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003953/0.3933, allocations: 0.8222 MB / 423.2 MB, free: 27.55 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01188/0.4052, allocations: 2.541 MB / 425.7 MB, free: 25.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005061/0.4103, allocations: 1.523 MB / 427.2 MB, free: 23.5 MB / 318.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo:2646:11-2646:130:writable] Error: Internal error NFFunction.Function.getBody2 got function with external section (not algorithm section) Notification: Performance of NFFlatten.flatten: time 0.009264/0.4196, allocations: 5.059 MB / 432.3 MB, free: 18.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002163/0.4217, allocations: 0.7372 MB / 433 MB, free: 17.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003341/0.4251, allocations: 1.724 MB / 434.8 MB, free: 15.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003529/0.4287, allocations: 1.832 MB / 436.6 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001127/0.4298, allocations: 284 kB / 436.9 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002871/0.4327, allocations: 0.7028 MB / 437.6 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001019/0.4338, allocations: 0.6263 MB / 438.2 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003414/0.4372, allocations: 1.636 MB / 439.8 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00801/0.4452, allocations: 4.081 MB / 443.9 MB, free: 6.742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4453, allocations: 0 / 443.9 MB, free: 6.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4453, allocations: 0 / 443.9 MB, free: 6.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000169/0.4455, allocations: 0 / 443.9 MB, free: 6.742 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 512 * Number of variables: 512 Notification: Performance of Generate backend data structure: time 0.02114/0.4666, allocations: 4.185 MB / 448.1 MB, free: 2.488 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.703e-05/0.4667, allocations: 11.97 kB / 448.1 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002451/0.4692, allocations: 412.9 kB / 448.5 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005214/0.4744, allocations: 1.852 MB / 450.4 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.4746, allocations: 168.4 kB / 450.5 MB, free: 0 / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006654/0.4753, allocations: 228 kB / 450.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005995/0.4813, allocations: 2.081 MB / 452.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-05/0.4814, allocations: 7.938 kB / 452.8 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002618/0.4817, allocations: 84 kB / 452.9 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-05/0.4818, allocations: 48 kB / 453 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00599/0.4878, allocations: 1.908 MB / 454.9 MB, free: 11.52 MB / 334.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.03084/0.5186, allocations: 12.13 MB / 467 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006538/0.5252, allocations: 2.634 MB / 469.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002303/0.5276, allocations: 0.7916 MB / 470.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.5278, allocations: 37.91 kB / 470.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.711e-05/0.5279, allocations: 56.5 kB / 470.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=191): time 8.255e-06/0.5279, allocations: 4 kB / 470.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=192): time 0.02262/0.5505, allocations: 5.407 MB / 475.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.5507, allocations: 176.2 kB / 476.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004388/0.5551, allocations: 1.854 MB / 478 MB, free: 3.086 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003147/0.5555, allocations: 69.7 kB / 478 MB, free: 3.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001322/0.5568, allocations: 1.104 MB / 479.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001101/0.5579, allocations: 0.6816 MB / 479.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001036/0.559, allocations: 465.3 kB / 480.3 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.5591, allocations: 301.1 kB / 480.6 MB, free: 456 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002595/0.5617, allocations: 0.8092 MB / 481.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003265/0.565, allocations: 1.425 MB / 482.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005716/0.5708, allocations: 2.173 MB / 485 MB, free: 11.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.808e-05/0.5708, allocations: 4 kB / 485 MB, free: 11.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=337) (initialization): time 0.01401/0.5848, allocations: 3.54 MB / 488.5 MB, free: 7.887 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.148e-05/0.585, allocations: 8 kB / 488.5 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-05/0.585, allocations: 16 kB / 488.5 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01541/0.6004, allocations: 1.739 MB / 490.3 MB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003725/0.6042, allocations: 0.5227 MB / 490.8 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04194/0.6462, allocations: 22.03 MB / 0.5008 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004312/0.6506, allocations: 147.5 kB / 0.5009 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004187/0.651, allocations: 108 kB / 0.501 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003477/0.6545, allocations: 1.064 MB / 0.5021 GB, free: 12.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002814/0.6574, allocations: 1.343 MB / 0.5034 GB, free: 10.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004662/0.662, allocations: 2.029 MB / 0.5054 GB, free: 8.629 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.605e-05/0.6621, allocations: 4 kB / 0.5054 GB, free: 8.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=337) (initialization_lambda0): time 0.01088/0.673, allocations: 3.04 MB / 0.5084 GB, free: 5.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.626e-05/0.6731, allocations: 24 kB / 0.5084 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.791e-05/0.6731, allocations: 16 kB / 0.5084 GB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01285/0.686, allocations: 1.445 MB / 0.5098 GB, free: 3.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003912/0.6899, allocations: 0.5382 MB / 0.5103 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3301/1.02, allocations: 19.01 MB / 0.5289 GB, free: 119 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004291/1.024, allocations: 110.4 kB / 0.529 GB, free: 119 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005522/1.025, allocations: 97.84 kB / 0.5291 GB, free: 119 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (284): * Single equations (assignments): 272 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(3,0,66.7%), (2,0,100.0%), (2,0,100.0%), (3,0,66.7%), (3,0,66.7%), (2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(38,0), (2,0), (2,0), (2,0), (2,0), (4,0)} Notification: Performance of prepare postOptimizeDAE: time 0.001087/1.026, allocations: 335 kB / 0.5294 GB, free: 118.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001262/1.027, allocations: 246.6 kB / 0.5296 GB, free: 118.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007224/1.035, allocations: 2.089 MB / 0.5317 GB, free: 118.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.504e-05/1.035, allocations: 10.17 kB / 0.5317 GB, free: 118.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/1.035, allocations: 1.438 kB / 0.5317 GB, free: 118.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0019/1.037, allocations: 479.8 kB / 0.5322 GB, free: 118.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009214/1.038, allocations: 39.62 kB / 0.5322 GB, free: 118.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002867/1.041, allocations: 75.91 kB / 0.5323 GB, free: 118.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004586/1.041, allocations: 155.1 kB / 0.5324 GB, free: 118.6 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009143/1.05, allocations: 2.064 MB / 0.5344 GB, free: 118.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03951/1.09, allocations: 12.68 MB / 0.5468 GB, free: 112.7 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001917/1.092, allocations: 0.6965 MB / 0.5475 GB, free: 112.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002539/1.094, allocations: 1.202 MB / 0.5487 GB, free: 111.9 MB / 414.1 MB Notification: Performance of Backend: time 7.01e-07/1.094, allocations: 0 / 0.5487 GB, free: 111.9 MB / 414.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created initialization part: time 0.01973/1.114, allocations: 7.274 MB / 0.5558 GB, free: 106 MB / 414.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.01676/1.131, allocations: 8.656 MB / 0.5642 GB, free: 97.56 MB / 414.1 MB [CodegenCpp.tpl:12250:11-12250:11:writable] Error: Template error: Unsupported zero crossing at 0: TGOV.firstOrderLim.G.y >= 0.0 and TGOV.firstOrderLim.I.y > TGOV.firstOrderLim.lim.uMax or TGOV.firstOrderLim.G.y <= 0.0 and TGOV.firstOrderLim.I.y < TGOV.firstOrderLim.lim.uMin. [CodegenCpp.tpl:12250:11-12250:11:writable] Error: Template error: Unsupported zero crossing at 1: AVR.firstOrderLim.G.y >= 0.0 and AVR.firstOrderLim.I.y > AVR.firstOrderLim.lim.uMax or AVR.firstOrderLim.G.y <= 0.0 and AVR.firstOrderLim.I.y < AVR.firstOrderLim.lim.uMin. Error: Internal error SimCode DAEmode: The model PowerGrids.Examples.ENTSOE.SteadyState could not be translated