Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/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) Running command: translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_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.001054/0.001054, allocations: 105.9 kB / 17.04 MB, free: 5.664 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.001042/0.001042, allocations: 196.1 kB / 17.97 MB, free: 5.059 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.263/1.263, allocations: 205.1 MB / 223.8 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06284/0.06284, allocations: 14.17 MB / 285.4 MB, free: 13.87 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.001433/0.001433, allocations: 75.89 kB / 349.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2069, allocations: 50.12 MB / 399.5 MB, free: 48.71 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.01263/0.2196, allocations: 15.96 MB / 415.4 MB, free: 35.31 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01142/0.231, allocations: 6.839 MB / 422.3 MB, free: 28.45 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004373/0.2354, allocations: 71.62 kB / 422.3 MB, free: 28.38 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002745/0.2382, allocations: 0.826 MB / 423.2 MB, free: 27.55 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006826/0.2451, allocations: 2.538 MB / 425.7 MB, free: 25.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002888/0.248, allocations: 1.545 MB / 427.2 MB, free: 23.48 MB / 318.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo:2652:11-2652:130:writable] Error: Internal error NFFunction.Function.getBody2 got function with external section (not algorithm section) Notification: Performance of NFFlatten.flatten: time 0.005096/0.2531, allocations: 5.083 MB / 432.3 MB, free: 18.39 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.2543, allocations: 0.7451 MB / 433.1 MB, free: 17.61 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002044/0.2564, allocations: 1.747 MB / 434.8 MB, free: 15.86 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001676/0.2581, allocations: 1.844 MB / 436.7 MB, free: 14.01 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003404/0.2584, allocations: 288 kB / 436.9 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.2596, allocations: 0.7067 MB / 437.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003368/0.2599, allocations: 0.6303 MB / 438.3 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001054/0.261, allocations: 1.648 MB / 439.9 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00316/0.2642, allocations: 4.114 MB / 444 MB, free: 6.605 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2642, allocations: 0 / 444 MB, free: 6.605 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2642, allocations: 4 kB / 444 MB, free: 6.602 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.396e-05/0.2642, allocations: 0 / 444 MB, free: 6.602 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: 507 * Number of variables: 507 Notification: Performance of Generate backend data structure: time 0.01076/0.275, allocations: 4.2 MB / 448.2 MB, free: 2.336 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.275, allocations: 8.031 kB / 448.2 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/0.2762, allocations: 409 kB / 448.6 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003/0.2793, allocations: 1.934 MB / 450.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.2794, allocations: 164.4 kB / 450.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003041/0.2797, allocations: 231.8 kB / 451 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003349/0.283, allocations: 2.08 MB / 453 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.442e-05/0.2831, allocations: 0 / 453 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/0.2833, allocations: 84 kB / 453.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.519e-05/0.2833, allocations: 52 kB / 453.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003327/0.2866, allocations: 1.908 MB / 455.1 MB, free: 11.33 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.01875/0.3054, allocations: 12.22 MB / 467.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004103/0.3095, allocations: 2.638 MB / 469.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00142/0.311, allocations: 0.8105 MB / 470.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.3111, allocations: 25.98 kB / 470.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.3112, allocations: 68.48 kB / 470.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=194): time 3.817e-06/0.3112, allocations: 0 / 470.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=194): time 0.009421/0.3206, allocations: 3.402 MB / 474.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.802e-05/0.3207, allocations: 176.2 kB / 474.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002932/0.3237, allocations: 1.875 MB / 476.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002627/0.3239, allocations: 69.7 kB / 476.4 MB, free: 4.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009681/0.3249, allocations: 1.096 MB / 477.5 MB, free: 3.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007421/0.3257, allocations: 0.6854 MB / 478.2 MB, free: 2.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007914/0.3265, allocations: 485.5 kB / 478.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.3266, allocations: 305.1 kB / 478.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/0.3283, allocations: 0.8407 MB / 479.8 MB, free: 1.301 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002141/0.3304, allocations: 1.475 MB / 481.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003495/0.3339, allocations: 2.208 MB / 483.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/0.3339, allocations: 8 kB / 483.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.008975/0.3429, allocations: 3.774 MB / 487.2 MB, free: 9.246 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.343, allocations: 12 kB / 487.2 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.343, allocations: 16 kB / 487.3 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009015/0.352, allocations: 1.809 MB / 489.1 MB, free: 7.375 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002042/0.3541, allocations: 0.5383 MB / 489.6 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02664/0.3807, allocations: 21.36 MB / 0.499 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002687/0.3835, allocations: 269.7 kB / 0.4992 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003512/0.3838, allocations: 104 kB / 0.4993 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002394/0.3862, allocations: 1.072 MB / 0.5004 GB, free: 14.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001892/0.3881, allocations: 1.361 MB / 0.5017 GB, free: 12.85 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00307/0.3912, allocations: 2.056 MB / 0.5037 GB, free: 10.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.173e-05/0.3913, allocations: 4 kB / 0.5037 GB, free: 10.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=343) (initialization_lambda0): time 0.006561/0.3978, allocations: 2.97 MB / 0.5066 GB, free: 7.492 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.3979, allocations: 12 kB / 0.5066 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/0.3979, allocations: 12.91 kB / 0.5067 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007019/0.4049, allocations: 1.299 MB / 0.5079 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002564/0.4075, allocations: 0.6046 MB / 0.5085 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01552/0.423, allocations: 16.55 MB / 0.5247 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002749/0.4258, allocations: 198.4 kB / 0.5249 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003966/0.4262, allocations: 99.94 kB / 0.525 GB, free: 3.266 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (286): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(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), (10,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0007347/0.427, allocations: 345.6 kB / 0.5253 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007739/0.4278, allocations: 245 kB / 0.5255 GB, free: 2.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004443/0.4322, allocations: 2.113 MB / 0.5276 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.786e-05/0.4322, allocations: 7.969 kB / 0.5276 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.4323, allocations: 0 / 0.5276 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/0.4334, allocations: 0.5015 MB / 0.5281 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.1618/0.5952, allocations: 34.39 kB / 0.5281 GB, free: 122.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001688/0.5969, allocations: 74.38 kB / 0.5282 GB, free: 122.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000314/0.5973, allocations: 149.4 kB / 0.5283 GB, free: 122.2 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004578/0.6019, allocations: 2.092 MB / 0.5304 GB, free: 122 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02154/0.6234, allocations: 12.82 MB / 0.5429 GB, free: 116.9 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001037/0.6245, allocations: 0.701 MB / 0.5436 GB, free: 116.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001336/0.6258, allocations: 1.212 MB / 0.5448 GB, free: 116.2 MB / 414.1 MB Notification: Performance of Backend: time 4.21e-07/0.6258, allocations: 0 / 0.5448 GB, free: 116.2 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.011/0.6368, allocations: 7.017 MB / 0.5516 GB, free: 111.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: time 0.008127/0.645, allocations: 7.522 MB / 0.559 GB, free: 104.4 MB / 414.1 MB Notification: Performance of Templates: time 0.06408/0.7091, allocations: 53.76 MB / 0.6115 GB, free: 50.79 MB / 414.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.sim & ./PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1)