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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 112.8 kB / 18.33 MB, free: 3.977 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.001408/0.001408, allocations: 186 kB / 21.5 MB, free: 0.8164 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.478/1.478, allocations: 207.6 MB / 232.1 MB, free: 3.145 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.06966/0.06966, allocations: 14.4 MB / 298.6 MB, free: 0.7734 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_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1500,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_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.002282/0.002282, allocations: 75.88 kB / 421.8 MB, free: 3.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2689, allocations: 52.87 MB / 474.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.01948/0.2884, allocations: 16.03 MB / 490.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01418/0.3025, allocations: 6.869 MB / 497.5 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003247/0.3058, allocations: 71.56 kB / 497.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003067/0.3088, allocations: 0.8299 MB / 498.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007916/0.3168, allocations: 2.641 MB / 0.4893 GB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003701/0.3205, allocations: 1.574 MB / 0.4909 GB, free: 0.7734 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.007514/0.328, allocations: 5.083 MB / 0.4958 GB, free: 11.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.3291, allocations: 499.1 kB / 0.4963 GB, free: 11.15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002897/0.332, allocations: 1.783 MB / 0.498 GB, free: 9.363 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002828/0.3348, allocations: 1.844 MB / 0.4998 GB, free: 7.512 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006454/0.3355, allocations: 288 kB / 0.5001 GB, free: 7.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001781/0.3373, allocations: 0.7066 MB / 0.5008 GB, free: 6.523 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006593/0.3379, allocations: 0.6264 MB / 0.5014 GB, free: 5.895 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002365/0.3403, allocations: 1.644 MB / 0.503 GB, free: 4.242 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006791/0.3471, allocations: 4.24 MB / 0.5072 GB, free: 15.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.3471, allocations: 0 / 0.5072 GB, free: 15.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3471, allocations: 0 / 0.5072 GB, free: 15.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001045/0.3472, allocations: 0 / 0.5072 GB, free: 15.99 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.01423/0.3614, allocations: 4.275 MB / 0.5113 GB, free: 11.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.3615, allocations: 11.98 kB / 0.5114 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/0.3632, allocations: 422.8 kB / 0.5118 GB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004158/0.3673, allocations: 1.959 MB / 0.5137 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.3675, allocations: 164.4 kB / 0.5138 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004158/0.3679, allocations: 219.9 kB / 0.514 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004233/0.3721, allocations: 2.072 MB / 0.5161 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.542e-05/0.3722, allocations: 3.938 kB / 0.5161 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002007/0.3724, allocations: 84 kB / 0.5161 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.936e-05/0.3724, allocations: 48 kB / 0.5162 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004153/0.3766, allocations: 1.908 MB / 0.5181 GB, free: 4.629 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.02202/0.3986, allocations: 12.24 MB / 0.53 GB, free: 7.352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004487/0.4031, allocations: 2.513 MB / 0.5325 GB, free: 4.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/0.4047, allocations: 0.7402 MB / 0.5332 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00013/0.4048, allocations: 25.98 kB / 0.5332 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.031e-05/0.4049, allocations: 52.56 kB / 0.5333 GB, free: 3.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=194): time 3.737e-06/0.4049, allocations: 0 / 0.5333 GB, free: 3.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=194): time 0.009984/0.4148, allocations: 3.403 MB / 0.5366 GB, free: 420 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.415, allocations: 188.2 kB / 0.5368 GB, free: 196 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003029/0.418, allocations: 1.88 MB / 0.5386 GB, free: 14.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002845/0.4183, allocations: 65.7 kB / 0.5387 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.4193, allocations: 1.118 MB / 0.5398 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009404/0.4203, allocations: 0.7203 MB / 0.5405 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007871/0.4211, allocations: 481.6 kB / 0.5409 GB, free: 11.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4212, allocations: 309.1 kB / 0.5412 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00175/0.4229, allocations: 0.8445 MB / 0.542 GB, free: 10.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002371/0.4253, allocations: 1.475 MB / 0.5435 GB, free: 8.988 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003955/0.4293, allocations: 2.205 MB / 0.5456 GB, free: 6.535 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.317e-05/0.4293, allocations: 8 kB / 0.5456 GB, free: 6.527 MB / 414.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.00997/0.4392, allocations: 3.768 MB / 0.5493 GB, free: 2.676 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.4393, allocations: 16.19 kB / 0.5493 GB, free: 2.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.762e-05/0.4393, allocations: 16 kB / 0.5493 GB, free: 2.645 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009736/0.449, allocations: 1.82 MB / 0.5511 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002346/0.4514, allocations: 0.5304 MB / 0.5516 GB, free: 264 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02991/0.4813, allocations: 21.4 MB / 0.5725 GB, free: 9.305 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003185/0.4845, allocations: 274.4 kB / 0.5728 GB, free: 9.035 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004237/0.4849, allocations: 104 kB / 0.5729 GB, free: 8.934 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002446/0.4874, allocations: 1.075 MB / 0.5739 GB, free: 7.852 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002125/0.4895, allocations: 1.357 MB / 0.5753 GB, free: 6.234 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003501/0.493, allocations: 2.06 MB / 0.5773 GB, free: 3.926 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.854e-05/0.493, allocations: 4 kB / 0.5773 GB, free: 3.922 MB / 446.1 MB Notification: Performance of matching and sorting (n=343) (initialization_lambda0): time 0.007352/0.5004, allocations: 2.96 MB / 0.5802 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.5004, allocations: 12 kB / 0.5802 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.14e-05/0.5004, allocations: 16 kB / 0.5802 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007382/0.5078, allocations: 1.3 MB / 0.5815 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002686/0.5105, allocations: 0.6046 MB / 0.5821 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01786/0.5283, allocations: 16.56 MB / 0.5982 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002631/0.531, allocations: 198.9 kB / 0.5984 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002425/0.5312, allocations: 99.98 kB / 0.5985 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.0008205/0.532, allocations: 343.5 kB / 0.5989 GB, free: 12.31 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000832/0.5329, allocations: 258.4 kB / 0.5991 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004909/0.5378, allocations: 2.093 MB / 0.6011 GB, free: 9.945 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.436e-05/0.5378, allocations: 11.95 kB / 0.6012 GB, free: 9.934 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/0.5378, allocations: 8 kB / 0.6012 GB, free: 9.926 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/0.5391, allocations: 0.5068 MB / 0.6017 GB, free: 9.398 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004186/0.5395, allocations: 36 kB / 0.6017 GB, free: 9.363 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/0.5409, allocations: 79.84 kB / 0.6018 GB, free: 9.285 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000307/0.5412, allocations: 149.8 kB / 0.6019 GB, free: 9.137 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005573/0.5468, allocations: 2.088 MB / 0.6039 GB, free: 7.039 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.245/0.7918, allocations: 12.88 MB / 0.6165 GB, free: 128.8 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001095/0.7929, allocations: 0.6636 MB / 0.6172 GB, free: 128.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001412/0.7943, allocations: 1.213 MB / 0.6184 GB, free: 128.2 MB / 478.1 MB Notification: Performance of Backend: time 3.6e-07/0.7943, allocations: 0 / 0.6184 GB, free: 128.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01251/0.8068, allocations: 6.757 MB / 0.625 GB, free: 124.6 MB / 478.1 MB Notification: Performance of SimCode: time 0.01171/0.8185, allocations: 7.666 MB / 0.6324 GB, free: 120.5 MB / 478.1 MB Notification: Performance of Templates: time 0.07702/0.8955, allocations: 56.54 MB / 0.6877 GB, free: 65.9 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.makefile [Timeout 660] (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 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.271922469139099]