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.001253/0.001252, allocations: 110.8 kB / 16.41 MB, free: 6.516 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.001397/0.001397, allocations: 189.5 kB / 17.34 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.54/1.54, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06477/0.06477, allocations: 14.17 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.001682/0.001682, allocations: 69.08 kB / 399.3 MB, free: 42.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09908/0.1008, allocations: 50.12 MB / 449.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.01746/0.1183, allocations: 15.96 MB / 465.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01823/0.1365, allocations: 6.834 MB / 472.2 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004966/0.1416, allocations: 67.62 kB / 472.3 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004368/0.146, allocations: 0.8378 MB / 473.1 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009072/0.1552, allocations: 2.65 MB / 475.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003936/0.1591, allocations: 1.539 MB / 477.3 MB, free: 15.55 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.008149/0.1673, allocations: 5.088 MB / 482.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001751/0.169, allocations: 0.7451 MB / 483.2 MB, free: 9.672 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003158/0.1722, allocations: 1.775 MB / 484.9 MB, free: 7.891 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003252/0.1755, allocations: 1.852 MB / 486.8 MB, free: 6.031 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009913/0.1765, allocations: 284 kB / 487.1 MB, free: 5.754 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002384/0.1789, allocations: 0.7028 MB / 487.8 MB, free: 5.051 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009829/0.1799, allocations: 0.6263 MB / 488.4 MB, free: 4.422 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002974/0.1829, allocations: 1.648 MB / 490 MB, free: 2.766 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006829/0.1897, allocations: 4.225 MB / 494.3 MB, free: 14.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1897, allocations: 0 / 494.3 MB, free: 14.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1898, allocations: 0 / 494.3 MB, free: 14.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001529/0.1899, allocations: 0 / 494.3 MB, free: 14.53 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.01552/0.2054, allocations: 4.177 MB / 498.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.372e-05/0.2055, allocations: 8.031 kB / 498.5 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003347/0.2089, allocations: 409 kB / 498.8 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005747/0.2147, allocations: 1.946 MB / 0.4891 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/0.2149, allocations: 164.3 kB / 0.4892 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004212/0.2153, allocations: 231.8 kB / 0.4894 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003977/0.2193, allocations: 2.074 MB / 0.4915 GB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.685e-05/0.2194, allocations: 0 / 0.4915 GB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/0.2196, allocations: 84 kB / 0.4915 GB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.06e-05/0.2196, allocations: 48 kB / 0.4916 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003736/0.2233, allocations: 1.912 MB / 0.4935 GB, free: 3.281 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.02096/0.2443, allocations: 12.23 MB / 0.5054 GB, free: 6.016 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004228/0.2486, allocations: 2.637 MB / 0.508 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/0.25, allocations: 0.8144 MB / 0.5088 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.2502, allocations: 33.92 kB / 0.5088 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.2502, allocations: 52.56 kB / 0.5088 GB, free: 2.293 MB / 398.1 MB Notification: Performance of pre-optimization done (n=194): time 4.548e-06/0.2502, allocations: 0 / 0.5088 GB, free: 2.293 MB / 398.1 MB Notification: Performance of matching and sorting (n=194): time 0.01011/0.2604, allocations: 3.41 MB / 0.5122 GB, free: 14.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.906e-05/0.2605, allocations: 176.2 kB / 0.5123 GB, free: 14.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003527/0.264, allocations: 1.876 MB / 0.5142 GB, free: 12.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002796/0.2643, allocations: 65.7 kB / 0.5142 GB, free: 12.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009529/0.2653, allocations: 1.1 MB / 0.5153 GB, free: 11.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008094/0.2661, allocations: 0.6777 MB / 0.516 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008192/0.2669, allocations: 485.4 kB / 0.5164 GB, free: 10.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.2671, allocations: 305.1 kB / 0.5167 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001763/0.2688, allocations: 0.8368 MB / 0.5175 GB, free: 9.246 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00219/0.271, allocations: 1.471 MB / 0.519 GB, free: 7.512 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003742/0.2748, allocations: 2.208 MB / 0.5211 GB, free: 5.055 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.927e-05/0.2748, allocations: 8 kB / 0.5211 GB, free: 5.047 MB / 414.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.0104/0.2852, allocations: 3.779 MB / 0.5248 GB, free: 1.184 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.705e-05/0.2853, allocations: 14.97 kB / 0.5249 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.112e-05/0.2853, allocations: 23.94 kB / 0.5249 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2614/0.5467, allocations: 1.809 MB / 0.5266 GB, free: 78.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002505/0.5493, allocations: 0.5335 MB / 0.5272 GB, free: 78.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02682/0.5761, allocations: 21.35 MB / 0.548 GB, free: 62.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003298/0.5795, allocations: 272 kB / 0.5483 GB, free: 62.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003513/0.5798, allocations: 101.3 kB / 0.5484 GB, free: 62.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002493/0.5823, allocations: 1.073 MB / 0.5494 GB, free: 61.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001927/0.5843, allocations: 1.363 MB / 0.5508 GB, free: 60.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003025/0.5873, allocations: 2.055 MB / 0.5528 GB, free: 59.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.405e-05/0.5873, allocations: 4.875 kB / 0.5528 GB, free: 59.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=343) (initialization_lambda0): time 0.006388/0.5937, allocations: 2.964 MB / 0.5557 GB, free: 58.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.5938, allocations: 11.84 kB / 0.5557 GB, free: 58.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/0.5938, allocations: 15.88 kB / 0.5557 GB, free: 58.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006518/0.6003, allocations: 1.297 MB / 0.557 GB, free: 58.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002322/0.6027, allocations: 0.6114 MB / 0.5575 GB, free: 58.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01146/0.6141, allocations: 16.55 MB / 0.5737 GB, free: 42.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/0.6165, allocations: 189.7 kB / 0.5739 GB, free: 42.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.6167, allocations: 106.2 kB / 0.574 GB, free: 42.59 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.000548/0.6172, allocations: 336.7 kB / 0.5743 GB, free: 42.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003956/0.6176, allocations: 246.8 kB / 0.5746 GB, free: 42.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003633/0.6213, allocations: 2.114 MB / 0.5766 GB, free: 41.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/0.6213, allocations: 15.94 kB / 0.5766 GB, free: 41.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.6213, allocations: 0 / 0.5766 GB, free: 41.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007907/0.6221, allocations: 0.5024 MB / 0.5771 GB, free: 40.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002408/0.6224, allocations: 35.78 kB / 0.5772 GB, free: 40.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/0.6236, allocations: 79.72 kB / 0.5772 GB, free: 40.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002193/0.6238, allocations: 148.1 kB / 0.5774 GB, free: 40.62 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004423/0.6283, allocations: 2.09 MB / 0.5794 GB, free: 39.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02151/0.6498, allocations: 12.81 MB / 0.5919 GB, free: 26.14 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001058/0.6509, allocations: 0.7066 MB / 0.5926 GB, free: 25.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001588/0.6525, allocations: 1.21 MB / 0.5938 GB, free: 24.21 MB / 414.1 MB Notification: Performance of Backend: time 5.51e-07/0.6525, allocations: 0 / 0.5938 GB, free: 24.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01252/0.665, allocations: 7.022 MB / 0.6007 GB, free: 16.97 MB / 414.1 MB Notification: Performance of SimCode: time 0.01093/0.676, allocations: 7.523 MB / 0.608 GB, free: 9.41 MB / 414.1 MB Notification: Performance of Templates: time 0.09495/0.771, allocations: 54.51 MB / 0.6612 GB, free: 2.988 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)