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.001062/0.001062, allocations: 98.5 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.001474/0.001474, allocations: 184.9 kB / 16.93 MB, free: 6.711 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.409/1.409, allocations: 205.4 MB / 223.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06453/0.06453, 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.0005349/0.0005349, allocations: 12 kB / 349.5 MB, free: 17.45 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08997/0.09052, allocations: 51.12 MB / 400.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.01649/0.1071, allocations: 15.61 MB / 416.2 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01331/0.1204, allocations: 6.765 MB / 423 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004263/0.1247, allocations: 71.56 kB / 423.1 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003314/0.1281, allocations: 0.6837 MB / 423.7 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008359/0.1365, allocations: 2.326 MB / 426.1 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00435/0.1409, allocations: 1.407 MB / 427.5 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1891/0.33, allocations: 4.959 MB / 432.4 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/0.3319, allocations: 0.7071 MB / 433.1 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002866/0.3348, allocations: 1.3 MB / 434.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003013/0.3379, allocations: 1.445 MB / 435.9 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008096/0.3387, allocations: 94.12 kB / 436 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002435/0.3411, allocations: 476 kB / 436.4 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008356/0.342, allocations: 413.5 kB / 436.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003255/0.3453, allocations: 1.388 MB / 438.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005976/0.3512, allocations: 3.638 MB / 441.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.3513, allocations: 0 / 441.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3513, allocations: 0 / 441.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001038/0.3514, allocations: 0 / 441.9 MB, free: 12.64 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.0122/0.3636, allocations: 3.594 MB / 445.5 MB, free: 11.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.3637, allocations: 9.75 kB / 445.5 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001947/0.3656, allocations: 413.5 kB / 445.9 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003595/0.3692, allocations: 1.798 MB / 447.7 MB, free: 10.53 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.3694, allocations: 166.5 kB / 447.8 MB, free: 10.53 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000395/0.3698, allocations: 222 kB / 448.1 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003879/0.3737, allocations: 2.117 MB / 450.2 MB, free: 10.1 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.97e-05/0.3738, allocations: 1.531 kB / 450.2 MB, free: 10.1 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/0.3739, allocations: 82.5 kB / 450.3 MB, free: 10.1 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.074e-05/0.374, allocations: 52.97 kB / 450.3 MB, free: 10.1 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003706/0.3777, allocations: 1.976 MB / 452.3 MB, free: 9.789 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.01403/0.3917, allocations: 11.69 MB / 464 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00398/0.3957, allocations: 2.705 MB / 466.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/0.3972, allocations: 0.8376 MB / 467.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.874e-05/0.3973, allocations: 29.77 kB / 467.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/0.3973, allocations: 56.09 kB / 467.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of pre-optimization done (n=194): time 4.509e-06/0.3974, allocations: 0 / 467.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=194): time 0.01008/0.4074, allocations: 3.513 MB / 471.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.67e-05/0.4076, allocations: 180.2 kB / 471.3 MB, free: 9.949 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002717/0.4103, allocations: 1.782 MB / 473.1 MB, free: 8.137 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003023/0.4106, allocations: 65.7 kB / 473.1 MB, free: 8.066 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008549/0.4115, allocations: 1.091 MB / 474.2 MB, free: 6.973 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007313/0.4122, allocations: 0.6882 MB / 474.9 MB, free: 6.289 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003008/0.4125, allocations: 231.2 kB / 475.1 MB, free: 6.059 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.926e-05/0.4126, allocations: 305.1 kB / 475.4 MB, free: 5.758 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/0.4144, allocations: 0.8643 MB / 476.3 MB, free: 4.891 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002206/0.4166, allocations: 1.502 MB / 477.8 MB, free: 3.141 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0038/0.4204, allocations: 2.276 MB / 480.1 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/0.4205, allocations: 4 kB / 480.1 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.01042/0.4309, allocations: 4.045 MB / 484.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004238/0.4314, allocations: 0.5655 MB / 484.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.672e-05/0.4314, allocations: 16 kB / 484.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009851/0.4412, allocations: 1.959 MB / 486.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002407/0.4437, allocations: 0.5376 MB / 487.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02616/0.4699, allocations: 20.37 MB / 0.4957 GB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003092/0.473, allocations: 301.5 kB / 0.496 GB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003763/0.4734, allocations: 108 kB / 0.4961 GB, free: 3.246 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.4734, allocations: 2.344 kB / 0.4961 GB, free: 3.246 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005835/0.4792, allocations: 2.731 MB / 0.4987 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-05/0.4793, allocations: 19.94 kB / 0.4988 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007024/0.4863, allocations: 1.281 MB / 0.5 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002818/0.4892, allocations: 0.6057 MB / 0.5006 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01543/0.5046, allocations: 15.29 MB / 0.5155 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003163/0.5078, allocations: 206.2 kB / 0.5157 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002575/0.5081, allocations: 99.98 kB / 0.5158 GB, free: 13.83 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.001406/0.5095, allocations: 0.5622 MB / 0.5164 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006667/0.5102, allocations: 253 kB / 0.5166 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004465/0.5147, allocations: 2.172 MB / 0.5187 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.47e-05/0.5147, allocations: 15.89 kB / 0.5188 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-06/0.5147, allocations: 4 kB / 0.5188 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/0.516, allocations: 481.6 kB / 0.5192 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004119/0.5164, allocations: 35.98 kB / 0.5192 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/0.5178, allocations: 107.7 kB / 0.5194 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002832/0.5181, allocations: 145.8 kB / 0.5195 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005534/0.5237, allocations: 2.177 MB / 0.5216 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004691/0.5284, allocations: 2.723 MB / 0.5243 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001259/0.5297, allocations: 0.734 MB / 0.525 GB, free: 4.465 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001817/0.5315, allocations: 1.144 MB / 0.5261 GB, free: 3.305 MB / 398.1 MB Notification: Performance of Backend: time 3e-07/0.5315, allocations: 4 kB / 0.5261 GB, free: 3.301 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01461/0.5461, allocations: 7.079 MB / 0.533 GB, free: 12.09 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.009268/0.5555, allocations: 6.262 MB / 0.5391 GB, free: 5.793 MB / 414.1 MB Notification: Performance of Templates: time 0.07504/0.6305, allocations: 43.55 MB / 0.5817 GB, free: 10.4 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=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1)