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.001155/0.001155, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001202/0.001202, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.444/1.444, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.0758/0.0758, allocations: 16.74 MB / 307.9 MB, free: 14.44 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 60.91 kB / 373.2 MB, free: 48.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09389/0.09533, allocations: 53.58 MB / 426.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.03251/0.1279, allocations: 40.63 MB / 467.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01906/0.147, allocations: 10.38 MB / 477.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004988/0.152, allocations: 107.4 kB / 477.9 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004421/0.1565, allocations: 1.381 MB / 479.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01101/0.1675, allocations: 3.908 MB / 483.1 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00533/0.1728, allocations: 2.501 MB / 485.6 MB, free: 0.8477 MB / 350.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.01036/0.1832, allocations: 8.538 MB / 494.2 MB, free: 8.289 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002777/0.186, allocations: 2.108 MB / 496.3 MB, free: 6.129 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003642/0.1897, allocations: 2.88 MB / 499.2 MB, free: 3.238 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003246/0.1929, allocations: 3.007 MB / 0.4904 GB, free: 224 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006327/0.1936, allocations: 460 kB / 0.4908 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.1955, allocations: 0.9996 MB / 0.4918 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007443/0.1962, allocations: 1.023 MB / 0.4928 GB, free: 13.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002447/0.1987, allocations: 2.814 MB / 0.4956 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006552/0.2052, allocations: 6.954 MB / 0.5024 GB, free: 3.938 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2053, allocations: 0 / 0.5024 GB, free: 3.938 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2053, allocations: 0 / 0.5024 GB, free: 3.938 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001175/0.2054, allocations: 4 kB / 0.5024 GB, free: 3.934 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: 838 * Number of variables: 838 Notification: Performance of Generate backend data structure: time 0.25/0.4555, allocations: 6.441 MB / 0.5087 GB, free: 76.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.099e-05/0.4555, allocations: 9.312 kB / 0.5087 GB, free: 76.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009094/0.4646, allocations: 1.021 MB / 0.5097 GB, free: 76.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01074/0.4754, allocations: 3.171 MB / 0.5128 GB, free: 75.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003481/0.4758, allocations: 269.4 kB / 0.513 GB, free: 75.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001284/0.4771, allocations: 369.1 kB / 0.5134 GB, free: 75.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01043/0.4876, allocations: 3.874 MB / 0.5171 GB, free: 72.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001307/0.4877, allocations: 24 kB / 0.5172 GB, free: 72.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006104/0.4884, allocations: 149.2 kB / 0.5173 GB, free: 72.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001102/0.4885, allocations: 86.62 kB / 0.5174 GB, free: 72.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006665/0.4951, allocations: 3.033 MB / 0.5204 GB, free: 71.57 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.03132/0.5265, allocations: 24.11 MB / 0.5439 GB, free: 50.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005183/0.5317, allocations: 3.57 MB / 0.5474 GB, free: 47.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001716/0.5335, allocations: 1.151 MB / 0.5485 GB, free: 46.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001702/0.5336, allocations: 44.55 kB / 0.5486 GB, free: 46.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.497e-05/0.5337, allocations: 73.5 kB / 0.5486 GB, free: 46.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=281): time 5.149e-06/0.5337, allocations: 0 / 0.5486 GB, free: 46.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=281): time 0.01261/0.5463, allocations: 4.999 MB / 0.5535 GB, free: 41.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.049e-05/0.5464, allocations: 218.8 kB / 0.5537 GB, free: 41.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006512/0.553, allocations: 3.567 MB / 0.5572 GB, free: 37.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007796/0.5538, allocations: 94.27 kB / 0.5573 GB, free: 37.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001538/0.5553, allocations: 1.912 MB / 0.5592 GB, free: 35.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001374/0.5567, allocations: 1.096 MB / 0.5602 GB, free: 34.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00245/0.5592, allocations: 1.468 MB / 0.5617 GB, free: 33.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.584e-05/0.5592, allocations: 305.1 kB / 0.562 GB, free: 32.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003247/0.5625, allocations: 2.265 MB / 0.5642 GB, free: 30.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004049/0.5665, allocations: 3.161 MB / 0.5672 GB, free: 27.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006159/0.5727, allocations: 4.44 MB / 0.5716 GB, free: 22.53 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.479e-05/0.5728, allocations: 4 kB / 0.5716 GB, free: 22.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=1044) (initialization): time 0.01418/0.587, allocations: 8.067 MB / 0.5795 GB, free: 14.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.587, allocations: 12 kB / 0.5795 GB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.875e-05/0.5871, allocations: 12 kB / 0.5795 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01106/0.5981, allocations: 2.161 MB / 0.5816 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006152/0.6043, allocations: 1.561 MB / 0.5831 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02676/0.6311, allocations: 25.49 MB / 0.608 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006754/0.6379, allocations: 0.5807 MB / 0.6086 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008845/0.6388, allocations: 260 kB / 0.6088 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005226/0.644, allocations: 2.771 MB / 0.6115 GB, free: 11.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004237/0.6483, allocations: 3.05 MB / 0.6145 GB, free: 8.469 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006272/0.6546, allocations: 4.288 MB / 0.6187 GB, free: 3.988 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.627e-05/0.6546, allocations: 4 kB / 0.6187 GB, free: 3.984 MB / 414.1 MB Notification: Performance of matching and sorting (n=1044) (initialization_lambda0): time 0.0135/0.6681, allocations: 7.246 MB / 0.6258 GB, free: 12.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.6682, allocations: 12 kB / 0.6258 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.221e-05/0.6682, allocations: 15.94 kB / 0.6258 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009659/0.6779, allocations: 1.637 MB / 0.6274 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006801/0.6847, allocations: 1.642 MB / 0.629 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01944/0.7042, allocations: 20.7 MB / 0.6492 GB, free: 2.988 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007506/0.7117, allocations: 468.4 kB / 0.6497 GB, free: 2.527 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001033/0.7128, allocations: 264 kB / 0.6499 GB, free: 2.27 MB / 446.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 (971): * Single equations (assignments): 958 * 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), (16,0), (2,0), (2,0), (2,0), (2,0)} Notification: Performance of prepare postOptimizeDAE: time 0.001498/0.7143, allocations: 0.5067 MB / 0.6504 GB, free: 1.754 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001299/0.7156, allocations: 414.9 kB / 0.6508 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005847/0.7214, allocations: 2.983 MB / 0.6537 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.8e-05/0.7215, allocations: 15.95 kB / 0.6537 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.335e-06/0.7215, allocations: 3.938 kB / 0.6537 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002434/0.7239, allocations: 0.8235 MB / 0.6546 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008005/0.7248, allocations: 55.92 kB / 0.6546 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002798/0.7276, allocations: 151.9 kB / 0.6548 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003857/0.728, allocations: 210.7 kB / 0.655 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006956/0.7349, allocations: 2.994 MB / 0.6579 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007036/0.742, allocations: 3.743 MB / 0.6615 GB, free: 6.301 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001666/0.7437, allocations: 0.9722 MB / 0.6625 GB, free: 5.324 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003903/0.7476, allocations: 2.193 MB / 0.6646 GB, free: 3.121 MB / 462.1 MB Notification: Performance of Backend: time 9.62e-07/0.7476, allocations: 0 / 0.6646 GB, free: 3.121 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02876/0.7764, allocations: 13.03 MB / 0.6774 GB, free: 5.848 MB / 478.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.2139/0.9903, allocations: 7.825 MB / 0.685 GB, free: 150.1 MB / 478.1 MB Notification: Performance of Templates: time 0.1263/1.117, allocations: 93.88 MB / 0.7767 GB, free: 77.96 MB / 478.1 MB 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 -s cvode -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1)