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.00127/0.00127, allocations: 103.4 kB / 16.41 MB, free: 6.43 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.001536/0.001536, allocations: 192.2 kB / 17.35 MB, free: 5.703 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.632/1.632, 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.06319/0.06319, allocations: 14.17 MB / 284.7 MB, free: 13.85 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.002963/0.002963, allocations: 69.36 kB / 399.3 MB, free: 42.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1193, allocations: 50.13 MB / 449.4 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.01766/0.137, allocations: 15.96 MB / 465.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01405/0.1511, allocations: 6.834 MB / 472.2 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003451/0.1546, allocations: 71.56 kB / 472.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002755/0.1574, allocations: 0.8338 MB / 473.1 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008053/0.1655, allocations: 2.544 MB / 475.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003982/0.1695, allocations: 1.528 MB / 477.2 MB, free: 15.66 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.008599/0.1781, allocations: 5.095 MB / 482.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/0.1799, allocations: 0.749 MB / 483.1 MB, free: 9.766 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003073/0.183, allocations: 1.775 MB / 484.8 MB, free: 7.984 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003024/0.186, allocations: 1.844 MB / 486.7 MB, free: 6.133 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008242/0.1869, allocations: 288 kB / 487 MB, free: 5.852 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002133/0.189, allocations: 0.695 MB / 487.6 MB, free: 5.156 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008932/0.1899, allocations: 0.638 MB / 488.3 MB, free: 4.516 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002448/0.1924, allocations: 1.644 MB / 489.9 MB, free: 2.863 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004738/0.1971, allocations: 4.225 MB / 494.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1972, allocations: 0 / 494.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1972, allocations: 0 / 494.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.483e-05/0.1972, allocations: 0 / 494.2 MB, free: 14.62 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.0121/0.2093, allocations: 4.173 MB / 498.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.2094, allocations: 8.031 kB / 498.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.2107, allocations: 413 kB / 498.7 MB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003387/0.2141, allocations: 1.938 MB / 0.4889 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.2142, allocations: 164.4 kB / 0.4891 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002927/0.2145, allocations: 231.8 kB / 0.4893 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003471/0.218, allocations: 2.074 MB / 0.4913 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.988e-05/0.2181, allocations: 7.938 kB / 0.4914 GB, free: 5.422 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001616/0.2182, allocations: 79.94 kB / 0.4914 GB, free: 5.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.493e-05/0.2183, allocations: 48 kB / 0.4915 GB, free: 5.297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003454/0.2217, allocations: 1.912 MB / 0.4933 GB, free: 3.383 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.01883/0.2406, allocations: 12.23 MB / 0.5053 GB, free: 6.117 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004032/0.2446, allocations: 2.637 MB / 0.5079 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/0.246, allocations: 0.8183 MB / 0.5087 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.2461, allocations: 25.98 kB / 0.5087 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/0.2462, allocations: 60.55 kB / 0.5087 GB, free: 2.391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=194): time 4.028e-06/0.2462, allocations: 0 / 0.5087 GB, free: 2.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=194): time 0.01036/0.2566, allocations: 3.406 MB / 0.5121 GB, free: 14.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.437e-05/0.2567, allocations: 176.2 kB / 0.5122 GB, free: 14.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00362/0.2603, allocations: 1.876 MB / 0.5141 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002642/0.2606, allocations: 65.7 kB / 0.5141 GB, free: 12.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.2617, allocations: 1.096 MB / 0.5152 GB, free: 11.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008794/0.2626, allocations: 0.6815 MB / 0.5159 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008198/0.2634, allocations: 493.4 kB / 0.5163 GB, free: 10.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.2636, allocations: 305.1 kB / 0.5166 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001825/0.2654, allocations: 0.8368 MB / 0.5174 GB, free: 9.336 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002245/0.2677, allocations: 1.471 MB / 0.5189 GB, free: 7.602 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003802/0.2715, allocations: 2.209 MB / 0.521 GB, free: 5.145 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.915e-05/0.2715, allocations: 4 kB / 0.521 GB, free: 5.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.01038/0.2819, allocations: 3.775 MB / 0.5247 GB, free: 1.281 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.015e-05/0.282, allocations: 12.94 kB / 0.5247 GB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.849e-05/0.282, allocations: 16 kB / 0.5248 GB, free: 1.254 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2168/0.4988, allocations: 1.815 MB / 0.5265 GB, free: 78.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002645/0.5015, allocations: 0.5374 MB / 0.527 GB, free: 78.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02572/0.5273, allocations: 21.34 MB / 0.5479 GB, free: 62.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002742/0.5301, allocations: 271 kB / 0.5482 GB, free: 62.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006219/0.5307, allocations: 105.3 kB / 0.5483 GB, free: 62.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002675/0.5334, allocations: 1.075 MB / 0.5493 GB, free: 61.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001635/0.5351, allocations: 1.362 MB / 0.5506 GB, free: 60.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002459/0.5375, allocations: 2.048 MB / 0.5526 GB, free: 59.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.268e-05/0.5376, allocations: 9.344 kB / 0.5526 GB, free: 59.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=343) (initialization_lambda0): time 0.005647/0.5432, allocations: 2.963 MB / 0.5555 GB, free: 58.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.5433, allocations: 11.81 kB / 0.5555 GB, free: 58.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.5433, allocations: 15.75 kB / 0.5556 GB, free: 58.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006454/0.5497, allocations: 1.301 MB / 0.5568 GB, free: 58.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002384/0.5521, allocations: 0.6032 MB / 0.5574 GB, free: 58.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/0.564, allocations: 16.56 MB / 0.5736 GB, free: 42.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002687/0.5667, allocations: 187.7 kB / 0.5738 GB, free: 42.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001897/0.5669, allocations: 104.4 kB / 0.5739 GB, free: 42.6 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.0005858/0.5675, allocations: 342 kB / 0.5742 GB, free: 42.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004807/0.568, allocations: 248 kB / 0.5744 GB, free: 42.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003835/0.5718, allocations: 2.105 MB / 0.5765 GB, free: 41.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-05/0.5719, allocations: 15.94 kB / 0.5765 GB, free: 41.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.5719, allocations: 3.844 kB / 0.5765 GB, free: 41.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009855/0.5729, allocations: 0.4978 MB / 0.577 GB, free: 40.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002696/0.5732, allocations: 46.56 kB / 0.577 GB, free: 40.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.5745, allocations: 72.31 kB / 0.5771 GB, free: 40.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002386/0.5748, allocations: 148.5 kB / 0.5773 GB, free: 40.65 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004579/0.5793, allocations: 2.093 MB / 0.5793 GB, free: 39.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02001/0.5994, allocations: 12.81 MB / 0.5918 GB, free: 26.19 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001064/0.6005, allocations: 0.7027 MB / 0.5925 GB, free: 25.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001345/0.6018, allocations: 1.21 MB / 0.5937 GB, free: 24.26 MB / 414.1 MB Notification: Performance of Backend: time 8.02e-07/0.6018, allocations: 2.188 kB / 0.5937 GB, free: 24.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01274/0.6146, allocations: 7.031 MB / 0.6005 GB, free: 17.02 MB / 414.1 MB Notification: Performance of SimCode: time 0.01064/0.6253, allocations: 7.516 MB / 0.6079 GB, free: 9.465 MB / 414.1 MB Notification: Performance of Templates: time 0.09132/0.7167, allocations: 56.76 MB / 0.6633 GB, free: 0.793 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)