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.001547/0.001547, allocations: 113.7 kB / 16.42 MB, free: 6.512 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.001546/0.001546, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.403/1.403, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06843/0.06843, allocations: 14.16 MB / 284.8 MB, free: 13.85 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.002044/0.002044, allocations: 69.45 kB / 399.3 MB, free: 42.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08193/0.08399, allocations: 50.14 MB / 449.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.01753/0.1016, allocations: 15.95 MB / 465.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01315/0.1148, allocations: 6.834 MB / 472.2 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002702/0.1175, allocations: 75.56 kB / 472.3 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002372/0.1199, allocations: 0.8261 MB / 473.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00696/0.1269, allocations: 2.545 MB / 475.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003347/0.1303, allocations: 1.531 MB / 477.2 MB, free: 15.67 MB / 366.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo:2652:11-2652:130:writable] Error: Internal error NFFunction.Function.getBody2 got function with external section (not algorithm section) Notification: Performance of NFFlatten.flatten: time 0.006738/0.137, allocations: 5.079 MB / 482.3 MB, free: 10.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001221/0.1383, allocations: 0.7568 MB / 483.1 MB, free: 9.785 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002595/0.1409, allocations: 1.744 MB / 484.8 MB, free: 8.035 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002785/0.1437, allocations: 1.84 MB / 486.6 MB, free: 6.188 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006712/0.1444, allocations: 292 kB / 486.9 MB, free: 5.902 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001874/0.1462, allocations: 0.7028 MB / 487.6 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005789/0.1468, allocations: 0.638 MB / 488.3 MB, free: 4.559 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001997/0.1488, allocations: 1.64 MB / 489.9 MB, free: 2.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0059/0.1547, allocations: 4.238 MB / 494.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1548, allocations: 0 / 494.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1548, allocations: 0 / 494.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.151e-05/0.1549, allocations: 0 / 494.1 MB, free: 14.66 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.0132/0.1681, allocations: 4.275 MB / 498.4 MB, free: 10.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.276e-05/0.1682, allocations: 8.031 kB / 498.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00155/0.1697, allocations: 422.8 kB / 498.8 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004244/0.174, allocations: 1.959 MB / 0.4891 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/0.1742, allocations: 168.4 kB / 0.4892 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003666/0.1746, allocations: 223.9 kB / 0.4894 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00381/0.1784, allocations: 2.074 MB / 0.4915 GB, free: 5.332 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.711e-05/0.1784, allocations: 0 / 0.4915 GB, free: 5.332 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001655/0.1786, allocations: 84 kB / 0.4915 GB, free: 5.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.264e-05/0.1786, allocations: 52 kB / 0.4916 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003657/0.1823, allocations: 1.908 MB / 0.4935 GB, free: 3.289 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.01922/0.2015, allocations: 12.24 MB / 0.5054 GB, free: 6.008 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004186/0.2058, allocations: 2.637 MB / 0.508 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/0.2072, allocations: 0.8144 MB / 0.5088 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.2073, allocations: 29.98 kB / 0.5088 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.807e-05/0.2074, allocations: 60.53 kB / 0.5089 GB, free: 2.281 MB / 398.1 MB Notification: Performance of pre-optimization done (n=194): time 3.747e-06/0.2074, allocations: 0 / 0.5089 GB, free: 2.281 MB / 398.1 MB Notification: Performance of matching and sorting (n=194): time 0.01023/0.2176, allocations: 3.419 MB / 0.5122 GB, free: 14.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.2178, allocations: 176.2 kB / 0.5124 GB, free: 14.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003165/0.221, allocations: 1.887 MB / 0.5142 GB, free: 12.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003039/0.2213, allocations: 69.64 kB / 0.5143 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009715/0.2223, allocations: 1.114 MB / 0.5154 GB, free: 11.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008854/0.2232, allocations: 0.7164 MB / 0.5161 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007297/0.2239, allocations: 485.6 kB / 0.5165 GB, free: 10.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.224, allocations: 305.1 kB / 0.5168 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001744/0.2258, allocations: 0.8407 MB / 0.5176 GB, free: 9.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002256/0.2281, allocations: 1.471 MB / 0.5191 GB, free: 7.426 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003833/0.2319, allocations: 2.205 MB / 0.5212 GB, free: 4.973 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/0.2319, allocations: 8 kB / 0.5212 GB, free: 4.965 MB / 414.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.0097/0.2416, allocations: 3.792 MB / 0.5249 GB, free: 1.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/0.2417, allocations: 18.91 kB / 0.525 GB, free: 1.074 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.628e-05/0.2417, allocations: 16 kB / 0.525 GB, free: 1.059 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.235/0.4768, allocations: 1.801 MB / 0.5267 GB, free: 78.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002359/0.4792, allocations: 0.5331 MB / 0.5273 GB, free: 78.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02445/0.5037, allocations: 21.38 MB / 0.5481 GB, free: 62.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002822/0.5065, allocations: 279.3 kB / 0.5484 GB, free: 62.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002526/0.5068, allocations: 101.5 kB / 0.5485 GB, free: 62.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00191/0.5087, allocations: 1.076 MB / 0.5496 GB, free: 62.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001459/0.5102, allocations: 1.356 MB / 0.5509 GB, free: 61.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002571/0.5128, allocations: 2.056 MB / 0.5529 GB, free: 59.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.307e-05/0.5128, allocations: 5.375 kB / 0.5529 GB, free: 59.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=343) (initialization_lambda0): time 0.005827/0.5186, allocations: 2.983 MB / 0.5558 GB, free: 58.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.5187, allocations: 11.91 kB / 0.5558 GB, free: 58.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/0.5187, allocations: 15.91 kB / 0.5558 GB, free: 58.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006211/0.5249, allocations: 1.297 MB / 0.5571 GB, free: 58.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002304/0.5272, allocations: 0.6096 MB / 0.5577 GB, free: 58.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/0.5387, allocations: 16.57 MB / 0.5739 GB, free: 42.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002829/0.5416, allocations: 197.8 kB / 0.5741 GB, free: 42.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/0.5418, allocations: 98.95 kB / 0.5742 GB, free: 42.59 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.0006356/0.5425, allocations: 339.3 kB / 0.5745 GB, free: 42.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005162/0.543, allocations: 260.8 kB / 0.5747 GB, free: 42.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003952/0.5469, allocations: 2.117 MB / 0.5768 GB, free: 41.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/0.547, allocations: 7.969 kB / 0.5768 GB, free: 41.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.547, allocations: 0 / 0.5768 GB, free: 41.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00093/0.5479, allocations: 0.5143 MB / 0.5773 GB, free: 40.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000295/0.5482, allocations: 35.84 kB / 0.5773 GB, free: 40.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.5495, allocations: 74.64 kB / 0.5774 GB, free: 40.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/0.5498, allocations: 147.4 kB / 0.5776 GB, free: 40.52 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004533/0.5543, allocations: 2.092 MB / 0.5796 GB, free: 38.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02052/0.5749, allocations: 12.88 MB / 0.5922 GB, free: 25.83 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001088/0.576, allocations: 0.7066 MB / 0.5929 GB, free: 25.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00144/0.5774, allocations: 1.214 MB / 0.594 GB, free: 23.89 MB / 414.1 MB Notification: Performance of Backend: time 2.215e-06/0.5774, allocations: 0 / 0.594 GB, free: 23.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01223/0.5897, allocations: 7.048 MB / 0.6009 GB, free: 16.63 MB / 414.1 MB Notification: Performance of SimCode: time 0.009547/0.5993, allocations: 7.658 MB / 0.6084 GB, free: 8.922 MB / 414.1 MB Notification: Performance of Templates: time 0.09511/0.6944, allocations: 54.51 MB / 0.6616 GB, free: 2.5 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=50 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1)