Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam.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.Static.StaticGridDifferentGeneratorParam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001147, allocations: 103.3 kB / 15.06 MB, free: 1.098 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.001269/0.001269, allocations: 173.3 kB / 15.95 MB, free: 212 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.455/1.455, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06438/0.06438, allocations: 14.16 MB / 284.5 MB, free: 7.152 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.0005717/0.0005718, allocations: 12 kB / 348.8 MB, free: 17.22 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1128, allocations: 51.12 MB / 399.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam): time 0.02685/0.1397, allocations: 26.94 MB / 426.9 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2285/0.3683, allocations: 11.83 MB / 438.7 MB, free: 13.26 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007347/0.3757, allocations: 85.47 kB / 438.8 MB, free: 13.26 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006066/0.3818, allocations: 1.185 MB / 440 MB, free: 13.26 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01877/0.4006, allocations: 4.588 MB / 444.6 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005125/0.4057, allocations: 1.257 MB / 445.8 MB, free: 12.97 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01949/0.4252, allocations: 7.621 MB / 453.4 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002238/0.4275, allocations: 0.6101 MB / 454.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008577/0.4361, allocations: 2.859 MB / 456.9 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007285/0.4434, allocations: 2.982 MB / 459.9 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001664/0.4451, allocations: 187.3 kB / 460.1 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005991/0.4511, allocations: 0.7477 MB / 460.8 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001502/0.4526, allocations: 0.7072 MB / 461.5 MB, free: 9.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003945/0.4566, allocations: 1.02 MB / 462.6 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01025/0.4669, allocations: 5.149 MB / 467.7 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4669, allocations: 5.266 kB / 467.7 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4669, allocations: 0 / 467.7 MB, free: 6.113 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002976/0.4672, allocations: 0 / 467.7 MB, free: 6.113 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: 971 * Number of variables: 971 Notification: Performance of Generate backend data structure: time 0.02656/0.4938, allocations: 7.051 MB / 474.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.4938, allocations: 19.95 kB / 474.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004931/0.4988, allocations: 0.8134 MB / 475.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0091/0.5079, allocations: 2.84 MB / 478.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004316/0.5084, allocations: 311.6 kB / 478.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001431/0.5098, allocations: 419.9 kB / 479.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009444/0.5193, allocations: 3.711 MB / 482.9 MB, free: 7.719 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-05/0.5194, allocations: 3.938 kB / 482.9 MB, free: 7.715 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003265/0.5197, allocations: 160 kB / 483 MB, free: 7.559 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.79e-05/0.5198, allocations: 92 kB / 483.1 MB, free: 7.469 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006856/0.5267, allocations: 3.874 MB / 487 MB, free: 3.59 MB / 334.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.03354/0.5602, allocations: 24.86 MB / 0.4998 GB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007909/0.5682, allocations: 6.527 MB / 0.5062 GB, free: 0.9375 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002358/0.5684, allocations: 56.36 kB / 0.5063 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.088e-05/0.5685, allocations: 77.86 kB / 0.5063 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of pre-optimization done (n=420): time 5.451e-06/0.5685, allocations: 0 / 0.5063 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of matching and sorting (n=423): time 0.03353/0.6021, allocations: 11.86 MB / 0.5179 GB, free: 4.801 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/0.6021, allocations: 96.09 kB / 0.518 GB, free: 4.695 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004318/0.6065, allocations: 2.971 MB / 0.5209 GB, free: 1.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004952/0.607, allocations: 109.7 kB / 0.521 GB, free: 1.586 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001471/0.6085, allocations: 1.899 MB / 0.5229 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001644/0.6101, allocations: 1.484 MB / 0.5243 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/0.6104, allocations: 120 kB / 0.5244 GB, free: 14.04 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002949/0.6107, allocations: 0.5226 MB / 0.525 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002599/0.6133, allocations: 1.554 MB / 0.5265 GB, free: 11.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00343/0.6167, allocations: 2.869 MB / 0.5293 GB, free: 8.547 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003246/0.62, allocations: 2.033 MB / 0.5313 GB, free: 6.516 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.895e-05/0.62, allocations: 8 kB / 0.5313 GB, free: 6.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=760) (initialization): time 0.01337/0.6334, allocations: 6.523 MB / 0.5376 GB, free: 15.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.403e-05/0.6335, allocations: 27.98 kB / 0.5377 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.036e-05/0.6335, allocations: 40.05 kB / 0.5377 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01579/0.6493, allocations: 3.056 MB / 0.5407 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006193/0.6556, allocations: 1.4 MB / 0.542 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03296/0.6886, allocations: 32.57 MB / 0.5739 GB, free: 8.035 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006168/0.6948, allocations: 342.1 kB / 0.5742 GB, free: 7.699 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001042/0.6959, allocations: 240 kB / 0.5744 GB, free: 7.465 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (677): * Single equations (assignments): 657 * 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: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 0,(2,100.0%) 0,(2,100.0%) 0,(2,100.0%) 0,(2,100.0%) 0,(2,100.0%) 0,(2,100.0%) 0,(2,100.0%) 0,(2,100.0%) 0} * Non-linear torn systems: 11 {23 0,2 0,2 0,2 0,2 0,23 0,2 0,2 0,2 0,2 0,23 0} Notification: Performance of prepare postOptimizeDAE: time 0.00286/0.6987, allocations: 0.8187 MB / 0.5752 GB, free: 6.637 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001248/0.7, allocations: 458.5 kB / 0.5756 GB, free: 6.184 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008478/0.7085, allocations: 4.488 MB / 0.58 GB, free: 1.652 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-05/0.7085, allocations: 23.92 kB / 0.58 GB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.7086, allocations: 0 / 0.58 GB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002254/0.7108, allocations: 0.7764 MB / 0.5808 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006164/0.7114, allocations: 72 kB / 0.5809 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002319/0.7138, allocations: 139.3 kB / 0.581 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004732/0.7142, allocations: 326.8 kB / 0.5813 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2398/0.9541, allocations: 4.416 MB / 0.5856 GB, free: 138.5 MB / 446.1 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008324/0.9625, allocations: 4.728 MB / 0.5903 GB, free: 137.4 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002415/0.9649, allocations: 1.218 MB / 0.5914 GB, free: 136.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003179/0.9681, allocations: 1.832 MB / 0.5932 GB, free: 136.2 MB / 446.1 MB Notification: Performance of Backend: time 7.91e-07/0.9681, allocations: 0 / 0.5932 GB, free: 136.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01478/0.9829, allocations: 6.833 MB / 0.5999 GB, free: 132.5 MB / 446.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.01809/1.001, allocations: 10.69 MB / 0.6103 GB, free: 126.3 MB / 446.1 MB Notification: Performance of Templates: time 0.08863/1.09, allocations: 55.27 MB / 0.6643 GB, free: 79.9 MB / 446.1 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam.makefile Environment - environmentSimulation: (rm -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam.sim & ./PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGridDifferentGeneratorParam.pipe 2>&1) Environment - environmentSimulation: