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.0008587/0.0008628, allocations: 98.81 kB / 16.03 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009654/0.0009656, allocations: 184.4 kB / 16.93 MB, free: 6.656 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.4 MB / 223.1 MB, free: 5.469 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06071/0.06071, allocations: 14.16 MB / 285.6 MB, free: 7.047 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.0005735/0.0005735, allocations: 23.92 kB / 349.5 MB, free: 17.45 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1064, allocations: 51.11 MB / 400.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.01495/0.1214, allocations: 15.61 MB / 416.2 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01248/0.1339, allocations: 6.765 MB / 423 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003376/0.1374, allocations: 71.56 kB / 423.1 MB, free: 7.758 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002513/0.1399, allocations: 0.6798 MB / 423.7 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007101/0.147, allocations: 2.333 MB / 426.1 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003267/0.1503, allocations: 1.403 MB / 427.5 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2305/0.3808, allocations: 4.963 MB / 432.4 MB, free: 14.35 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001728/0.3826, allocations: 0.7018 MB / 433.1 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003168/0.3858, allocations: 1.298 MB / 434.4 MB, free: 14.13 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003123/0.3889, allocations: 1.453 MB / 435.9 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005021/0.3894, allocations: 96.69 kB / 436 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002267/0.3917, allocations: 467.1 kB / 436.4 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004258/0.3921, allocations: 415.7 kB / 436.9 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002032/0.3942, allocations: 1.386 MB / 438.2 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005708/0.3999, allocations: 3.637 MB / 441.9 MB, free: 12.7 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.3999, allocations: 0 / 441.9 MB, free: 12.7 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3999, allocations: 0 / 441.9 MB, free: 12.7 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.619e-05/0.4, allocations: 2.812 kB / 441.9 MB, free: 12.7 MB / 318.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.0126/0.4126, allocations: 3.598 MB / 445.5 MB, free: 11.33 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.4127, allocations: 8.844 kB / 445.5 MB, free: 11.33 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00226/0.415, allocations: 408.9 kB / 445.9 MB, free: 11.17 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004037/0.419, allocations: 1.8 MB / 447.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/0.4192, allocations: 164 kB / 447.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004153/0.4196, allocations: 225.4 kB / 448.1 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004098/0.4237, allocations: 2.117 MB / 450.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.095e-05/0.4238, allocations: 1.375 kB / 450.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001776/0.424, allocations: 83.94 kB / 450.3 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-05/0.4241, allocations: 52.83 kB / 450.3 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003674/0.4277, allocations: 1.982 MB / 452.3 MB, free: 9.785 MB / 318.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.01519/0.4429, allocations: 11.68 MB / 464 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004132/0.4471, allocations: 2.697 MB / 466.7 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001428/0.4485, allocations: 0.8401 MB / 467.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-05/0.4487, allocations: 27.09 kB / 467.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/0.4487, allocations: 59.19 kB / 467.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=194): time 4.418e-06/0.4487, allocations: 4 kB / 467.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=194): time 0.01022/0.459, allocations: 3.513 MB / 471.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.4591, allocations: 176.2 kB / 471.3 MB, free: 9.973 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003663/0.4628, allocations: 1.782 MB / 473.1 MB, free: 8.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005503/0.4633, allocations: 65.7 kB / 473.1 MB, free: 8.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001102/0.4644, allocations: 1.094 MB / 474.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001072/0.4655, allocations: 0.6862 MB / 474.9 MB, free: 6.312 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003351/0.4659, allocations: 235.2 kB / 475.2 MB, free: 6.078 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.466, allocations: 309.1 kB / 475.5 MB, free: 5.773 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001809/0.4678, allocations: 0.8604 MB / 476.3 MB, free: 4.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002185/0.47, allocations: 1.498 MB / 477.8 MB, free: 3.164 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00363/0.4737, allocations: 2.278 MB / 480.1 MB, free: 0.707 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.4737, allocations: 4 kB / 480.1 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.009782/0.4835, allocations: 4.04 MB / 484.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000573/0.4841, allocations: 0.5658 MB / 484.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-05/0.4841, allocations: 20 kB / 484.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009449/0.4936, allocations: 1.945 MB / 486.7 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002536/0.4961, allocations: 0.5471 MB / 487.2 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02657/0.5227, allocations: 20.37 MB / 0.4957 GB, free: 3.668 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003395/0.5262, allocations: 301.5 kB / 0.496 GB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003712/0.5266, allocations: 99.98 kB / 0.4961 GB, free: 3.273 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.5266, allocations: 6.344 kB / 0.4961 GB, free: 3.27 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006878/0.5335, allocations: 2.736 MB / 0.4987 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-05/0.5335, allocations: 21.03 kB / 0.4988 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006707/0.5403, allocations: 1.278 MB / 0.5 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002986/0.5433, allocations: 0.6162 MB / 0.5006 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01803/0.5613, allocations: 15.29 MB / 0.5155 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003151/0.5645, allocations: 198.2 kB / 0.5157 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002908/0.5648, allocations: 104 kB / 0.5158 GB, free: 13.85 MB / 398.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.001654/0.5665, allocations: 0.5651 MB / 0.5164 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008647/0.5674, allocations: 245 kB / 0.5166 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004891/0.5723, allocations: 2.182 MB / 0.5187 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.065e-05/0.5723, allocations: 11.91 kB / 0.5188 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.5723, allocations: 0 / 0.5188 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001282/0.5736, allocations: 477.6 kB / 0.5192 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003391/0.5739, allocations: 40 kB / 0.5192 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/0.5754, allocations: 99.7 kB / 0.5193 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002679/0.5756, allocations: 157.7 kB / 0.5195 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005469/0.5811, allocations: 2.166 MB / 0.5216 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00548/0.5866, allocations: 2.729 MB / 0.5243 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001355/0.588, allocations: 0.7326 MB / 0.525 GB, free: 4.492 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002202/0.5902, allocations: 1.148 MB / 0.5261 GB, free: 3.328 MB / 398.1 MB Notification: Performance of Backend: time 4.3e-07/0.5902, allocations: 0 / 0.5261 GB, free: 3.328 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01599/0.6062, allocations: 7.075 MB / 0.533 GB, free: 12.12 MB / 414.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.01173/0.618, allocations: 6.277 MB / 0.5391 GB, free: 5.809 MB / 414.1 MB Notification: Performance of Templates: time 0.08948/0.7075, allocations: 43.55 MB / 0.5817 GB, free: 10.41 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)