Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.HowToBuild.Examples.TestSimpleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator") translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004955/0.004955, allocations: 98 kB / 15.73 MB, free: 6.059 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.001223/0.001223, allocations: 191.5 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07082/0.07082, allocations: 16.77 MB / 307.3 MB, free: 14.39 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 63.91 kB / 426.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0805/0.08165, allocations: 53.55 MB / 480.1 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator): time 0.009991/0.09167, allocations: 10.77 MB / 490.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005563/0.09728, allocations: 3.749 MB / 494.7 MB, free: 6.359 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009201/0.09822, allocations: 23.88 kB / 494.7 MB, free: 6.336 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009867/0.09926, allocations: 317.8 kB / 495 MB, free: 6.027 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002514/0.1018, allocations: 1.166 MB / 496.2 MB, free: 4.859 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006708/0.1025, allocations: 266.4 kB / 496.4 MB, free: 4.602 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001343/0.1038, allocations: 1.171 MB / 497.6 MB, free: 3.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003978/0.1042, allocations: 221.8 kB / 497.8 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000447/0.1047, allocations: 410.4 kB / 498.2 MB, free: 2.805 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004634/0.1052, allocations: 426.2 kB / 498.6 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.838e-05/0.1052, allocations: 48 kB / 498.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005328/0.1058, allocations: 247.8 kB / 498.9 MB, free: 2.098 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.1059, allocations: 135.3 kB / 499 MB, free: 1.965 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003075/0.1062, allocations: 370.1 kB / 499.4 MB, free: 1.602 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009984/0.1072, allocations: 0.965 MB / 0.4886 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1072, allocations: 0 / 0.4886 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1072, allocations: 0 / 0.4886 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.1073, allocations: 0 / 0.4886 GB, free: 0.6328 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002483/0.1097, allocations: 1.16 MB / 0.4898 GB, free: 15.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1098, allocations: 12.03 kB / 0.4898 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000344/0.1101, allocations: 100.4 kB / 0.4899 GB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008546/0.111, allocations: 0.5597 MB / 0.4904 GB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.111, allocations: 29.38 kB / 0.4905 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.594e-05/0.1111, allocations: 56.31 kB / 0.4905 GB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006634/0.1118, allocations: 0.5298 MB / 0.491 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1118, allocations: 3.938 kB / 0.491 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.298e-05/0.1118, allocations: 24 kB / 0.4911 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.1119, allocations: 12 kB / 0.4911 GB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005522/0.1124, allocations: 371.5 kB / 0.4914 GB, free: 13.62 MB / 382.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.00327/0.1157, allocations: 3.876 MB / 0.4952 GB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006524/0.1164, allocations: 0.6317 MB / 0.4958 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.1166, allocations: 144.8 kB / 0.496 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.1166, allocations: 15.98 kB / 0.496 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.1167, allocations: 30.56 kB / 0.496 GB, free: 8.512 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 1.823e-06/0.1167, allocations: 0 / 0.496 GB, free: 8.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.002139/0.1188, allocations: 0.8237 MB / 0.4968 GB, free: 7.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.1189, allocations: 55.41 kB / 0.4969 GB, free: 7.594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005545/0.1194, allocations: 0.5418 MB / 0.4974 GB, free: 7.039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.1195, allocations: 33.7 kB / 0.4974 GB, free: 7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.1197, allocations: 305 kB / 0.4977 GB, free: 6.699 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.1198, allocations: 162.6 kB / 0.4979 GB, free: 6.539 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.12, allocations: 134.6 kB / 0.498 GB, free: 6.402 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1201, allocations: 374.7 kB / 0.4984 GB, free: 6.027 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.1204, allocations: 165.9 kB / 0.4985 GB, free: 5.863 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000391/0.1208, allocations: 385 kB / 0.4989 GB, free: 5.391 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006436/0.1214, allocations: 0.5618 MB / 0.4994 GB, free: 4.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.1214, allocations: 4 kB / 0.4994 GB, free: 4.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001461/0.1229, allocations: 0.7973 MB / 0.5002 GB, free: 3.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1229, allocations: 8 kB / 0.5002 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.1229, allocations: 4 kB / 0.5002 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002096/0.125, allocations: 390.7 kB / 0.5006 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004097/0.1255, allocations: 143.8 kB / 0.5007 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1712/0.2967, allocations: 5.186 MB / 0.5058 GB, free: 33.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007689/0.2975, allocations: 72.8 kB / 0.5059 GB, free: 33.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.2976, allocations: 33.95 kB / 0.5059 GB, free: 33.01 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 2 (bus.isSlackBusPF,GEN.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,0,100.0%), (2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0003178/0.2979, allocations: 210 kB / 0.5061 GB, free: 32.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.2981, allocations: 65.3 kB / 0.5062 GB, free: 32.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.2992, allocations: 0.496 MB / 0.5066 GB, free: 32.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.2992, allocations: 6.297 kB / 0.5067 GB, free: 32.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.2992, allocations: 0 / 0.5067 GB, free: 32.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/0.2995, allocations: 183.1 kB / 0.5068 GB, free: 32.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.435e-05/0.2996, allocations: 8.594 kB / 0.5068 GB, free: 32.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004067/0.3, allocations: 23.17 kB / 0.5069 GB, free: 32.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.799e-05/0.3001, allocations: 36.02 kB / 0.5069 GB, free: 32.74 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001065/0.3012, allocations: 0.5286 MB / 0.5074 GB, free: 32.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007703/0.302, allocations: 0.68 MB / 0.5081 GB, free: 32.37 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002197/0.3022, allocations: 132 kB / 0.5082 GB, free: 32.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000425/0.3027, allocations: 367.7 kB / 0.5086 GB, free: 32.21 MB / 382.1 MB Notification: Performance of Backend: time 6.91e-07/0.3027, allocations: 0 / 0.5086 GB, free: 32.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001992/0.3047, allocations: 1.023 MB / 0.5096 GB, free: 31.65 MB / 382.1 MB Notification: Performance of SimCode: time 0.001705/0.3064, allocations: 1.679 MB / 0.5112 GB, free: 30.57 MB / 382.1 MB Notification: Performance of Templates: time 0.01668/0.3231, allocations: 9.895 MB / 0.5209 GB, free: 28.26 MB / 382.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator.pipe 2>&1)