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.001015/0.001015, allocations: 106.7 kB / 16.41 MB, free: 6.461 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.001104/0.001104, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.279/1.279, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07612/0.07612, allocations: 16.78 MB / 308 MB, free: 14.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 59.91 kB / 427.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08719/0.08842, allocations: 53.56 MB / 480.8 MB, free: 4.945 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter GEN.componentPF.UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter GEN.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter bus.componentPF.UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter bus.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestSimpleGenerator): time 0.009882/0.09833, allocations: 10.76 MB / 491.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005715/0.1041, allocations: 3.763 MB / 495.4 MB, free: 6.363 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000894/0.105, allocations: 23.88 kB / 495.4 MB, free: 6.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.106, allocations: 314.2 kB / 495.7 MB, free: 6.031 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002567/0.1086, allocations: 1.193 MB / 496.9 MB, free: 4.836 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00069/0.1093, allocations: 276.8 kB / 497.2 MB, free: 4.574 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001372/0.1106, allocations: 1.175 MB / 498.3 MB, free: 3.395 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003893/0.1111, allocations: 217.8 kB / 498.5 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000431/0.1115, allocations: 410.4 kB / 498.9 MB, free: 2.773 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004568/0.112, allocations: 438.2 kB / 499.4 MB, free: 2.344 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.435e-05/0.112, allocations: 44 kB / 499.4 MB, free: 2.301 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004847/0.1125, allocations: 247.8 kB / 499.7 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.1126, allocations: 127.3 kB / 499.8 MB, free: 1.934 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002945/0.1129, allocations: 370.1 kB / 0.4884 GB, free: 1.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009836/0.1139, allocations: 0.965 MB / 0.4894 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1139, allocations: 0 / 0.4894 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1139, allocations: 0 / 0.4894 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.114, allocations: 0 / 0.4894 GB, free: 0.6016 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.002559/0.1165, allocations: 1.168 MB / 0.4905 GB, free: 15.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1166, allocations: 8.031 kB / 0.4905 GB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003409/0.1169, allocations: 100.4 kB / 0.4906 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008511/0.1178, allocations: 0.5558 MB / 0.4911 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.1178, allocations: 37.38 kB / 0.4912 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.754e-05/0.1179, allocations: 56.27 kB / 0.4912 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006767/0.1186, allocations: 0.5258 MB / 0.4918 GB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1186, allocations: 7.938 kB / 0.4918 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/0.1186, allocations: 16 kB / 0.4918 GB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.1187, allocations: 12 kB / 0.4918 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006191/0.1193, allocations: 379.5 kB / 0.4921 GB, free: 13.59 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.003355/0.1227, allocations: 3.864 MB / 0.4959 GB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006799/0.1233, allocations: 0.6363 MB / 0.4965 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.1236, allocations: 148.8 kB / 0.4967 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.841e-05/0.1236, allocations: 8.297 kB / 0.4967 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.1237, allocations: 42.56 kB / 0.4967 GB, free: 8.473 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 3.316e-06/0.1237, allocations: 3.984 kB / 0.4967 GB, free: 8.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.002279/0.126, allocations: 0.8189 MB / 0.4975 GB, free: 7.621 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.126, allocations: 55.41 kB / 0.4976 GB, free: 7.555 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005777/0.1266, allocations: 0.538 MB / 0.4981 GB, free: 7.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.1266, allocations: 41.64 kB / 0.4982 GB, free: 6.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.1268, allocations: 305 kB / 0.4984 GB, free: 6.656 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.127, allocations: 162.6 kB / 0.4986 GB, free: 6.496 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.1271, allocations: 134.6 kB / 0.4987 GB, free: 6.359 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1273, allocations: 370.8 kB / 0.4991 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.1276, allocations: 161.9 kB / 0.4992 GB, free: 5.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004015/0.128, allocations: 389 kB / 0.4996 GB, free: 5.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006891/0.1287, allocations: 0.5578 MB / 0.5002 GB, free: 4.695 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.1287, allocations: 4 kB / 0.5002 GB, free: 4.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00157/0.1302, allocations: 0.794 MB / 0.5009 GB, free: 3.883 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1303, allocations: 8 kB / 0.5009 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.1303, allocations: 12 kB / 0.501 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002235/0.1325, allocations: 386.1 kB / 0.5013 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004418/0.133, allocations: 135.8 kB / 0.5014 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.195/0.328, allocations: 5.19 MB / 0.5065 GB, free: 33.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008794/0.329, allocations: 72.45 kB / 0.5066 GB, free: 33.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-05/0.329, allocations: 33.41 kB / 0.5066 GB, free: 33.15 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.0002649/0.3293, allocations: 208.6 kB / 0.5068 GB, free: 33.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.3294, allocations: 65.41 kB / 0.5069 GB, free: 33.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.3305, allocations: 0.5014 MB / 0.5074 GB, free: 32.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.3305, allocations: 3.016 kB / 0.5074 GB, free: 32.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3305, allocations: 1.938 kB / 0.5074 GB, free: 32.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/0.3307, allocations: 181.8 kB / 0.5075 GB, free: 32.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.332e-05/0.3308, allocations: 8.797 kB / 0.5076 GB, free: 32.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/0.3312, allocations: 22.11 kB / 0.5076 GB, free: 32.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.747e-05/0.3313, allocations: 36.16 kB / 0.5076 GB, free: 32.88 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001102/0.3324, allocations: 0.5375 MB / 0.5081 GB, free: 32.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007659/0.3332, allocations: 0.676 MB / 0.5088 GB, free: 32.51 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002049/0.3334, allocations: 133.1 kB / 0.5089 GB, free: 32.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003845/0.3338, allocations: 371.2 kB / 0.5093 GB, free: 32.36 MB / 382.1 MB Notification: Performance of Backend: time 4.81e-07/0.3338, allocations: 3 kB / 0.5093 GB, free: 32.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001979/0.3358, allocations: 1.019 MB / 0.5103 GB, free: 31.8 MB / 382.1 MB Notification: Performance of SimCode: time 0.001606/0.3374, allocations: 1.676 MB / 0.5119 GB, free: 30.71 MB / 382.1 MB Notification: Performance of Templates: time 0.01645/0.3539, allocations: 9.895 MB / 0.5216 GB, free: 28.44 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)