Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerGrids_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.006059/0.006059, allocations: 103.4 kB / 15.74 MB, free: 5.957 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.001366/0.001366, allocations: 192.6 kB / 16.68 MB, free: 5.887 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.397/1.397, allocations: 205.1 MB / 222.5 MB, free: 4.473 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06501/0.06501, allocations: 14.17 MB / 284.1 MB, free: 6.953 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.001592/0.001592, allocations: 71.83 kB / 398.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2737, allocations: 50.13 MB / 448.8 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.0161/0.2898, allocations: 15.96 MB / 464.7 MB, free: 5.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01344/0.3033, allocations: 6.837 MB / 471.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003998/0.3074, allocations: 71.62 kB / 471.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003092/0.3105, allocations: 0.8221 MB / 472.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008737/0.3193, allocations: 2.546 MB / 475 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003869/0.3232, allocations: 1.54 MB / 476.5 MB, free: 10.95 MB / 350.1 MB [/var/lib/jenkins/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.009009/0.3322, allocations: 5.083 MB / 481.6 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001761/0.334, allocations: 0.7529 MB / 482.4 MB, free: 5.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003896/0.3379, allocations: 1.775 MB / 484.2 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003354/0.3413, allocations: 1.848 MB / 486 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001104/0.3424, allocations: 288 kB / 486.3 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002635/0.3451, allocations: 0.7067 MB / 487 MB, free: 444 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000901/0.346, allocations: 0.6264 MB / 487.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003024/0.349, allocations: 1.644 MB / 489.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005505/0.3546, allocations: 4.224 MB / 493.5 MB, free: 9.918 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.3546, allocations: 0 / 493.5 MB, free: 9.918 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3546, allocations: 0 / 493.5 MB, free: 9.918 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.489e-05/0.3547, allocations: 0 / 493.5 MB, free: 9.918 MB / 366.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.01277/0.3675, allocations: 4.185 MB / 497.7 MB, free: 5.668 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.3675, allocations: 8.031 kB / 497.7 MB, free: 5.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/0.369, allocations: 409 kB / 498.1 MB, free: 5.258 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00356/0.3726, allocations: 1.934 MB / 0.4883 GB, free: 3.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.3727, allocations: 168.4 kB / 0.4885 GB, free: 3.086 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003026/0.373, allocations: 227.8 kB / 0.4887 GB, free: 2.863 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003536/0.3766, allocations: 2.072 MB / 0.4907 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.444e-05/0.3766, allocations: 3.938 kB / 0.4907 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/0.3768, allocations: 80 kB / 0.4908 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.179e-05/0.3768, allocations: 52 kB / 0.4908 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003442/0.3803, allocations: 1.912 MB / 0.4927 GB, free: 14.67 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.01785/0.3982, allocations: 12.22 MB / 0.5046 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003839/0.402, allocations: 2.634 MB / 0.5072 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/0.4034, allocations: 0.8183 MB / 0.508 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.414e-05/0.4035, allocations: 22 kB / 0.508 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.4035, allocations: 56.55 kB / 0.5081 GB, free: 13.7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=194): time 4.668e-06/0.4035, allocations: 0 / 0.5081 GB, free: 13.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=194): time 0.009572/0.4131, allocations: 3.414 MB / 0.5114 GB, free: 10.26 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.493e-05/0.4132, allocations: 172.2 kB / 0.5116 GB, free: 10.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002595/0.4158, allocations: 1.879 MB / 0.5134 GB, free: 8.145 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002535/0.4161, allocations: 65.7 kB / 0.5135 GB, free: 8.074 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008081/0.4169, allocations: 1.096 MB / 0.5145 GB, free: 6.965 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006741/0.4176, allocations: 0.6816 MB / 0.5152 GB, free: 6.273 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006519/0.4183, allocations: 485.4 kB / 0.5157 GB, free: 5.793 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.016e-05/0.4184, allocations: 309.1 kB / 0.516 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/0.42, allocations: 0.8407 MB / 0.5168 GB, free: 4.641 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001996/0.422, allocations: 1.471 MB / 0.5182 GB, free: 2.906 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003429/0.4254, allocations: 2.209 MB / 0.5204 GB, free: 460 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.4254, allocations: 7.938 kB / 0.5204 GB, free: 452 kB / 398.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.009183/0.4346, allocations: 3.775 MB / 0.5241 GB, free: 12.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.4347, allocations: 12 kB / 0.5241 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.496e-05/0.4347, allocations: 20.12 kB / 0.5241 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009348/0.4441, allocations: 1.816 MB / 0.5259 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002273/0.4464, allocations: 0.5305 MB / 0.5264 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02654/0.473, allocations: 21.37 MB / 0.5473 GB, free: 3.242 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002975/0.476, allocations: 269.7 kB / 0.5475 GB, free: 2.977 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00039/0.4764, allocations: 104 kB / 0.5476 GB, free: 2.875 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002295/0.4787, allocations: 1.072 MB / 0.5487 GB, free: 1.797 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001804/0.4805, allocations: 1.357 MB / 0.55 GB, free: 184 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002956/0.4835, allocations: 2.06 MB / 0.552 GB, free: 13.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.399e-05/0.4835, allocations: 8 kB / 0.552 GB, free: 13.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=343) (initialization_lambda0): time 0.006562/0.4901, allocations: 2.963 MB / 0.5549 GB, free: 10.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.4901, allocations: 8 kB / 0.5549 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.436e-05/0.4902, allocations: 16 kB / 0.5549 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006889/0.4971, allocations: 1.304 MB / 0.5562 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002464/0.4996, allocations: 0.6046 MB / 0.5568 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01528/0.5149, allocations: 16.55 MB / 0.5729 GB, free: 6.895 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00279/0.5177, allocations: 198.4 kB / 0.5731 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003556/0.5181, allocations: 96 kB / 0.5732 GB, free: 6.605 MB / 462.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.0007564/0.5188, allocations: 343.4 kB / 0.5736 GB, free: 6.262 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008213/0.5197, allocations: 249 kB / 0.5738 GB, free: 6.016 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004512/0.5242, allocations: 2.113 MB / 0.5759 GB, free: 3.887 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-05/0.5242, allocations: 7.969 kB / 0.5759 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.5242, allocations: 0 / 0.5759 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/0.5254, allocations: 0.5054 MB / 0.5764 GB, free: 3.352 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007428/0.5262, allocations: 36 kB / 0.5764 GB, free: 3.316 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002016/0.5282, allocations: 75.89 kB / 0.5765 GB, free: 3.242 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003135/0.5285, allocations: 149.8 kB / 0.5766 GB, free: 3.094 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00558/0.5341, allocations: 2.095 MB / 0.5786 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004687/0.5388, allocations: 2.641 MB / 0.5812 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001241/0.5401, allocations: 0.7027 MB / 0.5819 GB, free: 13.62 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00219/0.5423, allocations: 1.21 MB / 0.5831 GB, free: 12.4 MB / 478.1 MB Notification: Performance of Backend: time 5.91e-07/0.5423, allocations: 0 / 0.5831 GB, free: 12.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01514/0.5575, allocations: 7.02 MB / 0.59 GB, free: 5.098 MB / 478.1 MB Notification: Performance of SimCode: time 0.2162/0.7737, allocations: 5.27 MB / 0.5951 GB, free: 137.3 MB / 478.1 MB Notification: Performance of Templates: time 0.07365/0.8474, allocations: 50.13 MB / 0.6441 GB, free: 102.1 MB / 478.1 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.makefile (rm -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.sim & ./PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1)