Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Examples.ENTSOE.TestCase1.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.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.ENTSOE.TestCase1") translateModel(PowerGrids.Examples.ENTSOE.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.ENTSOE.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 103.9 kB / 16.96 MB, free: 5.84 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.001306/0.001306, allocations: 190.2 kB / 17.9 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.279/1.279, allocations: 205.1 MB / 223.8 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06311/0.06311, allocations: 14.17 MB / 285.3 MB, free: 13.93 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.001387/0.001387, allocations: 59.91 kB / 349.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2179, allocations: 50.13 MB / 399.4 MB, free: 48.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.TestCase1): time 0.007733/0.2256, allocations: 8.83 MB / 408.3 MB, free: 41.71 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006402/0.2321, allocations: 4.168 MB / 412.4 MB, free: 38.26 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.2336, allocations: 52.59 kB / 412.5 MB, free: 38.24 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.2347, allocations: 441.8 kB / 412.9 MB, free: 37.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0031/0.2379, allocations: 1.414 MB / 414.3 MB, free: 36.42 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.2395, allocations: 0.9519 MB / 415.3 MB, free: 35.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002567/0.2421, allocations: 2.698 MB / 418 MB, free: 32.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006452/0.2428, allocations: 0.6044 MB / 418.6 MB, free: 32.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009299/0.2437, allocations: 0.9379 MB / 419.5 MB, free: 31.2 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007664/0.2445, allocations: 0.9721 MB / 420.5 MB, free: 30.22 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002091/0.2447, allocations: 196 kB / 420.7 MB, free: 30.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006833/0.2454, allocations: 411.8 kB / 421.1 MB, free: 29.62 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000199/0.2456, allocations: 426.4 kB / 421.5 MB, free: 29.21 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005399/0.2461, allocations: 0.9443 MB / 422.5 MB, free: 28.26 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001751/0.2479, allocations: 2.445 MB / 424.9 MB, free: 25.8 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.2479, allocations: 0 / 424.9 MB, free: 25.8 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2479, allocations: 0 / 424.9 MB, free: 25.8 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.549e-05/0.248, allocations: 0 / 424.9 MB, free: 25.8 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.004812/0.2528, allocations: 2.393 MB / 427.3 MB, free: 23.36 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.2528, allocations: 12.03 kB / 427.3 MB, free: 23.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004948/0.2533, allocations: 226.5 kB / 427.5 MB, free: 23.12 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.2549, allocations: 1.197 MB / 428.7 MB, free: 21.87 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.317e-05/0.255, allocations: 98.59 kB / 428.8 MB, free: 21.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.2551, allocations: 148.2 kB / 429 MB, free: 21.63 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/0.2568, allocations: 1.215 MB / 430.2 MB, free: 20.33 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-05/0.2569, allocations: 3.938 kB / 430.2 MB, free: 20.33 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.58e-05/0.257, allocations: 48 kB / 430.2 MB, free: 20.28 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.257, allocations: 28 kB / 430.3 MB, free: 20.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001738/0.2588, allocations: 1.039 MB / 431.3 MB, free: 19.21 MB / 318.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.0071/0.2659, allocations: 6.012 MB / 437.3 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002149/0.2681, allocations: 1.264 MB / 438.6 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008132/0.2689, allocations: 0.4918 MB / 439.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.961e-05/0.269, allocations: 16.98 kB / 439.1 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.269, allocations: 43.56 kB / 439.1 MB, free: 10.95 MB / 318.1 MB Notification: Performance of pre-optimization done (n=109): time 3.136e-06/0.269, allocations: 4 kB / 439.1 MB, free: 10.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=110): time 0.007581/0.2766, allocations: 3.421 MB / 442.5 MB, free: 7.445 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.2767, allocations: 171.2 kB / 442.7 MB, free: 7.242 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.278, allocations: 1.18 MB / 443.9 MB, free: 6.047 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.2781, allocations: 57.7 kB / 444 MB, free: 5.984 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003184/0.2784, allocations: 0.6461 MB / 444.6 MB, free: 5.332 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/0.2787, allocations: 398.2 kB / 445 MB, free: 4.938 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003439/0.2791, allocations: 291.5 kB / 445.3 MB, free: 4.645 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.536e-05/0.2791, allocations: 301.1 kB / 445.6 MB, free: 4.348 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009068/0.28, allocations: 0.5553 MB / 446.1 MB, free: 3.789 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.281, allocations: 0.814 MB / 446.9 MB, free: 2.895 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/0.2828, allocations: 1.208 MB / 448.1 MB, free: 1.637 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.2828, allocations: 4 kB / 448.1 MB, free: 1.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005094/0.2879, allocations: 2.278 MB / 450.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.2879, allocations: 4 kB / 450.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.2879, allocations: 4 kB / 450.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006399/0.2943, allocations: 1.221 MB / 451.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/0.2959, allocations: 339.5 kB / 452 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01883/0.3148, allocations: 20.49 MB / 472.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.3163, allocations: 79.94 kB / 472.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.3165, allocations: 55.98 kB / 472.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001271/0.3178, allocations: 0.7031 MB / 473.3 MB, free: 6.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009451/0.3187, allocations: 0.7204 MB / 474 MB, free: 5.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001511/0.3202, allocations: 1.071 MB / 475.1 MB, free: 4.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.637e-06/0.3203, allocations: 4 kB / 475.1 MB, free: 4.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003956/0.3242, allocations: 1.867 MB / 477 MB, free: 2.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.3242, allocations: 8 kB / 477 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3243, allocations: 4 kB / 477 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005436/0.3297, allocations: 1.017 MB / 478 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/0.331, allocations: 347.6 kB / 478.3 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01322/0.3443, allocations: 16.62 MB / 495 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.3457, allocations: 55.92 kB / 495 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-05/0.3458, allocations: 52.17 kB / 495.1 MB, free: 15.02 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (171): * Single equations (assignments): 158 * 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 {(3,0,66.7%), (2,0,100.0%), (2,0,100.0%), (3,0,66.7%), (3,0,66.7%), (3,0,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 7 systems {(7,0), (2,0), (2,0), (4,0), (2,0), (2,0), (4,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0003438/0.3461, allocations: 276.2 kB / 495.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002257/0.3463, allocations: 146.2 kB / 495.5 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00275/0.3491, allocations: 1.321 MB / 496.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.3491, allocations: 3.984 kB / 496.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3491, allocations: 0 / 496.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005323/0.3497, allocations: 327.1 kB / 497.1 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.3498, allocations: 24 kB / 497.1 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007609/0.3506, allocations: 59.89 kB / 497.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.3508, allocations: 92.84 kB / 497.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003527/0.3543, allocations: 1.384 MB / 498.7 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01855/0.3729, allocations: 10.2 MB / 0.497 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009626/0.3739, allocations: 471.7 kB / 0.4974 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001199/0.3751, allocations: 0.7838 MB / 0.4982 GB, free: 15.77 MB / 398.1 MB Notification: Performance of Backend: time 2.81e-07/0.3751, allocations: 4 kB / 0.4982 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009208/0.3843, allocations: 5.381 MB / 0.5034 GB, free: 10.07 MB / 398.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.007727/0.3921, allocations: 6.021 MB / 0.5093 GB, free: 4.004 MB / 398.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.TestCase1 could not be translated