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.001693/0.001693, allocations: 112 kB / 16.28 MB, free: 5.941 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.001614/0.001614, allocations: 189.5 kB / 17.2 MB, free: 5.578 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.348/1.348, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06167/0.06167, allocations: 14.16 MB / 284.6 MB, free: 13.93 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.00161/0.00161, allocations: 72.41 kB / 347.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2344, allocations: 50.12 MB / 398 MB, free: 48.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.01298/0.2474, allocations: 15.96 MB / 414 MB, free: 35.44 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01185/0.2593, allocations: 6.835 MB / 420.8 MB, free: 28.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003931/0.2633, allocations: 75.56 kB / 420.9 MB, free: 28.51 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003041/0.2664, allocations: 0.8338 MB / 421.7 MB, free: 27.67 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007511/0.274, allocations: 2.539 MB / 424.2 MB, free: 25.14 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003133/0.2772, allocations: 1.533 MB / 425.8 MB, free: 23.61 MB / 318.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo:2647:11-2647:130:writable] Error: Internal error NFFunction.Function.getBody2 got function with external section (not algorithm section) Notification: Performance of NFFlatten.flatten: time 0.005735/0.2829, allocations: 5.063 MB / 430.8 MB, free: 18.54 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009339/0.2838, allocations: 0.749 MB / 431.6 MB, free: 17.76 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001818/0.2857, allocations: 1.74 MB / 433.3 MB, free: 16.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001482/0.2872, allocations: 1.848 MB / 435.2 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003211/0.2875, allocations: 288 kB / 435.5 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.2887, allocations: 0.6989 MB / 436.2 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003238/0.289, allocations: 0.6342 MB / 436.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.2901, allocations: 1.64 MB / 438.4 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003071/0.2932, allocations: 4.046 MB / 442.5 MB, free: 6.836 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2932, allocations: 0 / 442.5 MB, free: 6.836 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2932, allocations: 0 / 442.5 MB, free: 6.836 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.592e-05/0.2933, allocations: 0 / 442.5 MB, free: 6.836 MB / 318.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.0111/0.3044, allocations: 4.208 MB / 446.7 MB, free: 2.562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3044, allocations: 8.031 kB / 446.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/0.3057, allocations: 409 kB / 447.1 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002626/0.3083, allocations: 1.871 MB / 449 MB, free: 212 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.489e-05/0.3084, allocations: 164.4 kB / 449.1 MB, free: 48 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002988/0.3087, allocations: 231.8 kB / 449.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003232/0.312, allocations: 2.072 MB / 451.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.32e-05/0.312, allocations: 4 kB / 451.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/0.3122, allocations: 84 kB / 451.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.839e-05/0.3122, allocations: 48 kB / 451.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003416/0.3156, allocations: 1.912 MB / 453.5 MB, free: 11.63 MB / 334.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.02035/0.336, allocations: 12.3 MB / 465.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004156/0.3402, allocations: 2.638 MB / 468.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.3417, allocations: 0.8105 MB / 469.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.3418, allocations: 33.97 kB / 469.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.3418, allocations: 52.56 kB / 469.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=194): time 4.278e-06/0.3418, allocations: 0 / 469.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=194): time 0.009765/0.3516, allocations: 3.41 MB / 472.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.28e-05/0.3517, allocations: 172.2 kB / 472.9 MB, free: 6.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003143/0.3549, allocations: 1.879 MB / 474.8 MB, free: 5.023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002734/0.3552, allocations: 65.7 kB / 474.8 MB, free: 4.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001064/0.3562, allocations: 1.096 MB / 475.9 MB, free: 3.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009057/0.3572, allocations: 0.6854 MB / 476.6 MB, free: 3.148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009048/0.3581, allocations: 485.4 kB / 477.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.3582, allocations: 309.1 kB / 477.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001797/0.36, allocations: 0.8407 MB / 478.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002214/0.3622, allocations: 1.475 MB / 479.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003784/0.366, allocations: 2.209 MB / 481.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.642e-05/0.3661, allocations: 4 kB / 481.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.009516/0.3756, allocations: 3.779 MB / 485.7 MB, free: 9.461 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/0.3756, allocations: 12 kB / 485.7 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.639e-05/0.3757, allocations: 12 kB / 485.7 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00914/0.3848, allocations: 1.824 MB / 487.5 MB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002199/0.3871, allocations: 0.5305 MB / 488.1 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02744/0.4145, allocations: 21.4 MB / 0.4975 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002622/0.4172, allocations: 269.9 kB / 0.4978 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003057/0.4175, allocations: 99.98 kB / 0.4979 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002256/0.4197, allocations: 1.072 MB / 0.4989 GB, free: 14.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001885/0.4216, allocations: 1.361 MB / 0.5002 GB, free: 13.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003092/0.4247, allocations: 2.056 MB / 0.5023 GB, free: 10.72 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.431e-05/0.4248, allocations: 8 kB / 0.5023 GB, free: 10.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=343) (initialization_lambda0): time 0.006247/0.431, allocations: 2.966 MB / 0.5052 GB, free: 7.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.4311, allocations: 12 kB / 0.5052 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.4311, allocations: 16 kB / 0.5052 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006746/0.4378, allocations: 1.3 MB / 0.5065 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/0.4402, allocations: 0.6124 MB / 0.5071 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01539/0.4556, allocations: 16.57 MB / 0.5232 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002539/0.4581, allocations: 194.4 kB / 0.5234 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003028/0.4585, allocations: 104 kB / 0.5235 GB, free: 3.418 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.0005861/0.4591, allocations: 335.5 kB / 0.5238 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000659/0.4597, allocations: 249 kB / 0.5241 GB, free: 2.836 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004246/0.464, allocations: 2.109 MB / 0.5261 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.678e-05/0.464, allocations: 11.91 kB / 0.5261 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.464, allocations: 4 kB / 0.5261 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/0.4651, allocations: 0.5054 MB / 0.5266 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004434/0.4656, allocations: 35.94 kB / 0.5267 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/0.467, allocations: 75.95 kB / 0.5267 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.1474/0.6145, allocations: 143 kB / 0.5269 GB, free: 122.2 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005313/0.6198, allocations: 2.097 MB / 0.5289 GB, free: 122.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02491/0.6448, allocations: 12.82 MB / 0.5415 GB, free: 117 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001209/0.646, allocations: 0.6987 MB / 0.5421 GB, free: 116.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001548/0.6476, allocations: 1.218 MB / 0.5433 GB, free: 116.3 MB / 414.1 MB Notification: Performance of Backend: time 5.41e-07/0.6476, allocations: 0 / 0.5433 GB, free: 116.3 MB / 414.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created initialization part: time 0.01363/0.6612, allocations: 7.014 MB / 0.5502 GB, free: 112 MB / 414.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.01103/0.6723, allocations: 7.589 MB / 0.5576 GB, free: 104.6 MB / 414.1 MB Notification: Performance of Templates: time 0.07742/0.7497, allocations: 53.8 MB / 0.6101 GB, free: 50.98 MB / 414.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)