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] "Error: Unknown option --generateDynamicJacobian. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 117 kB / 17.15 MB, free: 5.773 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.001295/0.001295, allocations: 194 kB / 20.1 MB, free: 2.859 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.694/1.694, allocations: 207.6 MB / 230.5 MB, free: 4.027 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.07101/0.07101, allocations: 14.4 MB / 296.7 MB, free: 1.91 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.002281/0.002281, allocations: 67.91 kB / 418.7 MB, free: 5.543 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3986, allocations: 52.87 MB / 471.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.02348/0.4221, allocations: 16 MB / 487.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01803/0.4401, allocations: 6.865 MB / 494.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005624/0.4457, allocations: 71.62 kB / 494.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004604/0.4503, allocations: 0.826 MB / 495.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01091/0.4612, allocations: 2.653 MB / 498 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005572/0.4668, allocations: 1.551 MB / 499.6 MB, free: 1.449 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.01164/0.4785, allocations: 5.083 MB / 0.4928 GB, free: 12.35 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001777/0.4802, allocations: 0.4913 MB / 0.4933 GB, free: 11.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004712/0.4849, allocations: 1.771 MB / 0.495 GB, free: 10.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004749/0.4897, allocations: 1.852 MB / 0.4968 GB, free: 8.188 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001404/0.4911, allocations: 288 kB / 0.4971 GB, free: 7.906 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00347/0.4946, allocations: 0.6989 MB / 0.4978 GB, free: 7.207 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001834/0.4964, allocations: 0.6303 MB / 0.4984 GB, free: 6.574 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00447/0.5009, allocations: 1.648 MB / 0.5 GB, free: 4.918 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.511, allocations: 4.244 MB / 0.5042 GB, free: 0.6641 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.227e-05/0.511, allocations: 3.984 kB / 0.5042 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.511, allocations: 0 / 0.5042 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000184/0.5112, allocations: 0 / 0.5042 GB, free: 0.6602 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.01683/0.528, allocations: 4.275 MB / 0.5083 GB, free: 12.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.838e-05/0.5281, allocations: 8.031 kB / 0.5084 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002103/0.5302, allocations: 418.8 kB / 0.5088 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005351/0.5356, allocations: 1.948 MB / 0.5107 GB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001778/0.5357, allocations: 172.4 kB / 0.5108 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004265/0.5362, allocations: 223.9 kB / 0.511 GB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004504/0.5407, allocations: 2.072 MB / 0.5131 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.445e-05/0.5407, allocations: 11.88 kB / 0.5131 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001692/0.5409, allocations: 80 kB / 0.5131 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.132e-05/0.5409, allocations: 52 kB / 0.5132 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004119/0.545, allocations: 1.908 MB / 0.5151 GB, free: 5.293 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.02601/0.5711, allocations: 12.24 MB / 0.527 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004725/0.5758, allocations: 2.505 MB / 0.5295 GB, free: 5.348 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/0.5774, allocations: 0.7441 MB / 0.5302 GB, free: 4.598 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001187/0.5775, allocations: 29.92 kB / 0.5302 GB, free: 4.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.239e-05/0.5776, allocations: 52.56 kB / 0.5303 GB, free: 4.508 MB / 398.1 MB Notification: Performance of pre-optimization done (n=194): time 5.881e-06/0.5776, allocations: 0 / 0.5303 GB, free: 4.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=194): time 0.01049/0.5881, allocations: 3.403 MB / 0.5336 GB, free: 1.078 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002429/0.5883, allocations: 176.2 kB / 0.5338 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003757/0.5921, allocations: 1.887 MB / 0.5356 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004054/0.5925, allocations: 69.7 kB / 0.5357 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001145/0.5936, allocations: 1.118 MB / 0.5368 GB, free: 13.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001172/0.5948, allocations: 0.7164 MB / 0.5375 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008022/0.5956, allocations: 489.5 kB / 0.5379 GB, free: 12.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.5958, allocations: 305.1 kB / 0.5382 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002111/0.5979, allocations: 0.8407 MB / 0.539 GB, free: 11.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002639/0.6005, allocations: 1.467 MB / 0.5405 GB, free: 9.664 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004169/0.6047, allocations: 2.209 MB / 0.5426 GB, free: 7.207 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.197e-05/0.6047, allocations: 7.984 kB / 0.5426 GB, free: 7.199 MB / 414.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.01088/0.6156, allocations: 3.772 MB / 0.5463 GB, free: 3.344 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.595e-05/0.6156, allocations: 12 kB / 0.5463 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.465e-05/0.6157, allocations: 16 kB / 0.5463 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009637/0.6253, allocations: 1.816 MB / 0.5481 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002562/0.6279, allocations: 0.5344 MB / 0.5486 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0338/0.6617, allocations: 21.4 MB / 0.5695 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00494/0.6666, allocations: 274.3 kB / 0.5698 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007194/0.6673, allocations: 108 kB / 0.5699 GB, free: 9.609 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003415/0.6707, allocations: 1.075 MB / 0.5709 GB, free: 8.527 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002798/0.6735, allocations: 1.354 MB / 0.5723 GB, free: 6.914 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004611/0.6782, allocations: 2.057 MB / 0.5743 GB, free: 4.609 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.923e-05/0.6782, allocations: 8 kB / 0.5743 GB, free: 4.602 MB / 446.1 MB Notification: Performance of matching and sorting (n=343) (initialization_lambda0): time 0.008579/0.6868, allocations: 2.964 MB / 0.5772 GB, free: 1.559 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.384e-05/0.6868, allocations: 15.94 kB / 0.5772 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.212e-05/0.6868, allocations: 12 kB / 0.5772 GB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007332/0.6942, allocations: 1.3 MB / 0.5785 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003166/0.6973, allocations: 0.6085 MB / 0.5791 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02111/0.7185, allocations: 16.56 MB / 0.5952 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003747/0.7222, allocations: 198.9 kB / 0.5954 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000719/0.7229, allocations: 96 kB / 0.5955 GB, free: 13.33 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.001375/0.7243, allocations: 343.7 kB / 0.5958 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001304/0.7256, allocations: 258.4 kB / 0.5961 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005953/0.7315, allocations: 2.097 MB / 0.5981 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.684e-05/0.7316, allocations: 11.91 kB / 0.5982 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.7316, allocations: 0 / 0.5982 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002379/0.734, allocations: 0.5146 MB / 0.5987 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001005/0.735, allocations: 36 kB / 0.5987 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002328/0.7373, allocations: 75.91 kB / 0.5988 GB, free: 9.961 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005133/0.7378, allocations: 149.8 kB / 0.5989 GB, free: 9.812 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0066/0.7444, allocations: 2.096 MB / 0.601 GB, free: 7.707 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00579/0.7502, allocations: 2.662 MB / 0.6036 GB, free: 5.023 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001542/0.7517, allocations: 0.6559 MB / 0.6042 GB, free: 4.371 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002971/0.7547, allocations: 1.214 MB / 0.6054 GB, free: 3.141 MB / 478.1 MB Notification: Performance of Backend: time 1.293e-06/0.7547, allocations: 0 / 0.6054 GB, free: 3.141 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.3149/1.07, allocations: 6.767 MB / 0.612 GB, free: 131 MB / 478.1 MB Notification: Performance of SimCode: time 0.00933/1.079, allocations: 5.364 MB / 0.6172 GB, free: 128.6 MB / 478.1 MB Notification: Performance of Templates: time 0.06984/1.149, allocations: 50.75 MB / 0.6668 GB, free: 86.32 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.609338187146932] Failed to read output from testmodel.py, exit status != 0: 1.159225453156978 1.166567948 0.652938003 Calling exit ...