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.001892/0.001892, allocations: 107.9 kB / 16.42 MB, free: 6.492 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.001694/0.001693, allocations: 188.1 kB / 17.34 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.546/1.546, 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.06253/0.06253, allocations: 14.16 MB / 284.7 MB, free: 13.87 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.001483/0.001483, allocations: 71.23 kB / 399.3 MB, free: 42.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09561/0.09711, allocations: 50.13 MB / 449.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.01575/0.1129, allocations: 15.96 MB / 465.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01394/0.1269, allocations: 6.838 MB / 472.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003669/0.1306, allocations: 71.56 kB / 472.3 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003106/0.1338, allocations: 0.8339 MB / 473.1 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008293/0.1421, allocations: 2.646 MB / 475.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003701/0.1458, allocations: 1.545 MB / 477.3 MB, free: 15.57 MB / 366.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.007128/0.153, allocations: 5.083 MB / 482.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.1545, allocations: 0.7529 MB / 483.2 MB, free: 9.684 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003261/0.1578, allocations: 1.771 MB / 484.9 MB, free: 7.906 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002999/0.1608, allocations: 1.848 MB / 486.8 MB, free: 6.051 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001031/0.1619, allocations: 284 kB / 487.1 MB, free: 5.773 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.1642, allocations: 0.7106 MB / 487.8 MB, free: 5.062 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000908/0.1651, allocations: 0.6263 MB / 488.4 MB, free: 4.434 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00264/0.1678, allocations: 1.648 MB / 490.1 MB, free: 2.777 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005706/0.1735, allocations: 4.234 MB / 494.3 MB, free: 14.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1735, allocations: 0 / 494.3 MB, free: 14.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1735, allocations: 0 / 494.3 MB, free: 14.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.114e-05/0.1736, 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.01324/0.1869, allocations: 4.271 MB / 498.6 MB, free: 10.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.1869, allocations: 8.031 kB / 498.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/0.1885, allocations: 422.8 kB / 499 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004101/0.1927, allocations: 1.963 MB / 0.4892 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.1928, allocations: 164.4 kB / 0.4894 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000319/0.1931, allocations: 223.9 kB / 0.4896 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00353/0.1967, allocations: 2.078 MB / 0.4916 GB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.876e-05/0.1967, allocations: 3.938 kB / 0.4916 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001716/0.1969, allocations: 84 kB / 0.4917 GB, free: 5.117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.428e-05/0.1969, allocations: 48 kB / 0.4917 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003635/0.2006, allocations: 1.908 MB / 0.4936 GB, free: 3.16 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.01919/0.2198, allocations: 12.24 MB / 0.5056 GB, free: 5.879 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004008/0.2238, allocations: 2.645 MB / 0.5081 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.2253, allocations: 0.8105 MB / 0.5089 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.649e-05/0.2254, allocations: 29.98 kB / 0.509 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.2254, allocations: 52.56 kB / 0.509 GB, free: 2.156 MB / 398.1 MB Notification: Performance of pre-optimization done (n=194): time 4.207e-06/0.2254, allocations: 0 / 0.509 GB, free: 2.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=194): time 0.0104/0.2359, allocations: 3.427 MB / 0.5124 GB, free: 14.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.236, allocations: 180.2 kB / 0.5125 GB, free: 14.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002888/0.2389, allocations: 1.872 MB / 0.5144 GB, free: 12.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00027/0.2392, allocations: 69.69 kB / 0.5144 GB, free: 12.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008941/0.2401, allocations: 1.118 MB / 0.5155 GB, free: 11.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008418/0.2409, allocations: 0.7164 MB / 0.5162 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006536/0.2416, allocations: 489.6 kB / 0.5167 GB, free: 10.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.2417, allocations: 305.1 kB / 0.517 GB, free: 9.879 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/0.2434, allocations: 0.8407 MB / 0.5178 GB, free: 9.031 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002066/0.2454, allocations: 1.467 MB / 0.5192 GB, free: 7.301 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003564/0.249, allocations: 2.209 MB / 0.5214 GB, free: 4.844 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-05/0.2491, allocations: 8 kB / 0.5214 GB, free: 4.836 MB / 414.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.009524/0.2586, allocations: 3.792 MB / 0.5251 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.2587, allocations: 15.94 kB / 0.5251 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.43e-05/0.2587, allocations: 19.98 kB / 0.5251 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2268/0.4855, allocations: 1.799 MB / 0.5269 GB, free: 78.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002282/0.4879, allocations: 0.5343 MB / 0.5274 GB, free: 78.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0237/0.5116, allocations: 21.38 MB / 0.5483 GB, free: 62.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002615/0.5142, allocations: 276.6 kB / 0.5485 GB, free: 62.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/0.5144, allocations: 102 kB / 0.5486 GB, free: 62.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001846/0.5163, allocations: 1.073 MB / 0.5497 GB, free: 61.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001452/0.5177, allocations: 1.359 MB / 0.551 GB, free: 60.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002452/0.5202, allocations: 2.051 MB / 0.553 GB, free: 59.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.312e-05/0.5202, allocations: 4.75 kB / 0.553 GB, free: 59.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=343) (initialization_lambda0): time 0.005718/0.526, allocations: 2.981 MB / 0.5559 GB, free: 58.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.526, allocations: 11.91 kB / 0.5559 GB, free: 58.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.526, allocations: 15.81 kB / 0.556 GB, free: 58.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006373/0.5324, allocations: 1.306 MB / 0.5572 GB, free: 58.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002304/0.5347, allocations: 0.6008 MB / 0.5578 GB, free: 57.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01194/0.5467, allocations: 16.58 MB / 0.574 GB, free: 42.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002486/0.5492, allocations: 194.9 kB / 0.5742 GB, free: 42.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002004/0.5494, allocations: 101.3 kB / 0.5743 GB, free: 42.53 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.0005163/0.55, allocations: 343.8 kB / 0.5746 GB, free: 42.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004073/0.5504, allocations: 258.6 kB / 0.5749 GB, free: 42.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003507/0.5539, allocations: 2.106 MB / 0.5769 GB, free: 41.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.5539, allocations: 11.62 kB / 0.5769 GB, free: 41.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.5539, allocations: 0 / 0.5769 GB, free: 41.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008742/0.5548, allocations: 0.5115 MB / 0.5774 GB, free: 40.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002953/0.5551, allocations: 31.34 kB / 0.5775 GB, free: 40.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/0.5564, allocations: 77.22 kB / 0.5775 GB, free: 40.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/0.5567, allocations: 150.8 kB / 0.5777 GB, free: 40.43 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004497/0.5612, allocations: 2.099 MB / 0.5797 GB, free: 38.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02034/0.5815, allocations: 12.88 MB / 0.5923 GB, free: 25.7 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001047/0.5826, allocations: 0.7028 MB / 0.593 GB, free: 25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001374/0.584, allocations: 1.214 MB / 0.5942 GB, free: 23.77 MB / 414.1 MB Notification: Performance of Backend: time 1.744e-06/0.584, allocations: 0 / 0.5942 GB, free: 23.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01188/0.5959, allocations: 7.05 MB / 0.6011 GB, free: 16.5 MB / 414.1 MB Notification: Performance of SimCode: time 0.008935/0.6049, allocations: 7.643 MB / 0.6085 GB, free: 8.809 MB / 414.1 MB Notification: Performance of Templates: time 0.09063/0.6955, allocations: 54.54 MB / 0.6618 GB, free: 2.359 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)