Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerGrids_dev_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.005517/0.005517, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001124/0.001124, allocations: 201.3 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.161/0.161, allocations: 16.78 MB / 307.3 MB, free: 14.72 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 65.66 kB / 426.6 MB, free: 36.82 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07992/0.08118, allocations: 53.56 MB / 480.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.0303/0.1115, allocations: 40.91 MB / 0.5089 GB, free: 3.738 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01665/0.1282, allocations: 10.47 MB / 0.5191 GB, free: 9.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003815/0.132, allocations: 107.4 kB / 0.5192 GB, free: 9.137 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003887/0.1359, allocations: 1.389 MB / 0.5205 GB, free: 7.738 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01009/0.146, allocations: 3.935 MB / 0.5244 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00537/0.1514, allocations: 2.607 MB / 0.5269 GB, free: 1.254 MB / 398.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.01013/0.1616, allocations: 8.657 MB / 0.5354 GB, free: 8.578 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003359/0.1649, allocations: 2.136 MB / 0.5375 GB, free: 6.391 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004117/0.1691, allocations: 2.934 MB / 0.5403 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00438/0.1735, allocations: 3.089 MB / 0.5434 GB, free: 352 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00117/0.1747, allocations: 476 kB / 0.5438 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002632/0.1773, allocations: 1.015 MB / 0.5448 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008263/0.1781, allocations: 1.054 MB / 0.5458 GB, free: 13.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002955/0.1811, allocations: 2.861 MB / 0.5486 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007515/0.1886, allocations: 7.161 MB / 0.5556 GB, free: 3.742 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1887, allocations: 8 kB / 0.5556 GB, free: 3.734 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1887, allocations: 4 kB / 0.5556 GB, free: 3.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000101/0.1888, allocations: 0 / 0.5556 GB, free: 3.73 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 862 * Number of variables: 862 Notification: Performance of Generate backend data structure: time 0.01945/0.2082, allocations: 7.114 MB / 0.5626 GB, free: 12.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.2083, allocations: 8.031 kB / 0.5626 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004758/0.2131, allocations: 1.059 MB / 0.5636 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005647/0.2187, allocations: 3.238 MB / 0.5668 GB, free: 8.164 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/0.2189, allocations: 275.1 kB / 0.567 GB, free: 7.895 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004609/0.2194, allocations: 379.9 kB / 0.5674 GB, free: 7.523 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005761/0.2251, allocations: 3.988 MB / 0.5713 GB, free: 3.117 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.735e-05/0.2252, allocations: 23.8 kB / 0.5713 GB, free: 3.094 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002769/0.2255, allocations: 156 kB / 0.5715 GB, free: 2.941 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.777e-05/0.2256, allocations: 88 kB / 0.5716 GB, free: 2.855 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005117/0.2307, allocations: 3.172 MB / 0.5747 GB, free: 15.67 MB / 462.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.2202/0.4509, allocations: 24.13 MB / 0.5982 GB, free: 90.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005329/0.4563, allocations: 3.585 MB / 0.6017 GB, free: 89.39 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001815/0.4581, allocations: 1.233 MB / 0.6029 GB, free: 89.35 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00016/0.4583, allocations: 51.62 kB / 0.603 GB, free: 89.35 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/0.4584, allocations: 71.41 kB / 0.603 GB, free: 89.3 MB / 462.1 MB Notification: Performance of pre-optimization done (n=297): time 4.589e-06/0.4584, allocations: 1.188 kB / 0.603 GB, free: 89.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=297): time 0.01406/0.4724, allocations: 5.395 MB / 0.6083 GB, free: 88.28 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.635e-05/0.4725, allocations: 213.3 kB / 0.6085 GB, free: 88.05 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004662/0.4772, allocations: 3.664 MB / 0.6121 GB, free: 86.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003728/0.4776, allocations: 97.42 kB / 0.6122 GB, free: 86.62 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001074/0.4787, allocations: 1.953 MB / 0.6141 GB, free: 85.45 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008639/0.4795, allocations: 1.215 MB / 0.6153 GB, free: 84.69 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001721/0.4813, allocations: 1.541 MB / 0.6168 GB, free: 83.95 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.805e-05/0.4813, allocations: 305.1 kB / 0.6171 GB, free: 83.65 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003226/0.4846, allocations: 2.401 MB / 0.6194 GB, free: 82.48 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003639/0.4882, allocations: 3.307 MB / 0.6226 GB, free: 80.38 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005861/0.4941, allocations: 4.698 MB / 0.6272 GB, free: 77.59 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.848e-05/0.4941, allocations: 4.031 kB / 0.6272 GB, free: 77.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01332/0.5074, allocations: 8.472 MB / 0.6355 GB, free: 70.56 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.5075, allocations: 8 kB / 0.6355 GB, free: 70.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.811e-05/0.5075, allocations: 16 kB / 0.6355 GB, free: 70.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01043/0.518, allocations: 2.169 MB / 0.6377 GB, free: 68.33 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005449/0.5234, allocations: 1.634 MB / 0.6392 GB, free: 66.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02218/0.5456, allocations: 25.91 MB / 0.6646 GB, free: 39.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006033/0.5517, allocations: 0.6156 MB / 0.6652 GB, free: 38.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004943/0.5522, allocations: 272 kB / 0.6654 GB, free: 38.28 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004125/0.5563, allocations: 2.907 MB / 0.6683 GB, free: 35.36 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003258/0.5596, allocations: 3.203 MB / 0.6714 GB, free: 31.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004945/0.5645, allocations: 4.537 MB / 0.6758 GB, free: 27.14 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.363e-05/0.5646, allocations: 4 kB / 0.6758 GB, free: 27.14 MB / 462.1 MB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.01065/0.5752, allocations: 7.656 MB / 0.6833 GB, free: 19.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.5753, allocations: 10.19 kB / 0.6833 GB, free: 19.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/0.5753, allocations: 17.42 kB / 0.6833 GB, free: 19.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008583/0.5839, allocations: 1.654 MB / 0.6849 GB, free: 17.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005865/0.5898, allocations: 1.702 MB / 0.6866 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01554/0.6053, allocations: 21.11 MB / 0.7072 GB, free: 9.191 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006254/0.6116, allocations: 485.8 kB / 0.7077 GB, free: 8.805 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007373/0.6124, allocations: 272 kB / 0.7079 GB, free: 8.539 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 9 (GRIDL.componentPF.isSlackBus,GRID.componentPF.isSlackBus,NTLV.componentPF.isSlackBus,GEN.componentPF.isSlackBus,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 (1015): * Single equations (assignments): 1002 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,0,100.0%), (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): 7 systems {(38,0), (10,0), (19,0), (2,0), (2,0), (2,0), (2,0)} Notification: Performance of prepare postOptimizeDAE: time 0.001056/0.6134, allocations: 0.5223 MB / 0.7084 GB, free: 8.016 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009992/0.6144, allocations: 453.1 kB / 0.7089 GB, free: 7.57 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005924/0.6204, allocations: 3.186 MB / 0.712 GB, free: 4.363 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.428e-05/0.6204, allocations: 19.88 kB / 0.712 GB, free: 4.344 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.6204, allocations: 0 / 0.712 GB, free: 4.344 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00171/0.6221, allocations: 0.8858 MB / 0.7129 GB, free: 3.465 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005127/0.6227, allocations: 53.2 kB / 0.7129 GB, free: 3.414 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002432/0.6251, allocations: 151.9 kB / 0.7131 GB, free: 3.266 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003453/0.6255, allocations: 222.6 kB / 0.7133 GB, free: 3.047 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007024/0.6325, allocations: 3.228 MB / 0.7164 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006391/0.6389, allocations: 4.051 MB / 0.7204 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001622/0.6405, allocations: 1.054 MB / 0.7214 GB, free: 10.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003254/0.6438, allocations: 2.25 MB / 0.7236 GB, free: 8.438 MB / 494.1 MB Notification: Performance of Backend: time 2.134e-06/0.6438, allocations: 0 / 0.7236 GB, free: 8.438 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02397/0.6678, allocations: 13.61 MB / 0.7369 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of SimCode: time 0.01221/0.68, allocations: 8.173 MB / 0.7449 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.3283/1.008, allocations: 99.43 MB / 0.842 GB, free: 155.1 MB / 0.545 GB make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1)