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.001688/0.001687, allocations: 104.9 kB / 16.41 MB, free: 6.457 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.001886/0.001886, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.392/1.392, allocations: 205.1 MB / 223.2 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.06344/0.06344, allocations: 14.17 MB / 284.7 MB, free: 13.87 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.001537/0.001537, allocations: 62.72 kB / 399.3 MB, free: 42.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08912/0.09067, allocations: 50.13 MB / 449.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.01787/0.1086, allocations: 15.96 MB / 465.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01682/0.1255, allocations: 6.838 MB / 472.2 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003967/0.1295, allocations: 67.62 kB / 472.3 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003298/0.1328, allocations: 0.8338 MB / 473.1 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008552/0.1414, allocations: 2.537 MB / 475.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003991/0.1455, allocations: 1.536 MB / 477.2 MB, free: 15.68 MB / 366.1 MB [/var/lib/jenkins/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.008356/0.1538, allocations: 5.083 MB / 482.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001878/0.1557, allocations: 0.7568 MB / 483 MB, free: 9.797 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003386/0.1591, allocations: 1.74 MB / 484.8 MB, free: 8.051 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003425/0.1626, allocations: 1.848 MB / 486.6 MB, free: 6.195 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001024/0.1636, allocations: 288 kB / 486.9 MB, free: 5.914 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002675/0.1663, allocations: 0.6989 MB / 487.6 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001167/0.1675, allocations: 0.638 MB / 488.3 MB, free: 4.574 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003138/0.1706, allocations: 1.644 MB / 489.9 MB, free: 2.922 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007081/0.1777, allocations: 4.234 MB / 494.1 MB, free: 14.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.1778, allocations: 0 / 494.1 MB, free: 14.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.1778, allocations: 0 / 494.1 MB, free: 14.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.969e-05/0.1779, allocations: 0 / 494.1 MB, free: 14.67 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.01323/0.1911, allocations: 4.267 MB / 498.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.1912, allocations: 8.031 kB / 498.4 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/0.1927, allocations: 426.8 kB / 498.8 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003945/0.1967, allocations: 1.955 MB / 0.489 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.1969, allocations: 164.4 kB / 0.4892 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003004/0.1972, allocations: 227.9 kB / 0.4894 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003571/0.2007, allocations: 2.074 MB / 0.4914 GB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.878e-05/0.2008, allocations: 7.938 kB / 0.4915 GB, free: 5.348 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001707/0.201, allocations: 80 kB / 0.4915 GB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/0.201, allocations: 48 kB / 0.4916 GB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003424/0.2044, allocations: 1.916 MB / 0.4934 GB, free: 3.305 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.01843/0.2229, allocations: 12.24 MB / 0.5054 GB, free: 6.027 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003992/0.2269, allocations: 2.641 MB / 0.508 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001354/0.2283, allocations: 0.8183 MB / 0.5088 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.2284, allocations: 25.98 kB / 0.5088 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.909e-05/0.2285, allocations: 56.55 kB / 0.5089 GB, free: 2.301 MB / 398.1 MB Notification: Performance of pre-optimization done (n=194): time 1.522e-05/0.2285, allocations: 0 / 0.5089 GB, free: 2.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=194): time 0.01016/0.2387, allocations: 3.419 MB / 0.5122 GB, free: 14.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.382e-05/0.2388, allocations: 180.2 kB / 0.5124 GB, free: 14.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002991/0.2418, allocations: 1.884 MB / 0.5142 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002867/0.2421, allocations: 65.7 kB / 0.5143 GB, free: 12.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009181/0.243, allocations: 1.118 MB / 0.5154 GB, free: 11.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008293/0.2439, allocations: 0.7164 MB / 0.5161 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007028/0.2446, allocations: 485.6 kB / 0.5165 GB, free: 10.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.2447, allocations: 305.1 kB / 0.5168 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/0.2463, allocations: 0.8407 MB / 0.5176 GB, free: 9.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002061/0.2484, allocations: 1.467 MB / 0.5191 GB, free: 7.449 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003711/0.2521, allocations: 2.212 MB / 0.5212 GB, free: 4.988 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.594e-05/0.2522, allocations: 4 kB / 0.5212 GB, free: 4.984 MB / 414.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.009891/0.2621, allocations: 3.784 MB / 0.5249 GB, free: 1.117 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/0.2621, allocations: 15.94 kB / 0.5249 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-05/0.2622, allocations: 16 kB / 0.525 GB, free: 1.086 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2238/0.486, allocations: 1.814 MB / 0.5267 GB, free: 79.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002264/0.4883, allocations: 0.5294 MB / 0.5272 GB, free: 79.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0233/0.5116, allocations: 21.39 MB / 0.5481 GB, free: 62.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/0.5142, allocations: 272.4 kB / 0.5484 GB, free: 62.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002472/0.5145, allocations: 106.2 kB / 0.5485 GB, free: 62.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001891/0.5164, allocations: 1.078 MB / 0.5495 GB, free: 62.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001419/0.5178, allocations: 1.36 MB / 0.5509 GB, free: 61.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002408/0.5202, allocations: 2.049 MB / 0.5529 GB, free: 59.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.111e-05/0.5203, allocations: 4.406 kB / 0.5529 GB, free: 59.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=343) (initialization_lambda0): time 0.005573/0.5258, allocations: 2.985 MB / 0.5558 GB, free: 58.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.5259, allocations: 15.91 kB / 0.5558 GB, free: 58.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.5259, allocations: 15.78 kB / 0.5558 GB, free: 58.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006272/0.5322, allocations: 1.295 MB / 0.5571 GB, free: 58.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002223/0.5344, allocations: 0.6028 MB / 0.5577 GB, free: 58.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01117/0.5456, allocations: 16.57 MB / 0.5739 GB, free: 42.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002471/0.5481, allocations: 195.2 kB / 0.574 GB, free: 42.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/0.5483, allocations: 105.6 kB / 0.5741 GB, free: 42.66 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.0005517/0.5488, allocations: 333.7 kB / 0.5745 GB, free: 42.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003548/0.5492, allocations: 259.4 kB / 0.5747 GB, free: 42.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003676/0.5529, allocations: 2.114 MB / 0.5768 GB, free: 41.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/0.5529, allocations: 7.969 kB / 0.5768 GB, free: 41.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.5529, allocations: 0 / 0.5768 GB, free: 41.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007509/0.5537, allocations: 0.5103 MB / 0.5773 GB, free: 40.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002635/0.5539, allocations: 42.33 kB / 0.5773 GB, free: 40.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/0.5553, allocations: 74.64 kB / 0.5774 GB, free: 40.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002824/0.5556, allocations: 149.3 kB / 0.5775 GB, free: 40.63 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004582/0.5601, allocations: 2.097 MB / 0.5796 GB, free: 39.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02001/0.5802, allocations: 12.89 MB / 0.5922 GB, free: 26.02 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001072/0.5813, allocations: 0.7027 MB / 0.5929 GB, free: 25.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001364/0.5827, allocations: 1.207 MB / 0.594 GB, free: 24.1 MB / 414.1 MB Notification: Performance of Backend: time 1.443e-06/0.5827, allocations: 0 / 0.594 GB, free: 24.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01237/0.5951, allocations: 7.051 MB / 0.6009 GB, free: 16.83 MB / 414.1 MB Notification: Performance of SimCode: time 0.009087/0.6042, allocations: 7.65 MB / 0.6084 GB, free: 9.133 MB / 414.1 MB Notification: Performance of Templates: time 0.08145/0.6857, allocations: 54.53 MB / 0.6616 GB, free: 2.691 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)