Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerGrids_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.01075/0.01075, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001976/0.001976, allocations: 201.9 kB / 16.68 MB, free: 5.969 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.469/1.469, allocations: 205.1 MB / 222.6 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06555/0.06555, allocations: 14.17 MB / 284.1 MB, free: 7 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.001512/0.001512, allocations: 71.88 kB / 398.6 MB, free: 13.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2773, allocations: 50.13 MB / 448.8 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.01437/0.2917, allocations: 15.96 MB / 464.7 MB, free: 5.922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01218/0.3039, allocations: 6.839 MB / 471.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004087/0.3081, allocations: 67.62 kB / 471.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003729/0.3119, allocations: 0.826 MB / 472.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01211/0.324, allocations: 2.536 MB / 475 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005648/0.3297, allocations: 1.532 MB / 476.5 MB, free: 10.94 MB / 350.1 MB [/var/lib/jenkins/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.01/0.3397, allocations: 5.095 MB / 481.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002205/0.3419, allocations: 0.749 MB / 482.4 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003992/0.346, allocations: 1.744 MB / 484.1 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004045/0.35, allocations: 1.848 MB / 486 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001154/0.3512, allocations: 284 kB / 486.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003362/0.3546, allocations: 0.7028 MB / 486.9 MB, free: 468 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001105/0.3557, allocations: 0.6303 MB / 487.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003487/0.3592, allocations: 1.644 MB / 489.2 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01036/0.3696, allocations: 4.246 MB / 493.5 MB, free: 9.922 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3697, allocations: 0 / 493.5 MB, free: 9.922 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3697, allocations: 4 kB / 493.5 MB, free: 9.918 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001485/0.3698, allocations: 0 / 493.5 MB, free: 9.918 MB / 366.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.0206/0.3904, allocations: 4.267 MB / 497.7 MB, free: 5.582 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.3905, allocations: 8.031 kB / 497.7 MB, free: 5.574 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002744/0.3933, allocations: 422.8 kB / 498.2 MB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005992/0.3993, allocations: 1.959 MB / 0.4884 GB, free: 3.129 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000242/0.3996, allocations: 160.4 kB / 0.4885 GB, free: 2.973 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008013/0.4004, allocations: 231.9 kB / 0.4888 GB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006563/0.407, allocations: 2.072 MB / 0.4908 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-05/0.4071, allocations: 0 / 0.4908 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003657/0.4074, allocations: 87.94 kB / 0.4909 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.007e-05/0.4075, allocations: 48 kB / 0.4909 GB, free: 480 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006315/0.4139, allocations: 1.912 MB / 0.4928 GB, free: 14.55 MB / 382.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.02937/0.4433, allocations: 12.24 MB / 0.5047 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006647/0.45, allocations: 2.622 MB / 0.5073 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002673/0.4527, allocations: 0.8183 MB / 0.5081 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002158/0.453, allocations: 33.91 kB / 0.5081 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.846e-05/0.453, allocations: 56.48 kB / 0.5082 GB, free: 13.56 MB / 398.1 MB Notification: Performance of pre-optimization done (n=194): time 7.293e-06/0.4531, allocations: 0 / 0.5082 GB, free: 13.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=194): time 0.0153/0.4684, allocations: 3.415 MB / 0.5115 GB, free: 10.12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.4685, allocations: 180.2 kB / 0.5117 GB, free: 9.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004878/0.4734, allocations: 1.883 MB / 0.5135 GB, free: 7.996 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003748/0.4738, allocations: 69.7 kB / 0.5136 GB, free: 7.922 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001539/0.4754, allocations: 1.114 MB / 0.5147 GB, free: 6.797 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001275/0.4767, allocations: 0.7164 MB / 0.5154 GB, free: 6.074 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00135/0.478, allocations: 485.6 kB / 0.5159 GB, free: 5.594 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4782, allocations: 305.1 kB / 0.5161 GB, free: 5.293 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002818/0.481, allocations: 0.8368 MB / 0.517 GB, free: 4.449 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003567/0.4846, allocations: 1.478 MB / 0.5184 GB, free: 2.707 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005417/0.49, allocations: 2.208 MB / 0.5206 GB, free: 256 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.32e-05/0.4901, allocations: 7.938 kB / 0.5206 GB, free: 248 kB / 398.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.01434/0.5044, allocations: 3.788 MB / 0.5243 GB, free: 12.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.339e-05/0.5045, allocations: 16.19 kB / 0.5243 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.77e-05/0.5046, allocations: 20 kB / 0.5243 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01417/0.5188, allocations: 1.812 MB / 0.5261 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003791/0.5226, allocations: 0.5383 MB / 0.5266 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03284/0.5555, allocations: 21.4 MB / 0.5475 GB, free: 3.004 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003114/0.5587, allocations: 274.4 kB / 0.5478 GB, free: 2.734 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003749/0.5591, allocations: 108 kB / 0.5479 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002513/0.5616, allocations: 1.072 MB / 0.5489 GB, free: 1.551 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001949/0.5635, allocations: 1.357 MB / 0.5502 GB, free: 15.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003252/0.5668, allocations: 2.056 MB / 0.5522 GB, free: 13.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.408e-05/0.5668, allocations: 4 kB / 0.5522 GB, free: 13.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=343) (initialization_lambda0): time 0.006551/0.5734, allocations: 2.98 MB / 0.5551 GB, free: 10.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.5734, allocations: 12 kB / 0.5552 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/0.5735, allocations: 16 kB / 0.5552 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006789/0.5803, allocations: 1.296 MB / 0.5564 GB, free: 9.211 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002384/0.5827, allocations: 0.6046 MB / 0.557 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01645/0.5991, allocations: 16.56 MB / 0.5732 GB, free: 6.633 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002783/0.6019, allocations: 202.8 kB / 0.5734 GB, free: 6.434 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004021/0.6024, allocations: 100 kB / 0.5735 GB, free: 6.336 MB / 462.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.0008001/0.6032, allocations: 343.4 kB / 0.5738 GB, free: 5.992 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/0.6042, allocations: 258.4 kB / 0.5741 GB, free: 5.738 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004688/0.6089, allocations: 2.109 MB / 0.5761 GB, free: 3.613 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.817e-05/0.609, allocations: 11.97 kB / 0.5761 GB, free: 3.602 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.609, allocations: 4 kB / 0.5761 GB, free: 3.598 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/0.6102, allocations: 0.5068 MB / 0.5766 GB, free: 3.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005003/0.6107, allocations: 40 kB / 0.5767 GB, free: 3.031 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/0.6124, allocations: 71.91 kB / 0.5767 GB, free: 2.961 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002681/0.6127, allocations: 153.8 kB / 0.5769 GB, free: 2.809 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005356/0.618, allocations: 2.096 MB / 0.5789 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004556/0.6226, allocations: 2.662 MB / 0.5815 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001202/0.6238, allocations: 0.6949 MB / 0.5822 GB, free: 13.32 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002231/0.626, allocations: 1.218 MB / 0.5834 GB, free: 12.09 MB / 478.1 MB Notification: Performance of Backend: time 8.31e-07/0.6261, allocations: 4 kB / 0.5834 GB, free: 12.09 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01531/0.6414, allocations: 7.046 MB / 0.5903 GB, free: 4.762 MB / 478.1 MB Notification: Performance of SimCode: time 0.2039/0.8454, allocations: 5.363 MB / 0.5955 GB, free: 137.2 MB / 478.1 MB Notification: Performance of Templates: time 0.06919/0.9146, allocations: 50.13 MB / 0.6445 GB, free: 101.6 MB / 478.1 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.makefile (rm -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.sim & ./PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1)