Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange.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.Tutorial.GridOperation.Controlled.ControlledGridParametersChange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 103.5 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.001123/0.001123, allocations: 186.3 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 1.651/1.651, 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.06633/0.06633, 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.001723/0.001723, allocations: 67.81 kB / 349.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2979, allocations: 50.12 MB / 399.5 MB, free: 48.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange): time 0.01444/0.3124, allocations: 16.1 MB / 415.6 MB, free: 35.22 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01288/0.3254, allocations: 6.858 MB / 422.4 MB, free: 28.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006075/0.3315, allocations: 71.56 kB / 422.5 MB, free: 28.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004851/0.3364, allocations: 0.8261 MB / 423.3 MB, free: 27.44 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01074/0.3472, allocations: 2.538 MB / 425.8 MB, free: 24.91 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004159/0.3514, allocations: 1.544 MB / 427.4 MB, free: 23.38 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.007386/0.3588, allocations: 5.071 MB / 432.5 MB, free: 18.29 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.3601, allocations: 0.745 MB / 433.2 MB, free: 17.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002936/0.363, allocations: 1.728 MB / 434.9 MB, free: 15.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002615/0.3657, allocations: 1.84 MB / 436.8 MB, free: 13.94 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006479/0.3663, allocations: 284 kB / 437 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/0.3683, allocations: 0.6911 MB / 437.7 MB, free: 12.97 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003542/0.3686, allocations: 0.6303 MB / 438.4 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001485/0.3701, allocations: 1.644 MB / 440 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004471/0.3746, allocations: 4.112 MB / 444.1 MB, free: 6.559 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3746, allocations: 0 / 444.1 MB, free: 6.559 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3746, allocations: 0 / 444.1 MB, free: 6.559 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.509e-05/0.3747, allocations: 0 / 444.1 MB, free: 6.559 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: 509 * Number of variables: 509 Notification: Performance of Generate backend data structure: time 0.01264/0.3874, allocations: 4.258 MB / 448.4 MB, free: 2.227 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.3874, allocations: 15.97 kB / 448.4 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.3891, allocations: 425 kB / 448.8 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00343/0.3926, allocations: 1.844 MB / 450.7 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/0.3927, allocations: 167.9 kB / 450.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003238/0.3931, allocations: 223.9 kB / 451 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003863/0.3969, allocations: 2.1 MB / 453.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.01e-05/0.397, allocations: 4 kB / 453.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/0.3972, allocations: 76 kB / 453.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.782e-05/0.3972, allocations: 52 kB / 453.3 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003759/0.401, allocations: 1.936 MB / 455.2 MB, free: 11.28 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.02118/0.4222, allocations: 12.26 MB / 467.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004364/0.4266, allocations: 2.733 MB / 470.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/0.4281, allocations: 0.8619 MB / 471.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.4283, allocations: 25.98 kB / 471.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002035/0.4303, allocations: 1.096 MB / 472.2 MB, free: 9.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=209): time 4.619e-06/0.4303, allocations: 3.938 kB / 472.2 MB, free: 9.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=210): time 0.01785/0.4482, allocations: 6.128 MB / 478.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002341/0.4485, allocations: 368.1 kB / 478.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003275/0.4518, allocations: 1.801 MB / 480.5 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003476/0.4521, allocations: 73.7 kB / 480.5 MB, free: 472 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001046/0.4532, allocations: 1.046 MB / 481.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001105/0.4543, allocations: 0.7317 MB / 482.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007247/0.455, allocations: 469.2 kB / 482.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.4552, allocations: 309 kB / 483.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001749/0.4569, allocations: 0.8248 MB / 483.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002251/0.4592, allocations: 1.366 MB / 485.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004102/0.4633, allocations: 2.213 MB / 487.5 MB, free: 9.055 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.4633, allocations: 0 / 487.5 MB, free: 9.055 MB / 366.1 MB Notification: Performance of matching and sorting (n=337) (initialization): time 0.01023/0.4736, allocations: 3.585 MB / 491.1 MB, free: 5.371 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.961e-05/0.4737, allocations: 63.41 kB / 491.1 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/0.4737, allocations: 12 kB / 491.1 MB, free: 5.285 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009757/0.4835, allocations: 1.743 MB / 492.9 MB, free: 3.504 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002498/0.486, allocations: 0.511 MB / 493.4 MB, free: 2.992 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02863/0.5147, allocations: 22.03 MB / 0.5033 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003123/0.5179, allocations: 131.7 kB / 0.5035 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003714/0.5183, allocations: 99.92 kB / 0.5036 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002494/0.5208, allocations: 1.087 MB / 0.5046 GB, free: 9.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001815/0.5226, allocations: 1.272 MB / 0.5059 GB, free: 8.461 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003111/0.5257, allocations: 2.077 MB / 0.5079 GB, free: 6.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.155e-05/0.5258, allocations: 4 kB / 0.5079 GB, free: 6.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=337) (initialization_lambda0): time 0.007268/0.533, allocations: 3.081 MB / 0.5109 GB, free: 2.992 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.244e-05/0.5332, allocations: 75.39 kB / 0.511 GB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/0.5332, allocations: 12 kB / 0.511 GB, free: 2.895 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008096/0.5413, allocations: 1.449 MB / 0.5124 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002604/0.544, allocations: 0.5266 MB / 0.5129 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.293/0.8369, allocations: 19.02 MB / 0.5315 GB, free: 120.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003455/0.8405, allocations: 105.4 kB / 0.5316 GB, free: 120.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003326/0.8408, allocations: 90.47 kB / 0.5317 GB, free: 120.4 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 15 (NTHV.fault,$PRE.NTHV.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,NTHV.Y.im,$PRE.NTHV.Y.im,NTHV.Y.re,$PRE.NTHV.Y.re,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 (282): * Single equations (assignments): 268 * Array equations: 0 * Algorithm blocks: 2 * 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%), (2,0,100.0%), (3,0,66.7%), (3,0,66.7%)} * 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.0007581/0.8416, allocations: 406 kB / 0.5321 GB, free: 120.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006591/0.8423, allocations: 252.4 kB / 0.5323 GB, free: 120.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00467/0.8469, allocations: 2.333 MB / 0.5346 GB, free: 120 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-05/0.847, allocations: 13.25 kB / 0.5346 GB, free: 120 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.847, allocations: 0.875 kB / 0.5346 GB, free: 120 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.848, allocations: 0.5008 MB / 0.5351 GB, free: 119.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003315/0.8484, allocations: 44.48 kB / 0.5351 GB, free: 119.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/0.8498, allocations: 73.58 kB / 0.5352 GB, free: 119.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004006/0.8502, allocations: 162.4 kB / 0.5354 GB, free: 119.7 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006399/0.8566, allocations: 2.429 MB / 0.5377 GB, free: 118.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02775/0.8844, allocations: 13.69 MB / 0.5511 GB, free: 112 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001541/0.886, allocations: 0.766 MB / 0.5519 GB, free: 111.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001852/0.8878, allocations: 1.183 MB / 0.553 GB, free: 110.8 MB / 414.1 MB Notification: Performance of Backend: time 9.22e-07/0.8879, allocations: 0 / 0.553 GB, free: 110.8 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.01359/0.9015, allocations: 7.547 MB / 0.5604 GB, free: 103 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.01238/0.9139, allocations: 9.116 MB / 0.5693 GB, free: 94 MB / 414.1 MB [CodegenCpp.tpl:12250:11-12250:11:writable] Error: Template error: Unsupported zero crossing at 2: 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 3: 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.Tutorial.GridOperation.Controlled.ControlledGridParametersChange could not be translated