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.001387/0.001387, allocations: 108.8 kB / 20.34 MB, free: 1.574 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.001499/0.001499, allocations: 185.3 kB / 23.6 MB, free: 5.09 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.423/1.423, allocations: 207.6 MB / 234.3 MB, free: 9.996 MB / 190.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.07184/0.07184, allocations: 14.39 MB / 300.9 MB, free: 7.57 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.002214/0.002214, allocations: 71.83 kB / 424.7 MB, free: 36.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07551/0.07773, allocations: 52.88 MB / 477.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.01806/0.09578, allocations: 15.94 MB / 493.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01268/0.1085, allocations: 6.85 MB / 0.4886 GB, free: 8.609 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002497/0.111, allocations: 95.19 kB / 0.4887 GB, free: 8.516 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00266/0.1136, allocations: 0.8378 MB / 0.4895 GB, free: 7.672 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007724/0.1213, allocations: 2.661 MB / 0.4921 GB, free: 5.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003761/0.1251, allocations: 1.566 MB / 0.4936 GB, free: 3.457 MB / 366.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo:2668:11-2668:130:writable] Error: Internal error NFFunction.Function.getBody2 got function with external section (not algorithm section) Notification: Performance of NFFlatten.flatten: time 0.007567/0.1327, allocations: 5.087 MB / 0.4986 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.134, allocations: 0.4918 MB / 0.4991 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003086/0.137, allocations: 1.818 MB / 0.5009 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003203/0.1402, allocations: 1.852 MB / 0.5027 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001011/0.1413, allocations: 288 kB / 0.5029 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002048/0.1433, allocations: 0.695 MB / 0.5036 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007985/0.1441, allocations: 0.6264 MB / 0.5042 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002678/0.1468, allocations: 1.644 MB / 0.5058 GB, free: 6.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006647/0.1534, allocations: 4.242 MB / 0.51 GB, free: 2.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1534, allocations: 0 / 0.51 GB, free: 2.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1534, allocations: 0 / 0.51 GB, free: 2.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001054/0.1535, allocations: 0 / 0.51 GB, free: 2.637 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.01437/0.1679, allocations: 4.196 MB / 0.5141 GB, free: 14.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.168, allocations: 8.031 kB / 0.5141 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/0.1697, allocations: 422.8 kB / 0.5145 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004566/0.1742, allocations: 1.852 MB / 0.5163 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001834/0.1744, allocations: 168.3 kB / 0.5165 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004907/0.1749, allocations: 223.9 kB / 0.5167 GB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004559/0.1795, allocations: 2.069 MB / 0.5187 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.076e-05/0.1795, allocations: 7.984 kB / 0.5187 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002119/0.1797, allocations: 83.98 kB / 0.5188 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-05/0.1798, allocations: 48 kB / 0.5188 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004222/0.184, allocations: 1.912 MB / 0.5207 GB, free: 7.477 MB / 398.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.2003/0.3843, allocations: 12.09 MB / 0.5325 GB, free: 54.79 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003786/0.3881, allocations: 1.764 MB / 0.5342 GB, free: 54.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001428/0.3895, allocations: 0.742 MB / 0.5349 GB, free: 53.88 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001295/0.3897, allocations: 30.03 kB / 0.535 GB, free: 53.88 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.3897, allocations: 53.84 kB / 0.535 GB, free: 53.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=194): time 4.258e-06/0.3897, allocations: 0 / 0.535 GB, free: 53.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=194): time 0.01047/0.4002, allocations: 3.337 MB / 0.5383 GB, free: 52.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.4002, allocations: 175.2 kB / 0.5385 GB, free: 52.76 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003192/0.4034, allocations: 1.882 MB / 0.5403 GB, free: 52.03 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003433/0.4038, allocations: 67.2 kB / 0.5404 GB, free: 51.97 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006671/0.4044, allocations: 1.12 MB / 0.5414 GB, free: 51.24 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006607/0.4051, allocations: 0.7213 MB / 0.5422 GB, free: 50.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006422/0.4057, allocations: 479.2 kB / 0.5426 GB, free: 50.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 3.577e-05/0.4058, allocations: 305.1 kB / 0.5429 GB, free: 50.24 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/0.4073, allocations: 0.838 MB / 0.5437 GB, free: 49.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/0.4092, allocations: 1.469 MB / 0.5452 GB, free: 48.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002869/0.412, allocations: 2.21 MB / 0.5473 GB, free: 47.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.586e-05/0.4121, allocations: 3.969 kB / 0.5473 GB, free: 47.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.008359/0.4204, allocations: 3.77 MB / 0.551 GB, free: 45.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/0.4204, allocations: 12.78 kB / 0.551 GB, free: 45.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/0.4205, allocations: 17.59 kB / 0.551 GB, free: 45.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00873/0.4292, allocations: 1.819 MB / 0.5528 GB, free: 44.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002064/0.4313, allocations: 0.5383 MB / 0.5533 GB, free: 44.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01975/0.451, allocations: 20.27 MB / 0.5731 GB, free: 24.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002643/0.4537, allocations: 272.3 kB / 0.5734 GB, free: 23.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002681/0.4539, allocations: 99.98 kB / 0.5735 GB, free: 23.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001762/0.4557, allocations: 1.076 MB / 0.5745 GB, free: 22.76 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001243/0.4569, allocations: 1.36 MB / 0.5759 GB, free: 21.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002247/0.4592, allocations: 2.052 MB / 0.5779 GB, free: 18.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.028e-05/0.4592, allocations: 8 kB / 0.5779 GB, free: 18.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=343) (initialization_lambda0): time 0.005589/0.4648, allocations: 2.959 MB / 0.5808 GB, free: 15.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.4648, allocations: 12 kB / 0.5808 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.4648, allocations: 16.91 kB / 0.5808 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006724/0.4715, allocations: 1.309 MB / 0.5821 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002392/0.4739, allocations: 0.6046 MB / 0.5827 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01272/0.4867, allocations: 15.54 MB / 0.5978 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002656/0.4893, allocations: 194.2 kB / 0.598 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002984/0.4896, allocations: 99.98 kB / 0.5981 GB, free: 12.89 MB / 414.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.0006552/0.4903, allocations: 342.5 kB / 0.5984 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006735/0.4909, allocations: 258.4 kB / 0.5987 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004812/0.4957, allocations: 2.099 MB / 0.6007 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.923e-05/0.4958, allocations: 15.94 kB / 0.6008 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.4958, allocations: 0 / 0.6008 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001342/0.4971, allocations: 440.4 kB / 0.6012 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004253/0.4975, allocations: 39.94 kB / 0.6012 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/0.4991, allocations: 82.55 kB / 0.6013 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003201/0.4994, allocations: 157.7 kB / 0.6014 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005788/0.5052, allocations: 2.077 MB / 0.6035 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02752/0.5327, allocations: 12.76 MB / 0.6159 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001445/0.5341, allocations: 0.6669 MB / 0.6166 GB, free: 9.895 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00216/0.5363, allocations: 1.21 MB / 0.6178 GB, free: 8.668 MB / 430.1 MB Notification: Performance of Backend: time 4.91e-07/0.5363, allocations: 0 / 0.6178 GB, free: 8.668 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01578/0.5521, allocations: 6.762 MB / 0.6244 GB, free: 1.68 MB / 430.1 MB Notification: Performance of SimCode: time 0.01363/0.5657, allocations: 7.677 MB / 0.6319 GB, free: 9.953 MB / 446.1 MB Notification: Performance of Templates: time 0.108/0.6737, allocations: 57.17 MB / 0.6877 GB, free: 0.8672 MB / 494.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 -s gbode -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.218642153005931] Failed to read output from testmodel.py, exit status != 0: 0.6832652949960902 0.7013745889999999 0.544126618 Calling exit ...