Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerGrids_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.004575/0.004575, allocations: 103.7 kB / 15.74 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.001093/0.001093, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.251/1.251, allocations: 205.1 MB / 222.5 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05944/0.05944, allocations: 14.16 MB / 284.1 MB, free: 6.953 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.001418/0.001418, allocations: 71.91 kB / 398.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2319, allocations: 50.12 MB / 448.8 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.0149/0.2468, allocations: 15.96 MB / 464.7 MB, free: 5.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01248/0.2593, allocations: 6.839 MB / 471.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002753/0.2621, allocations: 75.56 kB / 471.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002484/0.2646, allocations: 0.8338 MB / 472.5 MB, free: 15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00698/0.2717, allocations: 2.645 MB / 475.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003171/0.2748, allocations: 1.536 MB / 476.7 MB, free: 10.82 MB / 350.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.006088/0.2809, allocations: 5.095 MB / 481.7 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.2822, allocations: 0.749 MB / 482.5 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002421/0.2847, allocations: 1.771 MB / 484.3 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002686/0.2874, allocations: 1.852 MB / 486.1 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006651/0.2881, allocations: 284 kB / 486.4 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.2899, allocations: 0.7105 MB / 487.1 MB, free: 308 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006463/0.2905, allocations: 0.6265 MB / 487.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002231/0.2928, allocations: 1.644 MB / 489.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004813/0.2976, allocations: 4.22 MB / 493.6 MB, free: 9.789 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2976, allocations: 0 / 493.6 MB, free: 9.789 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2976, allocations: 0 / 493.6 MB, free: 9.789 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.858e-05/0.2977, allocations: 4 kB / 493.6 MB, free: 9.785 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.01184/0.3096, allocations: 4.185 MB / 497.8 MB, free: 5.535 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.3096, allocations: 8.031 kB / 497.8 MB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.311, allocations: 409 kB / 498.2 MB, free: 5.125 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003123/0.3141, allocations: 1.942 MB / 0.4884 GB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.3142, allocations: 164.4 kB / 0.4886 GB, free: 2.949 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002912/0.3145, allocations: 223.8 kB / 0.4888 GB, free: 2.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003119/0.3176, allocations: 2.076 MB / 0.4908 GB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.029e-05/0.3177, allocations: 3.938 kB / 0.4908 GB, free: 0.5781 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/0.3178, allocations: 84 kB / 0.4909 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.682e-05/0.3179, allocations: 48 kB / 0.4909 GB, free: 460 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003197/0.3211, allocations: 1.916 MB / 0.4928 GB, free: 14.53 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.01555/0.3367, allocations: 12.21 MB / 0.5047 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003515/0.3402, allocations: 2.638 MB / 0.5073 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.3414, allocations: 0.8144 MB / 0.5081 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.3415, allocations: 25.91 kB / 0.5081 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.3416, allocations: 56.56 kB / 0.5082 GB, free: 13.56 MB / 398.1 MB Notification: Performance of pre-optimization done (n=194): time 6.833e-06/0.3416, allocations: 7.984 kB / 0.5082 GB, free: 13.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=194): time 0.008379/0.35, allocations: 3.414 MB / 0.5115 GB, free: 10.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/0.3501, allocations: 176.2 kB / 0.5117 GB, free: 9.906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002214/0.3523, allocations: 1.868 MB / 0.5135 GB, free: 8.008 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001345/0.3524, allocations: 69.7 kB / 0.5136 GB, free: 7.934 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007244/0.3532, allocations: 1.1 MB / 0.5147 GB, free: 6.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005408/0.3537, allocations: 0.6777 MB / 0.5153 GB, free: 6.133 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006223/0.3543, allocations: 481.4 kB / 0.5158 GB, free: 5.656 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.732e-05/0.3544, allocations: 317 kB / 0.5161 GB, free: 5.344 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.3559, allocations: 0.829 MB / 0.5169 GB, free: 4.508 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001856/0.3578, allocations: 1.475 MB / 0.5183 GB, free: 2.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003108/0.3609, allocations: 2.209 MB / 0.5205 GB, free: 320 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.719e-06/0.3609, allocations: 7.938 kB / 0.5205 GB, free: 312 kB / 398.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.008058/0.369, allocations: 3.779 MB / 0.5242 GB, free: 12.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.369, allocations: 12 kB / 0.5242 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.803e-05/0.3691, allocations: 20 kB / 0.5242 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008499/0.3776, allocations: 1.808 MB / 0.526 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001891/0.3795, allocations: 0.5382 MB / 0.5265 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02297/0.4024, allocations: 21.36 MB / 0.5474 GB, free: 3.109 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/0.4048, allocations: 269.7 kB / 0.5476 GB, free: 2.844 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001911/0.405, allocations: 107.9 kB / 0.5477 GB, free: 2.738 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001825/0.4068, allocations: 1.075 MB / 0.5488 GB, free: 1.656 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00151/0.4084, allocations: 1.354 MB / 0.5501 GB, free: 44 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002609/0.411, allocations: 2.056 MB / 0.5521 GB, free: 13.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.666e-06/0.411, allocations: 4 kB / 0.5521 GB, free: 13.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=343) (initialization_lambda0): time 0.005594/0.4166, allocations: 2.962 MB / 0.555 GB, free: 10.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.4166, allocations: 12 kB / 0.555 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.4167, allocations: 16 kB / 0.555 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006384/0.4231, allocations: 1.304 MB / 0.5563 GB, free: 9.324 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002166/0.4252, allocations: 0.6046 MB / 0.5569 GB, free: 8.719 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0138/0.439, allocations: 16.55 MB / 0.5731 GB, free: 6.762 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/0.4412, allocations: 194.4 kB / 0.5732 GB, free: 6.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/0.4414, allocations: 99.98 kB / 0.5733 GB, free: 6.473 MB / 462.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.0004807/0.4419, allocations: 343.5 kB / 0.5737 GB, free: 6.129 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003474/0.4422, allocations: 245 kB / 0.5739 GB, free: 5.887 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00377/0.446, allocations: 2.116 MB / 0.576 GB, free: 3.754 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.676e-05/0.446, allocations: 11.95 kB / 0.576 GB, free: 3.742 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4461, allocations: 4 kB / 0.576 GB, free: 3.738 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007125/0.4468, allocations: 0.4937 MB / 0.5765 GB, free: 3.223 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002423/0.447, allocations: 40 kB / 0.5765 GB, free: 3.184 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.4482, allocations: 71.94 kB / 0.5766 GB, free: 3.113 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002297/0.4484, allocations: 153.8 kB / 0.5767 GB, free: 2.961 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004572/0.453, allocations: 2.095 MB / 0.5788 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003866/0.4569, allocations: 2.641 MB / 0.5813 GB, free: 14.19 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001066/0.458, allocations: 0.7105 MB / 0.582 GB, free: 13.48 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0015/0.4595, allocations: 1.214 MB / 0.5832 GB, free: 12.25 MB / 478.1 MB Notification: Performance of Backend: time 4.51e-07/0.4595, allocations: 0 / 0.5832 GB, free: 12.25 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01159/0.4711, allocations: 7.013 MB / 0.5901 GB, free: 4.961 MB / 478.1 MB Notification: Performance of SimCode: time 0.1695/0.6406, allocations: 5.269 MB / 0.5952 GB, free: 137.6 MB / 478.1 MB Notification: Performance of Templates: time 0.06591/0.7066, allocations: 50.13 MB / 0.6442 GB, free: 102.2 MB / 478.1 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.makefile (rm -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.sim & ./PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1)