Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation.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.ControlledGridWithReferenceCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.001341, allocations: 97.52 kB / 15.69 MB, free: 480 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.001776/0.001776, allocations: 174.3 kB / 16.57 MB, free: 6.391 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.464/1.464, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06377/0.06377, allocations: 14.15 MB / 285.2 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.0005335/0.0005336, allocations: 12 kB / 349.5 MB, free: 17.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1048, allocations: 51.12 MB / 400.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation): time 0.01459/0.1194, allocations: 13.53 MB / 414.1 MB, free: 460 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0125/0.1319, allocations: 6.446 MB / 420.6 MB, free: 9.988 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002886/0.1349, allocations: 67.56 kB / 420.6 MB, free: 9.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002598/0.1375, allocations: 0.5628 MB / 421.2 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007998/0.1455, allocations: 2.265 MB / 423.5 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003495/0.149, allocations: 1.138 MB / 424.6 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007267/0.1563, allocations: 3.399 MB / 428 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.1578, allocations: 0.5856 MB / 428.6 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002688/0.1605, allocations: 1.327 MB / 429.9 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.235/0.3955, allocations: 1.362 MB / 431.3 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001093/0.3966, allocations: 93.5 kB / 431.4 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002282/0.3989, allocations: 452.1 kB / 431.8 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008943/0.3998, allocations: 395.1 kB / 432.2 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.4009, allocations: 0.532 MB / 432.7 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004754/0.4057, allocations: 2.888 MB / 435.6 MB, free: 14.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4057, allocations: 0 / 435.6 MB, free: 14.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.4057, allocations: 3.375 kB / 435.6 MB, free: 14.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001284/0.4059, allocations: 3.969 kB / 435.6 MB, free: 14.2 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.01227/0.4182, allocations: 3.624 MB / 439.2 MB, free: 12.85 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.4182, allocations: 12.86 kB / 439.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002334/0.4206, allocations: 406.1 kB / 439.7 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004309/0.4249, allocations: 1.732 MB / 441.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.4251, allocations: 169.3 kB / 441.6 MB, free: 12.17 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003577/0.4254, allocations: 224 kB / 441.8 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004193/0.4296, allocations: 2.076 MB / 443.8 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.935e-05/0.4297, allocations: 5.516 kB / 443.9 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001694/0.4299, allocations: 82.12 kB / 443.9 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.779e-05/0.4299, allocations: 48.81 kB / 444 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003896/0.4338, allocations: 1.964 MB / 445.9 MB, free: 11.87 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.01564/0.4495, allocations: 11.77 MB / 457.7 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003539/0.4531, allocations: 2.692 MB / 460.4 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.323e-05/0.4532, allocations: 35.81 kB / 460.4 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.4532, allocations: 53.75 kB / 460.5 MB, free: 2.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=194): time 4.709e-06/0.4532, allocations: 0 / 460.5 MB, free: 2.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=195): time 0.01351/0.4667, allocations: 5.597 MB / 466.1 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.4668, allocations: 177.8 kB / 466.3 MB, free: 484 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002372/0.4692, allocations: 1.769 MB / 468 MB, free: 15.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002126/0.4694, allocations: 69.89 kB / 468.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000709/0.4702, allocations: 1.096 MB / 469.2 MB, free: 15.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006894/0.4709, allocations: 0.6848 MB / 469.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.471, allocations: 54.25 kB / 469.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.4712, allocations: 406.8 kB / 470.3 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/0.4728, allocations: 0.8535 MB / 471.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002039/0.4748, allocations: 1.493 MB / 472.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001949/0.4768, allocations: 1.036 MB / 473.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.4768, allocations: 4 kB / 473.7 MB, free: 11.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=344) (initialization): time 0.009344/0.4862, allocations: 4.026 MB / 477.7 MB, free: 7.211 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.002781/0.489, allocations: 6.449 MB / 484.2 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.767e-05/0.4891, allocations: 19.95 kB / 484.2 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008258/0.4973, allocations: 1.702 MB / 485.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002546/0.4999, allocations: 0.5441 MB / 486.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0268/0.5267, allocations: 20.64 MB / 0.4952 GB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003651/0.5304, allocations: 202.6 kB / 0.4954 GB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000606/0.5311, allocations: 99.98 kB / 0.4955 GB, free: 7.719 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.5311, allocations: 4 kB / 0.4955 GB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006947/0.538, allocations: 2.722 MB / 0.4982 GB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-05/0.5381, allocations: 16 kB / 0.4982 GB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006641/0.5448, allocations: 1.274 MB / 0.4994 GB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002999/0.5478, allocations: 0.6149 MB / 0.5 GB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01631/0.5642, allocations: 15.41 MB / 0.5151 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003697/0.5679, allocations: 127.5 kB / 0.5152 GB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007608/0.5687, allocations: 104 kB / 0.5153 GB, free: 2.273 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.002022/0.5707, allocations: 0.5612 MB / 0.5158 GB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009273/0.5717, allocations: 245 kB / 0.5161 GB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00488/0.5766, allocations: 2.178 MB / 0.5182 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.272e-05/0.5766, allocations: 11.95 kB / 0.5182 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.5766, allocations: 0 / 0.5182 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001262/0.5779, allocations: 461.9 kB / 0.5187 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005884/0.5785, allocations: 32 kB / 0.5187 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/0.5802, allocations: 111.6 kB / 0.5188 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002689/0.5805, allocations: 153.7 kB / 0.5189 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005773/0.5863, allocations: 2.167 MB / 0.5211 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005223/0.5915, allocations: 2.72 MB / 0.5237 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001306/0.5929, allocations: 0.7184 MB / 0.5244 GB, free: 8.957 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002507/0.5954, allocations: 1.135 MB / 0.5255 GB, free: 7.809 MB / 398.1 MB Notification: Performance of Backend: time 1.523e-06/0.5954, allocations: 0 / 0.5255 GB, free: 7.809 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01577/0.6112, allocations: 7.002 MB / 0.5324 GB, free: 0.6875 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.0119/0.6231, allocations: 6.067 MB / 0.5383 GB, free: 10.59 MB / 414.1 MB Notification: Performance of Templates: time 0.08628/0.7094, allocations: 42.4 MB / 0.5797 GB, free: 340 kB / 446.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation.makefile Environment - environmentSimulation: (rm -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation.sim & ./PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation.pipe 2>&1) Environment - environmentSimulation: