Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_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.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/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) Ignoring simflag -noemit -homotopyOnFirstTry=() since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerGrids_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.000951/0.000951, allocations: 98.83 kB / 15.05 MB, free: 1.105 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.00103/0.00103, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.318/1.318, allocations: 205.4 MB / 222.1 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05967/0.05967, allocations: 14.15 MB / 284.5 MB, free: 7.164 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.0004792/0.0004793, allocations: 12 kB / 348.8 MB, free: 17.22 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07694/0.07744, allocations: 51.11 MB / 400 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.01279/0.09026, allocations: 13.55 MB / 413.5 MB, free: 460 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.1006, allocations: 6.438 MB / 419.9 MB, free: 9.996 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002028/0.1027, allocations: 67.56 kB / 420 MB, free: 9.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001652/0.1044, allocations: 0.5589 MB / 420.6 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00581/0.1102, allocations: 2.271 MB / 422.8 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002572/0.1128, allocations: 1.134 MB / 424 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006091/0.1189, allocations: 3.395 MB / 427.4 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009715/0.1199, allocations: 0.5856 MB / 428 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002121/0.122, allocations: 1.331 MB / 429.3 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.152/0.274, allocations: 1.356 MB / 430.6 MB, free: 14.39 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008451/0.2749, allocations: 93.69 kB / 430.7 MB, free: 14.39 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001918/0.2768, allocations: 452.5 kB / 431.2 MB, free: 14.39 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004972/0.2774, allocations: 394.1 kB / 431.6 MB, free: 14.39 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009102/0.2783, allocations: 0.5318 MB / 432.1 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003986/0.2823, allocations: 2.884 MB / 435 MB, free: 14.15 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2823, allocations: 3.938 kB / 435 MB, free: 14.15 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2823, allocations: 3.578 kB / 435 MB, free: 14.15 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.614e-05/0.2824, allocations: 0 / 435 MB, free: 14.15 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.01121/0.2936, allocations: 3.626 MB / 438.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.2937, allocations: 15.27 kB / 438.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/0.2953, allocations: 407.7 kB / 439 MB, free: 12.63 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003396/0.2987, allocations: 1.729 MB / 440.8 MB, free: 12.12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.2989, allocations: 163 kB / 440.9 MB, free: 12.12 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003436/0.2992, allocations: 228.2 kB / 441.1 MB, free: 12.12 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003693/0.3029, allocations: 2.077 MB / 443.2 MB, free: 11.85 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.026e-05/0.303, allocations: 5.781 kB / 443.2 MB, free: 11.85 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/0.3032, allocations: 82 kB / 443.3 MB, free: 11.85 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.262e-05/0.3032, allocations: 48.62 kB / 443.3 MB, free: 11.85 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003698/0.3069, allocations: 1.968 MB / 445.3 MB, free: 11.82 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.01401/0.321, allocations: 11.76 MB / 457.1 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003331/0.3243, allocations: 2.691 MB / 459.8 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.3245, allocations: 31.19 kB / 459.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.3245, allocations: 60.33 kB / 459.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of pre-optimization done (n=194): time 4.608e-06/0.3245, allocations: 0 / 459.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of matching and sorting (n=195): time 0.01243/0.3369, allocations: 5.6 MB / 465.5 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.337, allocations: 178.3 kB / 465.6 MB, free: 452 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00221/0.3392, allocations: 1.761 MB / 467.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002509/0.3395, allocations: 70.92 kB / 467.5 MB, free: 15.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007073/0.3402, allocations: 1.097 MB / 468.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000684/0.3409, allocations: 0.6828 MB / 469.2 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.341, allocations: 57.31 kB / 469.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.3412, allocations: 406.3 kB / 469.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001571/0.3428, allocations: 0.849 MB / 470.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002016/0.3448, allocations: 1.491 MB / 472 MB, free: 12.28 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/0.3468, allocations: 1.039 MB / 473.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/0.3468, allocations: 8 kB / 473.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=344) (initialization): time 0.009213/0.356, allocations: 4.021 MB / 477.1 MB, free: 7.258 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.002905/0.359, allocations: 6.448 MB / 483.5 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.231e-05/0.359, allocations: 13.56 kB / 483.6 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008125/0.3671, allocations: 1.705 MB / 485.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002421/0.3696, allocations: 0.5426 MB / 485.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02561/0.3952, allocations: 20.64 MB / 0.4946 GB, free: 8.055 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002919/0.3982, allocations: 196.7 kB / 0.4948 GB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003539/0.3986, allocations: 104 kB / 0.4949 GB, free: 7.762 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.3986, allocations: 4 kB / 0.4949 GB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00559/0.4042, allocations: 2.717 MB / 0.4975 GB, free: 5.094 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.029e-05/0.4042, allocations: 19.95 kB / 0.4975 GB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006402/0.4106, allocations: 1.28 MB / 0.4988 GB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002554/0.4132, allocations: 0.6108 MB / 0.4994 GB, free: 3.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01419/0.4274, allocations: 15.41 MB / 0.5144 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002619/0.4301, allocations: 123.6 kB / 0.5146 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003189/0.4304, allocations: 104 kB / 0.5147 GB, free: 2.32 MB / 382.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 (287): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 0,(2,100.0%) 0,(2,100.0%) 0,(3,66.7%) 0,(3,66.7%) 0} * Non-linear torn systems: 6 {38 0,2 0,2 0,2 0,2 0,10 0} Notification: Performance of prepare postOptimizeDAE: time 0.00144/0.4319, allocations: 0.5583 MB / 0.5152 GB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005937/0.4325, allocations: 245 kB / 0.5154 GB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004496/0.437, allocations: 2.174 MB / 0.5176 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.907e-05/0.4371, allocations: 15.89 kB / 0.5176 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.4371, allocations: 0 / 0.5176 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/0.4386, allocations: 457.9 kB / 0.518 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005698/0.4392, allocations: 35.98 kB / 0.518 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/0.4407, allocations: 115.6 kB / 0.5181 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002817/0.441, allocations: 149.7 kB / 0.5183 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005479/0.4465, allocations: 2.169 MB / 0.5204 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004696/0.4512, allocations: 2.722 MB / 0.5231 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001201/0.4524, allocations: 0.7223 MB / 0.5238 GB, free: 9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001817/0.4543, allocations: 1.125 MB / 0.5249 GB, free: 7.859 MB / 398.1 MB Notification: Performance of Backend: time 1.372e-06/0.4543, allocations: 0 / 0.5249 GB, free: 7.859 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01353/0.4678, allocations: 6.999 MB / 0.5317 GB, free: 0.7383 MB / 398.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of SimCode: time 0.008955/0.4768, allocations: 6.081 MB / 0.5376 GB, free: 10.64 MB / 414.1 MB Notification: Performance of Templates: time 0.06735/0.5442, allocations: 42.41 MB / 0.5791 GB, free: 348 kB / 446.1 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.makefile Environment - environmentSimulation: (rm -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.sim & ./PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1) Environment - environmentSimulation: