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.005606/0.005606, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001264/0.001264, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08168/0.08168, allocations: 16.67 MB / 307.2 MB, free: 14.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 75.86 kB / 426.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08662/0.08847, allocations: 53.55 MB / 480.1 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.2159/0.3044, allocations: 40.88 MB / 0.5087 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01409/0.3185, allocations: 10.46 MB / 0.519 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00423/0.3228, allocations: 106.2 kB / 0.5191 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004088/0.3269, allocations: 1.385 MB / 0.5204 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01033/0.3373, allocations: 3.936 MB / 0.5243 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005809/0.3431, allocations: 2.612 MB / 0.5268 GB, free: 6.27 MB / 382.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.0105/0.3536, allocations: 8.662 MB / 0.5353 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003051/0.3567, allocations: 2.132 MB / 0.5373 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004661/0.3614, allocations: 2.936 MB / 0.5402 GB, free: 15.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005502/0.3669, allocations: 3.083 MB / 0.5432 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001077/0.368, allocations: 476.5 kB / 0.5437 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003073/0.3711, allocations: 1.022 MB / 0.5447 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009792/0.3721, allocations: 1.055 MB / 0.5457 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004616/0.3767, allocations: 2.859 MB / 0.5485 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009614/0.3863, allocations: 7.167 MB / 0.5555 GB, free: 3.586 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3864, allocations: 0 / 0.5555 GB, free: 3.586 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3864, allocations: 3.938 kB / 0.5555 GB, free: 3.582 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001188/0.3865, allocations: 0 / 0.5555 GB, free: 3.582 MB / 398.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.02186/0.4084, allocations: 7.118 MB / 0.5625 GB, free: 12.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.4084, allocations: 12.03 kB / 0.5625 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005344/0.4138, allocations: 1.056 MB / 0.5635 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006542/0.4203, allocations: 3.234 MB / 0.5667 GB, free: 8.168 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002393/0.4206, allocations: 279.1 kB / 0.5669 GB, free: 7.895 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005892/0.4212, allocations: 371.9 kB / 0.5673 GB, free: 7.531 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007108/0.4283, allocations: 3.992 MB / 0.5712 GB, free: 3.121 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.497e-05/0.4284, allocations: 19.81 kB / 0.5712 GB, free: 3.102 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003372/0.4288, allocations: 152 kB / 0.5713 GB, free: 2.953 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.873e-05/0.4288, allocations: 88 kB / 0.5714 GB, free: 2.867 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006072/0.4349, allocations: 3.176 MB / 0.5745 GB, free: 15.68 MB / 430.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.03532/0.4703, allocations: 24.14 MB / 0.5981 GB, free: 6.586 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006532/0.4768, allocations: 3.604 MB / 0.6016 GB, free: 2.824 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002249/0.4791, allocations: 1.233 MB / 0.6028 GB, free: 1.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001652/0.4793, allocations: 41.25 kB / 0.6029 GB, free: 1.551 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.54e-05/0.4793, allocations: 73.56 kB / 0.6029 GB, free: 1.473 MB / 446.1 MB Notification: Performance of pre-optimization done (n=297): time 4.829e-06/0.4793, allocations: 0 / 0.6029 GB, free: 1.473 MB / 446.1 MB Notification: Performance of matching and sorting (n=297): time 0.01587/0.4952, allocations: 5.394 MB / 0.6082 GB, free: 12.02 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.4954, allocations: 214.9 kB / 0.6084 GB, free: 11.77 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005617/0.501, allocations: 3.662 MB / 0.612 GB, free: 8.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004272/0.5015, allocations: 97.7 kB / 0.6121 GB, free: 7.988 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001785/0.5033, allocations: 1.956 MB / 0.614 GB, free: 6.055 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001368/0.5046, allocations: 1.211 MB / 0.6152 GB, free: 4.855 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002382/0.507, allocations: 1.548 MB / 0.6167 GB, free: 3.297 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.5072, allocations: 301.1 kB / 0.617 GB, free: 3 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004504/0.5117, allocations: 2.396 MB / 0.6193 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005628/0.5173, allocations: 3.313 MB / 0.6225 GB, free: 13.05 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008559/0.5259, allocations: 4.697 MB / 0.6271 GB, free: 8.102 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.602e-05/0.526, allocations: 4 kB / 0.6271 GB, free: 8.098 MB / 478.1 MB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01962/0.5456, allocations: 8.466 MB / 0.6354 GB, free: 15.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/0.5457, allocations: 8 kB / 0.6354 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.455e-05/0.5457, allocations: 12 kB / 0.6354 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01288/0.5586, allocations: 2.177 MB / 0.6375 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007118/0.5657, allocations: 1.627 MB / 0.6391 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03464/0.6004, allocations: 25.91 MB / 0.6644 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006797/0.6072, allocations: 0.6171 MB / 0.665 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007934/0.608, allocations: 279.9 kB / 0.6653 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005999/0.6141, allocations: 2.903 MB / 0.6681 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005081/0.6192, allocations: 3.207 MB / 0.6713 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007577/0.6267, allocations: 4.533 MB / 0.6757 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.076e-05/0.6268, allocations: 4 kB / 0.6757 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.01535/0.6422, allocations: 7.659 MB / 0.6832 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.6422, allocations: 8 kB / 0.6832 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-05/0.6422, allocations: 12.53 kB / 0.6832 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01049/0.6527, allocations: 1.66 MB / 0.6848 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007315/0.6601, allocations: 1.705 MB / 0.6865 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02307/0.6832, allocations: 21.09 MB / 0.7071 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006212/0.6894, allocations: 489.2 kB / 0.7075 GB, free: 1.434 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007163/0.6901, allocations: 272 kB / 0.7078 GB, free: 1.168 MB / 0.545 GB 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.001142/0.6913, allocations: 0.5261 MB / 0.7083 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001033/0.6923, allocations: 457.1 kB / 0.7088 GB, free: 188 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1914/0.8838, allocations: 3.177 MB / 0.7119 GB, free: 181.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.755e-05/0.8838, allocations: 14.94 kB / 0.7119 GB, free: 181.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/0.8838, allocations: 0.75 kB / 0.7119 GB, free: 181.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002065/0.8859, allocations: 0.8872 MB / 0.7127 GB, free: 181.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007003/0.8866, allocations: 54.33 kB / 0.7128 GB, free: 181.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002722/0.8893, allocations: 155.1 kB / 0.7129 GB, free: 181.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004176/0.8898, allocations: 224 kB / 0.7132 GB, free: 181.7 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007274/0.8971, allocations: 3.227 MB / 0.7163 GB, free: 181.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007023/0.9041, allocations: 4.049 MB / 0.7203 GB, free: 179.9 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001835/0.906, allocations: 1.058 MB / 0.7213 GB, free: 179.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00374/0.9097, allocations: 2.248 MB / 0.7235 GB, free: 178.6 MB / 0.545 GB Notification: Performance of Backend: time 3.91e-07/0.9097, allocations: 3.125 kB / 0.7235 GB, free: 178.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02386/0.9336, allocations: 13.61 MB / 0.7368 GB, free: 172.1 MB / 0.545 GB Notification: Performance of SimCode: time 0.01138/0.945, allocations: 8.168 MB / 0.7448 GB, free: 168.1 MB / 0.545 GB Notification: Performance of Templates: time 0.126/1.071, allocations: 99.45 MB / 0.8419 GB, free: 74.57 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1)