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.001162/0.001162, allocations: 108 kB / 16.27 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.001269/0.00127, allocations: 190.2 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.504/1.504, allocations: 205.1 MB / 223.1 MB, free: 12.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06068/0.06068, allocations: 14.18 MB / 284.6 MB, free: 13.9 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.001741/0.001742, allocations: 59.91 kB / 347.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2824, allocations: 50.13 MB / 398 MB, free: 48.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.01441/0.2969, allocations: 15.96 MB / 414 MB, free: 35.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01158/0.3085, allocations: 6.839 MB / 420.8 MB, free: 28.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004294/0.3129, allocations: 67.62 kB / 420.9 MB, free: 28.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002602/0.3155, allocations: 0.8338 MB / 421.7 MB, free: 27.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007894/0.3235, allocations: 2.535 MB / 424.2 MB, free: 25.13 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003666/0.3272, allocations: 1.534 MB / 425.8 MB, free: 23.6 MB / 318.1 MB [/var/lib/jenkins/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.007232/0.3344, allocations: 5.064 MB / 430.8 MB, free: 18.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.3356, allocations: 0.7451 MB / 431.6 MB, free: 17.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002702/0.3384, allocations: 1.744 MB / 433.3 MB, free: 16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001811/0.3402, allocations: 1.848 MB / 435.2 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003993/0.3406, allocations: 284 kB / 435.4 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.3422, allocations: 0.7067 MB / 436.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003885/0.3426, allocations: 0.6225 MB / 436.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001535/0.3442, allocations: 1.648 MB / 438.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004313/0.3485, allocations: 4.042 MB / 442.5 MB, free: 6.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3485, allocations: 0 / 442.5 MB, free: 6.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3485, allocations: 0 / 442.5 MB, free: 6.824 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.666e-05/0.3486, allocations: 0 / 442.5 MB, free: 6.824 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.01225/0.3608, allocations: 4.208 MB / 446.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.287e-05/0.3609, allocations: 12.03 kB / 446.7 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/0.3625, allocations: 409 kB / 447.1 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003076/0.3656, allocations: 1.875 MB / 449 MB, free: 192 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.778e-05/0.3657, allocations: 164.4 kB / 449.1 MB, free: 28 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003169/0.366, allocations: 223.9 kB / 449.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003651/0.3697, allocations: 2.076 MB / 451.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.535e-05/0.3697, allocations: 3.938 kB / 451.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001646/0.3699, allocations: 84 kB / 451.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-05/0.3699, allocations: 52 kB / 451.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003436/0.3734, allocations: 1.92 MB / 453.5 MB, free: 11.6 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.02199/0.3954, allocations: 12.28 MB / 465.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004186/0.3996, allocations: 2.645 MB / 468.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/0.401, allocations: 0.8183 MB / 469.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.894e-05/0.4011, allocations: 22 kB / 469.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/0.4012, allocations: 52.56 kB / 469.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=194): time 3.988e-06/0.4012, allocations: 0 / 469.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=194): time 0.01021/0.4114, allocations: 3.417 MB / 472.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.4116, allocations: 180.2 kB / 472.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003166/0.4148, allocations: 1.872 MB / 474.8 MB, free: 5.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002542/0.415, allocations: 65.7 kB / 474.8 MB, free: 4.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001017/0.4161, allocations: 1.096 MB / 475.9 MB, free: 3.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009011/0.417, allocations: 0.6854 MB / 476.6 MB, free: 3.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000736/0.4177, allocations: 477.5 kB / 477.1 MB, free: 2.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4179, allocations: 313 kB / 477.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001675/0.4196, allocations: 0.8407 MB / 478.2 MB, free: 1.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002276/0.4218, allocations: 1.467 MB / 479.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003638/0.4255, allocations: 2.212 MB / 481.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/0.4255, allocations: 4 kB / 481.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.009952/0.4355, allocations: 3.779 MB / 485.7 MB, free: 9.449 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.259e-05/0.4356, allocations: 12 kB / 485.7 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-05/0.4356, allocations: 16 kB / 485.7 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009266/0.4449, allocations: 1.827 MB / 487.5 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002444/0.4473, allocations: 0.5266 MB / 488.1 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0274/0.4748, allocations: 21.39 MB / 0.4975 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003174/0.478, allocations: 269.7 kB / 0.4978 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003046/0.4783, allocations: 104 kB / 0.4979 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002167/0.4805, allocations: 1.072 MB / 0.4989 GB, free: 14.63 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001679/0.4822, allocations: 1.354 MB / 0.5002 GB, free: 13.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002825/0.485, allocations: 2.064 MB / 0.5023 GB, free: 10.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.786e-06/0.485, allocations: 4 kB / 0.5023 GB, free: 10.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=343) (initialization_lambda0): time 0.006276/0.4913, allocations: 2.962 MB / 0.5052 GB, free: 7.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.4914, allocations: 12 kB / 0.5052 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.789e-05/0.4914, allocations: 20.17 kB / 0.5052 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006864/0.4983, allocations: 1.307 MB / 0.5065 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002593/0.5009, allocations: 0.6084 MB / 0.5071 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0163/0.5172, allocations: 16.56 MB / 0.5232 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003407/0.5207, allocations: 194.4 kB / 0.5234 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002776/0.521, allocations: 104 kB / 0.5235 GB, free: 3.41 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.0007756/0.5217, allocations: 327.6 kB / 0.5238 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000857/0.5226, allocations: 249 kB / 0.5241 GB, free: 2.836 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004433/0.5271, allocations: 2.124 MB / 0.5261 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.199e-05/0.5271, allocations: 7.969 kB / 0.5261 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.5271, allocations: 0 / 0.5261 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001517/0.5286, allocations: 0.5014 MB / 0.5266 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003609/0.529, allocations: 40 kB / 0.5267 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/0.5304, allocations: 71.94 kB / 0.5267 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2289/0.7594, allocations: 147.3 kB / 0.5269 GB, free: 122.1 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005038/0.7645, allocations: 2.099 MB / 0.5289 GB, free: 122 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02394/0.7884, allocations: 12.82 MB / 0.5415 GB, free: 116.9 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001126/0.7896, allocations: 0.6988 MB / 0.5421 GB, free: 116.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001411/0.791, allocations: 1.217 MB / 0.5433 GB, free: 116.2 MB / 414.1 MB Notification: Performance of Backend: time 6.91e-07/0.7911, allocations: 0 / 0.5433 GB, free: 116.2 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.01185/0.8029, allocations: 7.007 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.00966/0.8126, allocations: 7.599 MB / 0.5576 GB, free: 104.6 MB / 414.1 MB Notification: Performance of Templates: time 0.08208/0.8947, allocations: 53.78 MB / 0.6101 GB, free: 50.97 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=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1)