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.001499/0.001499, allocations: 107.1 kB / 16.42 MB, free: 6.508 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.001328/0.001328, allocations: 185.5 kB / 17.35 MB, free: 5.758 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.62/1.62, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06867/0.06867, allocations: 14.16 MB / 284.8 MB, free: 13.86 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.002182/0.002182, allocations: 63.83 kB / 399.3 MB, free: 42.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09251/0.09471, allocations: 50.13 MB / 449.5 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.01785/0.1126, allocations: 15.96 MB / 465.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01361/0.1262, allocations: 6.842 MB / 472.2 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004467/0.1307, allocations: 71.56 kB / 472.3 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003271/0.134, allocations: 0.8261 MB / 473.1 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0086/0.1427, allocations: 2.537 MB / 475.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004242/0.147, allocations: 1.538 MB / 477.2 MB, free: 15.68 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.01006/0.157, allocations: 5.091 MB / 482.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001854/0.1589, allocations: 0.749 MB / 483.1 MB, free: 9.789 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003529/0.1625, allocations: 1.74 MB / 484.8 MB, free: 8.043 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003668/0.1662, allocations: 1.848 MB / 486.6 MB, free: 6.188 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007339/0.1669, allocations: 284 kB / 486.9 MB, free: 5.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002351/0.1693, allocations: 0.7067 MB / 487.6 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006609/0.17, allocations: 0.6341 MB / 488.3 MB, free: 4.566 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002376/0.1723, allocations: 1.648 MB / 489.9 MB, free: 2.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007682/0.18, allocations: 4.23 MB / 494.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1801, allocations: 0 / 494.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.559e-06/0.1801, allocations: 4 kB / 494.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001085/0.1802, 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.01467/0.1949, allocations: 4.271 MB / 498.4 MB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.1949, allocations: 8.031 kB / 498.4 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/0.1965, allocations: 422.8 kB / 498.8 MB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003938/0.2005, allocations: 1.959 MB / 0.4891 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.2006, allocations: 164.4 kB / 0.4892 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003423/0.201, allocations: 219.9 kB / 0.4894 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003824/0.2048, allocations: 2.074 MB / 0.4915 GB, free: 5.348 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.76e-05/0.2048, allocations: 0 / 0.4915 GB, free: 5.348 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001809/0.205, allocations: 87.94 kB / 0.4915 GB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.586e-05/0.2051, allocations: 48 kB / 0.4916 GB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003883/0.209, allocations: 1.924 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.02307/0.2321, allocations: 12.23 MB / 0.5054 GB, free: 6.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004796/0.2369, allocations: 2.645 MB / 0.508 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001508/0.2384, allocations: 0.8105 MB / 0.5088 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001513/0.2386, allocations: 29.97 kB / 0.5088 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.982e-05/0.2387, allocations: 52.56 kB / 0.5089 GB, free: 2.297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=194): time 3.697e-06/0.2387, allocations: 0 / 0.5089 GB, free: 2.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=194): time 0.01048/0.2492, allocations: 3.431 MB / 0.5122 GB, free: 14.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.2493, allocations: 176.2 kB / 0.5124 GB, free: 14.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0031/0.2524, allocations: 1.872 MB / 0.5142 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003125/0.2528, allocations: 69.7 kB / 0.5143 GB, free: 12.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.2538, allocations: 1.114 MB / 0.5154 GB, free: 11.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008685/0.2546, allocations: 0.7242 MB / 0.5161 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007779/0.2554, allocations: 481.6 kB / 0.5165 GB, free: 10.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2556, allocations: 321 kB / 0.5168 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001723/0.2573, allocations: 0.829 MB / 0.5176 GB, free: 9.172 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002415/0.2598, allocations: 1.467 MB / 0.5191 GB, free: 7.441 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004083/0.2638, allocations: 2.212 MB / 0.5212 GB, free: 4.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.2639, allocations: 4 kB / 0.5212 GB, free: 4.977 MB / 414.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.01015/0.274, allocations: 3.796 MB / 0.5249 GB, free: 1.098 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/0.2741, allocations: 15.94 kB / 0.525 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.758e-05/0.2741, allocations: 16 kB / 0.525 GB, free: 1.066 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2165/0.4907, allocations: 1.806 MB / 0.5267 GB, free: 79.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002275/0.493, allocations: 0.5346 MB / 0.5273 GB, free: 79.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02419/0.5172, allocations: 21.38 MB / 0.5481 GB, free: 62.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002756/0.52, allocations: 268.5 kB / 0.5484 GB, free: 62.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002637/0.5202, allocations: 101.3 kB / 0.5485 GB, free: 62.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001933/0.5222, allocations: 1.078 MB / 0.5495 GB, free: 62.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001561/0.5238, allocations: 1.363 MB / 0.5509 GB, free: 61.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002721/0.5265, allocations: 2.049 MB / 0.5529 GB, free: 59.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.529e-05/0.5265, allocations: 4.406 kB / 0.5529 GB, free: 59.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=343) (initialization_lambda0): time 0.006177/0.5327, allocations: 2.986 MB / 0.5558 GB, free: 58.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.161e-05/0.5328, allocations: 11.88 kB / 0.5558 GB, free: 58.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.854e-05/0.5328, allocations: 19.5 kB / 0.5558 GB, free: 58.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006633/0.5395, allocations: 1.293 MB / 0.5571 GB, free: 58.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002607/0.5421, allocations: 0.6094 MB / 0.5577 GB, free: 58.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01229/0.5544, allocations: 16.57 MB / 0.5739 GB, free: 42.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002979/0.5574, allocations: 194 kB / 0.5741 GB, free: 42.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003063/0.5577, allocations: 107.9 kB / 0.5742 GB, free: 42.64 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.0006292/0.5584, allocations: 332.2 kB / 0.5745 GB, free: 42.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000719/0.5591, allocations: 264 kB / 0.5747 GB, free: 42.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003923/0.563, allocations: 2.111 MB / 0.5768 GB, free: 41.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/0.5631, allocations: 7.969 kB / 0.5768 GB, free: 41.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.5631, allocations: 0 / 0.5768 GB, free: 41.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/0.5641, allocations: 0.5202 MB / 0.5773 GB, free: 40.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003052/0.5645, allocations: 39.22 kB / 0.5773 GB, free: 40.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/0.5658, allocations: 71.77 kB / 0.5774 GB, free: 40.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002341/0.566, allocations: 152.1 kB / 0.5776 GB, free: 40.64 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004693/0.5707, allocations: 2.091 MB / 0.5796 GB, free: 39.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02111/0.5919, allocations: 12.88 MB / 0.5922 GB, free: 26.04 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001089/0.593, allocations: 0.7027 MB / 0.5929 GB, free: 25.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001526/0.5945, allocations: 1.207 MB / 0.594 GB, free: 24.11 MB / 414.1 MB Notification: Performance of Backend: time 2.505e-06/0.5945, allocations: 0 / 0.594 GB, free: 24.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01282/0.6074, allocations: 7.064 MB / 0.6009 GB, free: 16.83 MB / 414.1 MB Notification: Performance of SimCode: time 0.009629/0.617, allocations: 7.643 MB / 0.6084 GB, free: 9.141 MB / 414.1 MB Notification: Performance of Templates: time 0.103/0.7201, allocations: 54.53 MB / 0.6616 GB, free: 2.699 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)