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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) 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=3000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 121.5 kB / 17.1 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 192.8 kB / 18.03 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0634/0.0634, allocations: 14.17 MB / 285.4 MB, free: 13.86 MB / 238.1 MB 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.001444/0.001444, allocations: 61.8 kB / 400 MB, free: 42.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09323/0.09468, allocations: 50.14 MB / 450.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.01659/0.1113, allocations: 15.96 MB / 466.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01198/0.1234, allocations: 6.838 MB / 472.9 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002906/0.1263, allocations: 71.56 kB / 473 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002983/0.1293, allocations: 0.8339 MB / 473.8 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007533/0.1369, allocations: 2.642 MB / 476.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003641/0.1406, allocations: 1.538 MB / 478 MB, free: 15.68 MB / 366.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo:2649:11-2649:130:writable] Error: Internal error NFFunction.Function.getBody2 got function with external section (not algorithm section) Notification: Performance of NFFlatten.flatten: time 0.009066/0.1496, allocations: 5.091 MB / 483.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0023/0.152, allocations: 0.7489 MB / 483.8 MB, free: 9.793 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004472/0.1565, allocations: 1.771 MB / 485.6 MB, free: 8.016 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004215/0.1607, allocations: 1.848 MB / 487.5 MB, free: 6.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001309/0.162, allocations: 288 kB / 487.7 MB, free: 5.879 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.1647, allocations: 0.7067 MB / 488.5 MB, free: 5.172 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001161/0.1659, allocations: 0.6302 MB / 489.1 MB, free: 4.539 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003492/0.1694, allocations: 1.648 MB / 490.7 MB, free: 2.883 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007811/0.1772, allocations: 4.23 MB / 495 MB, free: 14.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.1773, allocations: 0 / 495 MB, free: 14.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1773, allocations: 0 / 495 MB, free: 14.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001485/0.1775, allocations: 7.938 kB / 495 MB, free: 14.63 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.01467/0.1921, allocations: 4.267 MB / 499.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/0.1922, allocations: 8.031 kB / 499.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002139/0.1944, allocations: 422.8 kB / 499.7 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0047/0.1991, allocations: 1.963 MB / 0.4899 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/0.1993, allocations: 168.4 kB / 0.49 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005676/0.1998, allocations: 219.9 kB / 0.4902 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004868/0.2047, allocations: 2.074 MB / 0.4923 GB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.267e-05/0.2048, allocations: 3.938 kB / 0.4923 GB, free: 5.309 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002214/0.205, allocations: 80 kB / 0.4923 GB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.086e-05/0.2051, allocations: 56 kB / 0.4924 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004081/0.2092, allocations: 1.912 MB / 0.4943 GB, free: 3.262 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.01894/0.2281, allocations: 12.23 MB / 0.5062 GB, free: 5.992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004063/0.2322, allocations: 2.653 MB / 0.5088 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/0.2336, allocations: 0.8066 MB / 0.5096 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.2338, allocations: 29.97 kB / 0.5096 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/0.2338, allocations: 56.56 kB / 0.5097 GB, free: 2.262 MB / 398.1 MB Notification: Performance of pre-optimization done (n=194): time 3.727e-06/0.2338, allocations: 0 / 0.5097 GB, free: 2.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=194): time 0.009673/0.2435, allocations: 3.427 MB / 0.513 GB, free: 14.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.636e-05/0.2436, allocations: 176.2 kB / 0.5132 GB, free: 14.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003068/0.2467, allocations: 1.872 MB / 0.515 GB, free: 12.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002244/0.2469, allocations: 65.7 kB / 0.5151 GB, free: 12.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009426/0.2479, allocations: 1.122 MB / 0.5162 GB, free: 11.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007574/0.2487, allocations: 0.7164 MB / 0.5169 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007747/0.2494, allocations: 493.6 kB / 0.5173 GB, free: 10.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.299e-05/0.2495, allocations: 305.1 kB / 0.5176 GB, free: 9.984 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/0.2512, allocations: 0.8368 MB / 0.5184 GB, free: 9.141 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002086/0.2533, allocations: 1.471 MB / 0.5199 GB, free: 7.406 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003516/0.2568, allocations: 2.205 MB / 0.522 GB, free: 4.953 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.711e-05/0.2569, allocations: 8 kB / 0.522 GB, free: 4.945 MB / 414.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.009335/0.2662, allocations: 3.788 MB / 0.5257 GB, free: 1.074 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.2663, allocations: 12 kB / 0.5258 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.29e-05/0.2663, allocations: 19.94 kB / 0.5258 GB, free: 1.043 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2226/0.4889, allocations: 1.817 MB / 0.5275 GB, free: 78.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002419/0.4914, allocations: 0.5348 MB / 0.5281 GB, free: 78.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02609/0.5175, allocations: 21.38 MB / 0.5489 GB, free: 62.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003152/0.5207, allocations: 272 kB / 0.5492 GB, free: 62.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002945/0.521, allocations: 105.7 kB / 0.5493 GB, free: 62.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002059/0.5231, allocations: 1.073 MB / 0.5504 GB, free: 61.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00157/0.5246, allocations: 1.365 MB / 0.5517 GB, free: 60.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002693/0.5273, allocations: 2.053 MB / 0.5537 GB, free: 59.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.219e-05/0.5274, allocations: 4.375 kB / 0.5537 GB, free: 59.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=343) (initialization_lambda0): time 0.006203/0.5336, allocations: 2.985 MB / 0.5566 GB, free: 58.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.5336, allocations: 11.91 kB / 0.5566 GB, free: 58.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/0.5337, allocations: 15.72 kB / 0.5566 GB, free: 58.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006766/0.5404, allocations: 1.293 MB / 0.5579 GB, free: 58.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002669/0.5431, allocations: 0.6068 MB / 0.5585 GB, free: 57.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0121/0.5552, allocations: 16.58 MB / 0.5747 GB, free: 42.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002815/0.5581, allocations: 196.2 kB / 0.5749 GB, free: 42.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002145/0.5583, allocations: 101 kB / 0.575 GB, free: 42.54 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.0006185/0.559, allocations: 336.6 kB / 0.5753 GB, free: 42.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005045/0.5595, allocations: 258.6 kB / 0.5755 GB, free: 42.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003901/0.5634, allocations: 2.113 MB / 0.5776 GB, free: 41.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.5634, allocations: 7.969 kB / 0.5776 GB, free: 41.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.5634, allocations: 4 kB / 0.5776 GB, free: 41.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000897/0.5643, allocations: 0.5158 MB / 0.5781 GB, free: 40.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002817/0.5646, allocations: 38.53 kB / 0.5781 GB, free: 40.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/0.566, allocations: 70.67 kB / 0.5782 GB, free: 40.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/0.5662, allocations: 151.6 kB / 0.5784 GB, free: 40.45 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004776/0.571, allocations: 2.094 MB / 0.5804 GB, free: 38.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02154/0.5926, allocations: 12.88 MB / 0.593 GB, free: 25.81 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00117/0.5938, allocations: 0.7027 MB / 0.5937 GB, free: 25.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001523/0.5953, allocations: 1.211 MB / 0.5949 GB, free: 23.88 MB / 414.1 MB Notification: Performance of Backend: time 1.001e-06/0.5953, allocations: 0 / 0.5949 GB, free: 23.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0129/0.6083, allocations: 7.047 MB / 0.6017 GB, free: 16.61 MB / 414.1 MB Notification: Performance of SimCode: time 0.01118/0.6195, allocations: 7.654 MB / 0.6092 GB, free: 8.906 MB / 414.1 MB Notification: Performance of Templates: time 0.09474/0.7143, allocations: 54.53 MB / 0.6625 GB, free: 2.473 MB / 462.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.makefile (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)