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.001111/0.001114, allocations: 110.5 kB / 17.05 MB, free: 5.812 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.001008/0.001008, allocations: 195 kB / 17.99 MB, free: 5.023 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.298/1.298, allocations: 205.1 MB / 223.9 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06265/0.06265, allocations: 14.16 MB / 285.4 MB, free: 13.89 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.001446/0.001446, allocations: 59.91 kB / 349.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.208, allocations: 50.13 MB / 399.5 MB, free: 49 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.01161/0.2196, allocations: 15.96 MB / 415.4 MB, free: 35.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009592/0.2292, allocations: 6.839 MB / 422.3 MB, free: 28.6 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002621/0.2319, allocations: 71.62 kB / 422.3 MB, free: 28.53 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001897/0.2338, allocations: 0.826 MB / 423.2 MB, free: 27.7 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00553/0.2394, allocations: 2.536 MB / 425.7 MB, free: 25.17 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002472/0.2419, allocations: 1.542 MB / 427.2 MB, free: 23.63 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.00464/0.2465, allocations: 5.08 MB / 432.3 MB, free: 18.54 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008807/0.2474, allocations: 0.7567 MB / 433.1 MB, free: 17.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001865/0.2493, allocations: 1.736 MB / 434.8 MB, free: 16.01 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001863/0.2512, allocations: 1.852 MB / 436.7 MB, free: 14.15 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004811/0.2517, allocations: 284 kB / 436.9 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.2531, allocations: 0.7028 MB / 437.6 MB, free: 13.17 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003538/0.2535, allocations: 0.6263 MB / 438.3 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001163/0.2547, allocations: 1.652 MB / 439.9 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003108/0.2578, allocations: 4.112 MB / 444 MB, free: 6.754 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2578, allocations: 0 / 444 MB, free: 6.754 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2578, allocations: 0 / 444 MB, free: 6.754 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.628e-05/0.2579, allocations: 0 / 444 MB, free: 6.754 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.01153/0.2694, allocations: 4.204 MB / 448.2 MB, free: 2.484 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.2695, allocations: 11.97 kB / 448.2 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/0.2707, allocations: 413 kB / 448.7 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002892/0.2736, allocations: 1.938 MB / 450.6 MB, free: 56 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.2737, allocations: 164.4 kB / 450.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002982/0.2741, allocations: 227.8 kB / 451 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003221/0.2773, allocations: 2.072 MB / 453 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/0.2773, allocations: 3.938 kB / 453 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/0.2775, allocations: 84 kB / 453.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-05/0.2775, allocations: 48 kB / 453.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003325/0.2809, allocations: 1.92 MB / 455.1 MB, free: 11.47 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.01728/0.2982, allocations: 12.22 MB / 467.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003836/0.302, allocations: 2.637 MB / 470 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/0.3034, allocations: 0.8105 MB / 470.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.3035, allocations: 33.91 kB / 470.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.3035, allocations: 52.56 kB / 470.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=194): time 4.709e-06/0.3035, allocations: 0 / 470.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=194): time 0.009319/0.3129, allocations: 3.414 MB / 474.3 MB, free: 7.062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.683e-05/0.313, allocations: 176.2 kB / 474.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002613/0.3156, allocations: 1.868 MB / 476.3 MB, free: 4.953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002047/0.3158, allocations: 69.7 kB / 476.4 MB, free: 4.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007685/0.3166, allocations: 1.092 MB / 477.5 MB, free: 3.773 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006524/0.3173, allocations: 0.6893 MB / 478.2 MB, free: 3.074 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006524/0.3179, allocations: 481.5 kB / 478.6 MB, free: 2.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.528e-05/0.318, allocations: 309.1 kB / 478.9 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001562/0.3196, allocations: 0.8368 MB / 479.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/0.3215, allocations: 1.471 MB / 481.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003265/0.3248, allocations: 2.209 MB / 483.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/0.3248, allocations: 4 kB / 483.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.008855/0.3337, allocations: 3.779 MB / 487.2 MB, free: 9.398 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.3338, allocations: 12 kB / 487.2 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.1e-05/0.3338, allocations: 16 kB / 487.2 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009078/0.3429, allocations: 1.82 MB / 489.1 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002086/0.345, allocations: 0.5343 MB / 489.6 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02477/0.3698, allocations: 21.37 MB / 0.499 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002726/0.3725, allocations: 261.7 kB / 0.4992 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002148/0.3728, allocations: 104 kB / 0.4993 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00197/0.3747, allocations: 1.075 MB / 0.5004 GB, free: 14.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001567/0.3763, allocations: 1.357 MB / 0.5017 GB, free: 12.99 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002703/0.379, allocations: 2.056 MB / 0.5037 GB, free: 10.69 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.177e-06/0.3791, allocations: 4 kB / 0.5037 GB, free: 10.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=343) (initialization_lambda0): time 0.006027/0.3851, allocations: 2.966 MB / 0.5066 GB, free: 7.641 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.3851, allocations: 12 kB / 0.5066 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.3852, allocations: 19.94 kB / 0.5067 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006846/0.392, allocations: 1.304 MB / 0.5079 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002329/0.3943, allocations: 0.6046 MB / 0.5085 GB, free: 5.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01555/0.4099, allocations: 16.54 MB / 0.5247 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002549/0.4125, allocations: 202.3 kB / 0.5249 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001852/0.4127, allocations: 99.98 kB / 0.525 GB, free: 3.414 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.0006072/0.4133, allocations: 333.6 kB / 0.5253 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000436/0.4137, allocations: 249 kB / 0.5255 GB, free: 2.836 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0042/0.418, allocations: 2.12 MB / 0.5276 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.898e-05/0.418, allocations: 19.88 kB / 0.5276 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.418, allocations: 0 / 0.5276 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009529/0.419, allocations: 0.4938 MB / 0.5281 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003062/0.4193, allocations: 36 kB / 0.5281 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/0.4206, allocations: 79.78 kB / 0.5282 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.1617/0.5823, allocations: 144 kB / 0.5283 GB, free: 122.3 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004827/0.5871, allocations: 2.094 MB / 0.5304 GB, free: 122.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0221/0.6093, allocations: 12.82 MB / 0.5429 GB, free: 117.1 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001037/0.6103, allocations: 0.6986 MB / 0.5436 GB, free: 116.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001364/0.6117, allocations: 1.215 MB / 0.5448 GB, free: 116.3 MB / 414.1 MB Notification: Performance of Backend: time 8.92e-07/0.6117, allocations: 0 / 0.5448 GB, free: 116.3 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.01092/0.6226, allocations: 7.011 MB / 0.5516 GB, free: 112.1 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.008767/0.6314, allocations: 7.537 MB / 0.559 GB, free: 104.7 MB / 414.1 MB Notification: Performance of Templates: time 0.06808/0.6995, allocations: 53.76 MB / 0.6115 GB, free: 51.13 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 cvode -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1)