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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 110.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 207.6 MB / 231.4 MB, free: 3.172 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06922/0.06922, allocations: 14.4 MB / 297.9 MB, free: 0.8008 MB / 238.1 MB " [Timeout remaining time 180] 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=1500,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1500,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") [Timeout 660] "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.002176/0.002176, allocations: 75.88 kB / 421 MB, free: 3.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2986, allocations: 52.86 MB / 473.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.01869/0.3173, allocations: 16.02 MB / 489.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01436/0.3316, allocations: 6.892 MB / 496.8 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003826/0.3354, allocations: 71.62 kB / 496.9 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003395/0.3388, allocations: 0.8299 MB / 497.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00887/0.3477, allocations: 2.644 MB / 0.4886 GB, free: 2.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004396/0.3521, allocations: 1.563 MB / 0.4902 GB, free: 0.7695 MB / 350.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo:2655:11-2655:130:writable] Error: Internal error NFFunction.Function.getBody2 got function with external section (not algorithm section) Notification: Performance of NFFlatten.flatten: time 0.009326/0.3614, allocations: 5.076 MB / 0.4951 GB, free: 11.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001844/0.3633, allocations: 0.4953 MB / 0.4956 GB, free: 11.15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003645/0.3669, allocations: 1.786 MB / 0.4973 GB, free: 9.355 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003501/0.3704, allocations: 1.84 MB / 0.4991 GB, free: 7.508 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00104/0.3715, allocations: 287.9 kB / 0.4994 GB, free: 7.227 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002512/0.374, allocations: 0.7028 MB / 0.5001 GB, free: 6.523 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001064/0.375, allocations: 0.6264 MB / 0.5007 GB, free: 5.895 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003335/0.3784, allocations: 1.644 MB / 0.5023 GB, free: 4.242 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005896/0.3843, allocations: 4.244 MB / 0.5065 GB, free: 15.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.3843, allocations: 4 kB / 0.5065 GB, free: 15.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3843, allocations: 0 / 0.5065 GB, free: 15.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.828e-05/0.3843, allocations: 0 / 0.5065 GB, free: 15.98 MB / 382.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.01371/0.398, allocations: 4.275 MB / 0.5106 GB, free: 11.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.524e-05/0.3981, allocations: 11.98 kB / 0.5106 GB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/0.3998, allocations: 422.8 kB / 0.511 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004429/0.4042, allocations: 1.948 MB / 0.513 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002742/0.4045, allocations: 164.4 kB / 0.5131 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003821/0.4049, allocations: 227.9 kB / 0.5133 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004174/0.409, allocations: 2.072 MB / 0.5153 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.364e-05/0.4091, allocations: 3.938 kB / 0.5154 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001817/0.4093, allocations: 84 kB / 0.5154 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.662e-05/0.4093, allocations: 48 kB / 0.5155 GB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003809/0.4131, allocations: 1.912 MB / 0.5173 GB, free: 4.621 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.02205/0.4352, allocations: 12.24 MB / 0.5293 GB, free: 7.344 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004337/0.4395, allocations: 2.513 MB / 0.5318 GB, free: 4.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001402/0.4409, allocations: 0.7402 MB / 0.5325 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.441, allocations: 29.98 kB / 0.5325 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.182e-05/0.4411, allocations: 56.56 kB / 0.5326 GB, free: 3.824 MB / 398.1 MB Notification: Performance of pre-optimization done (n=194): time 4.058e-06/0.4411, allocations: 0 / 0.5326 GB, free: 3.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=194): time 0.009824/0.4509, allocations: 3.403 MB / 0.5359 GB, free: 404 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/0.451, allocations: 176.2 kB / 0.536 GB, free: 192 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003282/0.4543, allocations: 1.876 MB / 0.5379 GB, free: 14.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002825/0.4546, allocations: 69.69 kB / 0.5379 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009778/0.4556, allocations: 1.126 MB / 0.539 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008788/0.4565, allocations: 0.7125 MB / 0.5397 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000845/0.4573, allocations: 489.6 kB / 0.5402 GB, free: 11.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.4575, allocations: 305.1 kB / 0.5405 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/0.4593, allocations: 0.8368 MB / 0.5413 GB, free: 10.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002255/0.4616, allocations: 1.478 MB / 0.5428 GB, free: 8.984 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003756/0.4653, allocations: 2.205 MB / 0.5449 GB, free: 6.531 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.662e-05/0.4653, allocations: 11.94 kB / 0.5449 GB, free: 6.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.009659/0.475, allocations: 3.768 MB / 0.5486 GB, free: 2.668 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/0.475, allocations: 12 kB / 0.5486 GB, free: 2.656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.95e-05/0.4751, allocations: 16 kB / 0.5486 GB, free: 2.641 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009446/0.4845, allocations: 1.82 MB / 0.5504 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002418/0.4869, allocations: 0.5343 MB / 0.5509 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02937/0.5163, allocations: 21.4 MB / 0.5718 GB, free: 9.293 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003654/0.52, allocations: 274.4 kB / 0.5721 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002711/0.5202, allocations: 99.98 kB / 0.5722 GB, free: 8.926 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002509/0.5227, allocations: 1.072 MB / 0.5732 GB, free: 7.848 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001935/0.5247, allocations: 1.357 MB / 0.5746 GB, free: 6.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003217/0.5279, allocations: 2.056 MB / 0.5766 GB, free: 3.926 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.059e-05/0.5279, allocations: 4 kB / 0.5766 GB, free: 3.922 MB / 446.1 MB Notification: Performance of matching and sorting (n=343) (initialization_lambda0): time 0.006752/0.5347, allocations: 2.964 MB / 0.5795 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.5347, allocations: 12 kB / 0.5795 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.797e-05/0.5347, allocations: 24.11 kB / 0.5795 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007037/0.5417, allocations: 1.292 MB / 0.5808 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002715/0.5445, allocations: 0.6085 MB / 0.5814 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01786/0.5623, allocations: 16.56 MB / 0.5975 GB, free: 12.94 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002758/0.5651, allocations: 190.9 kB / 0.5977 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003348/0.5654, allocations: 104 kB / 0.5978 GB, free: 12.65 MB / 478.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.0007129/0.5661, allocations: 343.4 kB / 0.5981 GB, free: 12.31 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007127/0.5668, allocations: 262.4 kB / 0.5984 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004762/0.5716, allocations: 2.097 MB / 0.6004 GB, free: 9.938 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-05/0.5716, allocations: 7.969 kB / 0.6004 GB, free: 9.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.5716, allocations: 0 / 0.6004 GB, free: 9.93 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/0.5729, allocations: 0.5068 MB / 0.6009 GB, free: 9.402 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003139/0.5732, allocations: 40 kB / 0.601 GB, free: 9.363 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/0.5745, allocations: 79.89 kB / 0.601 GB, free: 9.285 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002863/0.5748, allocations: 153.7 kB / 0.6012 GB, free: 9.133 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005491/0.5803, allocations: 2.099 MB / 0.6032 GB, free: 7.023 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005091/0.5854, allocations: 2.655 MB / 0.6058 GB, free: 4.348 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001274/0.5866, allocations: 0.6637 MB / 0.6065 GB, free: 3.688 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002225/0.5889, allocations: 1.207 MB / 0.6077 GB, free: 2.465 MB / 478.1 MB Notification: Performance of Backend: time 9.11e-07/0.5889, allocations: 0 / 0.6077 GB, free: 2.465 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.2358/0.8247, allocations: 6.769 MB / 0.6143 GB, free: 130.6 MB / 478.1 MB Notification: Performance of SimCode: time 0.007673/0.8324, allocations: 5.382 MB / 0.6195 GB, free: 128.2 MB / 478.1 MB Notification: Performance of Templates: time 0.07315/0.9055, allocations: 52.09 MB / 0.6704 GB, free: 83.86 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.makefile [Timeout 660] (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) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.309960411861539]