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.005699/0.005699, allocations: 105.3 kB / 15.73 MB, free: 6.043 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.001337/0.001337, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.262/1.262, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1696/0.1696, allocations: 16.77 MB / 307.3 MB, free: 14.71 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 65.22 kB / 426.6 MB, free: 36.56 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08258/0.08372, allocations: 53.56 MB / 480.1 MB, free: 10.37 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.007536/0.09129, allocations: 10.77 MB / 490.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005055/0.09637, allocations: 3.759 MB / 494.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006143/0.097, allocations: 23.88 kB / 494.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008652/0.09788, allocations: 310.3 kB / 495 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002209/0.1001, allocations: 1.197 MB / 496.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005996/0.1007, allocations: 279.5 kB / 496.5 MB, free: 12.37 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001077/0.1018, allocations: 1.173 MB / 497.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003139/0.1021, allocations: 209.8 kB / 497.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003685/0.1025, allocations: 418.4 kB / 498.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004305/0.1029, allocations: 430.2 kB / 498.7 MB, free: 10.15 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.267e-05/0.103, allocations: 48 kB / 498.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004436/0.1035, allocations: 243.9 kB / 499 MB, free: 9.863 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.1036, allocations: 139.3 kB / 499.1 MB, free: 9.727 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002942/0.1039, allocations: 366.1 kB / 499.4 MB, free: 9.367 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009137/0.1048, allocations: 0.9578 MB / 0.4887 GB, free: 8.406 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1048, allocations: 3.938 kB / 0.4887 GB, free: 8.402 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1048, allocations: 0 / 0.4887 GB, free: 8.402 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1048, allocations: 4 kB / 0.4887 GB, free: 8.398 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.002458/0.1073, allocations: 1.147 MB / 0.4898 GB, free: 7.199 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.1073, allocations: 8.031 kB / 0.4898 GB, free: 7.191 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003342/0.1077, allocations: 96.08 kB / 0.4899 GB, free: 7.098 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008333/0.1085, allocations: 0.5437 MB / 0.4904 GB, free: 6.516 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.1085, allocations: 41.38 kB / 0.4905 GB, free: 6.477 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.401e-05/0.1086, allocations: 56.22 kB / 0.4905 GB, free: 6.422 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006688/0.1093, allocations: 0.5188 MB / 0.491 GB, free: 5.832 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.1093, allocations: 7.938 kB / 0.491 GB, free: 5.824 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.071e-05/0.1094, allocations: 23.98 kB / 0.4911 GB, free: 5.801 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.1094, allocations: 12 kB / 0.4911 GB, free: 5.789 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005526/0.1099, allocations: 371.5 kB / 0.4914 GB, free: 5.426 MB / 366.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.003276/0.1132, allocations: 3.876 MB / 0.4952 GB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006383/0.1139, allocations: 0.6403 MB / 0.4958 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.1141, allocations: 145.5 kB / 0.496 GB, free: 368 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.1141, allocations: 12.14 kB / 0.496 GB, free: 356 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.1142, allocations: 42.55 kB / 0.496 GB, free: 304 kB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 1.683e-06/0.1142, allocations: 0 / 0.496 GB, free: 304 kB / 366.1 MB Notification: Performance of matching and sorting (n=41): time 0.002138/0.1163, allocations: 0.8101 MB / 0.4968 GB, free: 15.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.1164, allocations: 55.41 kB / 0.4969 GB, free: 15.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005585/0.1169, allocations: 0.534 MB / 0.4974 GB, free: 14.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.117, allocations: 37.7 kB / 0.4974 GB, free: 14.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.1172, allocations: 312.3 kB / 0.4977 GB, free: 14.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.1173, allocations: 149.9 kB / 0.4979 GB, free: 14.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.1174, allocations: 138.6 kB / 0.498 GB, free: 14.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1176, allocations: 366.8 kB / 0.4984 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002625/0.1178, allocations: 161.9 kB / 0.4985 GB, free: 13.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003907/0.1182, allocations: 389 kB / 0.4989 GB, free: 13.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006572/0.1189, allocations: 0.5656 MB / 0.4994 GB, free: 12.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1189, allocations: 0 / 0.4994 GB, free: 12.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001493/0.1204, allocations: 0.7936 MB / 0.5002 GB, free: 11.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.1204, allocations: 9.875 kB / 0.5002 GB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.1205, allocations: 8 kB / 0.5002 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002082/0.1226, allocations: 386.2 kB / 0.5006 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004349/0.123, allocations: 135.8 kB / 0.5007 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00497/0.128, allocations: 5.207 MB / 0.5058 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006431/0.1286, allocations: 71.36 kB / 0.5059 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.397e-05/0.1287, allocations: 35.98 kB / 0.5059 GB, free: 5.441 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.0002414/0.1289, allocations: 201.6 kB / 0.5061 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.88e-05/0.129, allocations: 59.25 kB / 0.5062 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009534/0.13, allocations: 0.5002 MB / 0.5066 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.13, allocations: 4 kB / 0.5067 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.13, allocations: 0 / 0.5067 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.1302, allocations: 180.2 kB / 0.5068 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.044e-05/0.1303, allocations: 8 kB / 0.5068 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003677/0.1307, allocations: 19.98 kB / 0.5069 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.446e-05/0.1308, allocations: 35.94 kB / 0.5069 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001094/0.1319, allocations: 0.5328 MB / 0.5074 GB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007849/0.1327, allocations: 0.6794 MB / 0.5081 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002082/0.1329, allocations: 132.6 kB / 0.5082 GB, free: 3.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003685/0.1332, allocations: 370.8 kB / 0.5086 GB, free: 2.672 MB / 382.1 MB Notification: Performance of Backend: time 3.71e-07/0.1333, allocations: 0 / 0.5086 GB, free: 2.672 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001971/0.1352, allocations: 1.011 MB / 0.5095 GB, free: 1.621 MB / 382.1 MB Notification: Performance of SimCode: time 0.00177/0.137, allocations: 1.628 MB / 0.5111 GB, free: 15.95 MB / 398.1 MB Notification: Performance of Templates: time 0.01591/0.1529, allocations: 9.909 MB / 0.5208 GB, free: 6.062 MB / 398.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)