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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Error: Unknown option --generateDynamicJacobian. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 113 kB / 17.86 MB, free: 5.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00226/0.00226, allocations: 205.3 kB / 20.81 MB, free: 2.102 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.608/1.608, allocations: 207.6 MB / 231.2 MB, free: 4.117 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.06857/0.06857, allocations: 14.41 MB / 297.5 MB, free: 1.879 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003095/0.003095, allocations: 71.91 kB / 419.5 MB, free: 5.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3798, allocations: 52.86 MB / 472.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.0225/0.4023, allocations: 16 MB / 488.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01431/0.4166, allocations: 6.88 MB / 495.2 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003592/0.4202, allocations: 95.19 kB / 495.3 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002978/0.4231, allocations: 0.8222 MB / 496.1 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009314/0.4325, allocations: 2.632 MB / 498.8 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004032/0.4365, allocations: 1.563 MB / 0.4886 GB, free: 1.379 MB / 350.1 MB [/var/lib/jenkins1/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.008627/0.4451, allocations: 5.087 MB / 0.4936 GB, free: 12.28 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.4464, allocations: 0.4991 MB / 0.4941 GB, free: 11.74 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00347/0.4499, allocations: 1.81 MB / 0.4958 GB, free: 9.926 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003177/0.4531, allocations: 1.844 MB / 0.4976 GB, free: 8.074 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006183/0.4537, allocations: 288 kB / 0.4979 GB, free: 7.793 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001809/0.4555, allocations: 0.6989 MB / 0.4986 GB, free: 7.094 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006424/0.4562, allocations: 0.6264 MB / 0.4992 GB, free: 6.465 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002404/0.4586, allocations: 1.648 MB / 0.5008 GB, free: 4.809 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007571/0.4661, allocations: 4.24 MB / 0.505 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.124e-05/0.4662, allocations: 8 kB / 0.505 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4662, allocations: 0 / 0.505 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001276/0.4663, allocations: 0 / 0.505 GB, free: 0.5508 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.01475/0.481, allocations: 4.271 MB / 0.5091 GB, free: 12.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.4811, allocations: 12.03 kB / 0.5091 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001517/0.4826, allocations: 418.8 kB / 0.5095 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004038/0.4866, allocations: 1.959 MB / 0.5115 GB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.4868, allocations: 160.4 kB / 0.5116 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003443/0.4871, allocations: 223.9 kB / 0.5118 GB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003795/0.4909, allocations: 2.072 MB / 0.5138 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.369e-05/0.491, allocations: 4 kB / 0.5139 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/0.4911, allocations: 84 kB / 0.5139 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.823e-05/0.4912, allocations: 48 kB / 0.514 GB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003878/0.495, allocations: 1.916 MB / 0.5158 GB, free: 5.184 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.02146/0.5165, allocations: 12.24 MB / 0.5278 GB, free: 7.906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004479/0.521, allocations: 2.509 MB / 0.5302 GB, free: 5.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001567/0.5226, allocations: 0.744 MB / 0.531 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/0.5227, allocations: 37.98 kB / 0.531 GB, free: 4.445 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.053e-05/0.5227, allocations: 48.56 kB / 0.5311 GB, free: 4.387 MB / 398.1 MB Notification: Performance of pre-optimization done (n=194): time 4.609e-06/0.5227, allocations: 0 / 0.5311 GB, free: 4.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=194): time 0.01057/0.5333, allocations: 3.403 MB / 0.5344 GB, free: 0.957 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.5334, allocations: 176.2 kB / 0.5345 GB, free: 0.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003193/0.5366, allocations: 1.88 MB / 0.5364 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003387/0.537, allocations: 69.7 kB / 0.5365 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001063/0.538, allocations: 1.118 MB / 0.5375 GB, free: 13.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009209/0.5389, allocations: 0.7164 MB / 0.5382 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007669/0.5397, allocations: 489.5 kB / 0.5387 GB, free: 12.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.5399, allocations: 305.1 kB / 0.539 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/0.5416, allocations: 0.8445 MB / 0.5398 GB, free: 11.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002549/0.5442, allocations: 1.467 MB / 0.5413 GB, free: 9.551 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004049/0.5482, allocations: 2.209 MB / 0.5434 GB, free: 7.094 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.666e-05/0.5482, allocations: 4 kB / 0.5434 GB, free: 7.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.01035/0.5586, allocations: 3.768 MB / 0.5471 GB, free: 3.238 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.643e-05/0.5586, allocations: 19.58 kB / 0.5471 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-05/0.5587, allocations: 16 kB / 0.5471 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009718/0.5684, allocations: 1.812 MB / 0.5489 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002574/0.571, allocations: 0.5344 MB / 0.5494 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03111/0.6021, allocations: 21.4 MB / 0.5703 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003007/0.6051, allocations: 270.3 kB / 0.5706 GB, free: 9.602 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002706/0.6053, allocations: 104 kB / 0.5707 GB, free: 9.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002357/0.6077, allocations: 1.076 MB / 0.5717 GB, free: 8.418 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002018/0.6097, allocations: 1.357 MB / 0.5731 GB, free: 6.797 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003435/0.6131, allocations: 2.056 MB / 0.5751 GB, free: 4.492 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.302e-05/0.6132, allocations: 7.938 kB / 0.5751 GB, free: 4.484 MB / 446.1 MB Notification: Performance of matching and sorting (n=343) (initialization_lambda0): time 0.007414/0.6206, allocations: 2.964 MB / 0.578 GB, free: 1.441 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.6206, allocations: 12 kB / 0.578 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/0.6206, allocations: 20.06 kB / 0.578 GB, free: 1.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007563/0.6282, allocations: 1.296 MB / 0.5793 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002938/0.6311, allocations: 0.6124 MB / 0.5799 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01915/0.6503, allocations: 16.56 MB / 0.596 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002899/0.6532, allocations: 194.9 kB / 0.5962 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003198/0.6535, allocations: 104 kB / 0.5963 GB, free: 13.21 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.0007036/0.6542, allocations: 339.5 kB / 0.5966 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007181/0.6549, allocations: 258.4 kB / 0.5969 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004844/0.6598, allocations: 2.093 MB / 0.5989 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.162e-05/0.6598, allocations: 7.969 kB / 0.5989 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.6598, allocations: 3.984 kB / 0.5989 GB, free: 10.49 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001333/0.6611, allocations: 0.5068 MB / 0.5994 GB, free: 9.965 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003368/0.6615, allocations: 39.94 kB / 0.5995 GB, free: 9.926 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/0.6628, allocations: 83.84 kB / 0.5996 GB, free: 9.844 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004618/0.6633, allocations: 149.8 kB / 0.5997 GB, free: 9.695 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006186/0.6695, allocations: 2.096 MB / 0.6017 GB, free: 7.59 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005795/0.6753, allocations: 2.662 MB / 0.6043 GB, free: 4.906 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001289/0.6765, allocations: 0.6559 MB / 0.605 GB, free: 4.254 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002235/0.6788, allocations: 1.214 MB / 0.6062 GB, free: 3.023 MB / 478.1 MB Notification: Performance of Backend: time 2.51e-07/0.6788, allocations: 0 / 0.6062 GB, free: 3.023 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.2561/0.9349, allocations: 6.77 MB / 0.6128 GB, free: 131 MB / 478.1 MB Notification: Performance of SimCode: time 0.008026/0.9429, allocations: 5.372 MB / 0.618 GB, free: 128.6 MB / 478.1 MB Notification: Performance of Templates: time 0.07365/1.017, allocations: 50.74 MB / 0.6676 GB, free: 86.17 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=50 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1) [Timeout 50] [Calling os._exit(0), Time elapsed: 7.284751902043354] Failed to read output from testmodel.py, exit status != 0: 1.0270663279807195 1.032448159 0.564109116 Calling exit ...