Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine.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.TestTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine") translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 106.4 kB / 16.37 MB, free: 6.438 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.001314/0.001314, allocations: 189.1 kB / 17.3 MB, free: 5.781 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07703/0.07703, allocations: 16.73 MB / 307.9 MB, free: 14.47 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 64.89 kB / 373.2 MB, free: 48.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08278/0.08405, allocations: 53.56 MB / 426.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine): time 0.04005/0.1242, allocations: 53.46 MB / 480.2 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01868/0.1429, allocations: 10.63 MB / 490.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005202/0.1481, allocations: 87.62 kB / 490.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005953/0.1542, allocations: 1.53 MB / 492.4 MB, free: 10 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01619/0.1704, allocations: 4.436 MB / 496.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005349/0.1758, allocations: 1.806 MB / 498.7 MB, free: 3.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0127/0.1885, allocations: 8.737 MB / 0.4955 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002994/0.1915, allocations: 1.379 MB / 0.4969 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005674/0.1972, allocations: 2.887 MB / 0.4997 GB, free: 6.734 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005688/0.203, allocations: 3.085 MB / 0.5027 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001611/0.2046, allocations: 380 kB / 0.5031 GB, free: 3.266 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003861/0.2085, allocations: 0.9996 MB / 0.504 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001376/0.2099, allocations: 0.8672 MB / 0.5049 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2507/0.4606, allocations: 2.769 MB / 0.5076 GB, free: 20.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008204/0.4688, allocations: 6.858 MB / 0.5143 GB, free: 19.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.4688, allocations: 0 / 0.5143 GB, free: 19.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4689, allocations: 5.781 kB / 0.5143 GB, free: 19.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001598/0.469, allocations: 0 / 0.5143 GB, free: 19.91 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 836 * Number of variables: 836 Notification: Performance of Generate backend data structure: time 0.02366/0.4927, allocations: 6.46 MB / 0.5206 GB, free: 17.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.4928, allocations: 8.781 kB / 0.5206 GB, free: 17.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006907/0.4997, allocations: 1.143 MB / 0.5217 GB, free: 17.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01102/0.5107, allocations: 2.99 MB / 0.5246 GB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004272/0.5112, allocations: 261.8 kB / 0.5249 GB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009002/0.5121, allocations: 337.1 kB / 0.5252 GB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006555/0.5187, allocations: 3.789 MB / 0.5289 GB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.84e-05/0.5188, allocations: 17.44 kB / 0.5289 GB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002933/0.5191, allocations: 148.8 kB / 0.5291 GB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.568e-05/0.5191, allocations: 87.97 kB / 0.5292 GB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004737/0.5239, allocations: 3.081 MB / 0.5322 GB, free: 15.7 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.03016/0.5541, allocations: 24.79 MB / 0.5564 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007225/0.5613, allocations: 5.337 MB / 0.5616 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00171/0.5631, allocations: 1.232 MB / 0.5628 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/0.5633, allocations: 48.14 kB / 0.5628 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.096e-05/0.5633, allocations: 77 kB / 0.5629 GB, free: 7.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=320): time 5.741e-06/0.5634, allocations: 0 / 0.5629 GB, free: 7.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=320): time 0.009319/0.5727, allocations: 4.437 MB / 0.5672 GB, free: 5.566 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.5728, allocations: 167.1 kB / 0.5674 GB, free: 5.402 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006742/0.5796, allocations: 3.147 MB / 0.5705 GB, free: 2.273 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007343/0.5803, allocations: 93.7 kB / 0.5706 GB, free: 2.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001594/0.5819, allocations: 1.625 MB / 0.5722 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002018/0.584, allocations: 1.265 MB / 0.5734 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003003/0.587, allocations: 1.587 MB / 0.5749 GB, free: 13.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.5871, allocations: 301.1 kB / 0.5752 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003915/0.591, allocations: 2.345 MB / 0.5775 GB, free: 11.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00467/0.5957, allocations: 3.058 MB / 0.5805 GB, free: 7.914 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006406/0.6021, allocations: 4.436 MB / 0.5848 GB, free: 3.309 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.348e-05/0.6022, allocations: 0 / 0.5848 GB, free: 3.309 MB / 414.1 MB Notification: Performance of matching and sorting (n=1154) (initialization): time 0.01245/0.6147, allocations: 7.47 MB / 0.5921 GB, free: 11.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.6147, allocations: 8 kB / 0.5921 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.9e-05/0.6148, allocations: 8.625 kB / 0.5921 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00276/0.6175, allocations: 0.6203 MB / 0.5928 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007645/0.6252, allocations: 1.891 MB / 0.5946 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/0.6354, allocations: 8.625 MB / 0.603 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009486/0.645, allocations: 0.5315 MB / 0.6035 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001658/0.6467, allocations: 284 kB / 0.6038 GB, free: 15.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (bus4.componentPF.isSlackBus,bus3.componentPF.isSlackBus,bus2.componentPF.isSlackBus,bus1.componentPF.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1118): * Single equations (assignments): 1114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,0,50.0%), (14,0,21.4%), (6,0,50.0%), (14,0,21.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003658/0.6503, allocations: 0.8518 MB / 0.6046 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001919/0.6523, allocations: 377.9 kB / 0.605 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005305/0.6576, allocations: 2.947 MB / 0.6079 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.837e-05/0.6576, allocations: 19.94 kB / 0.6079 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/0.6577, allocations: 4 kB / 0.6079 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003433/0.6611, allocations: 0.8239 MB / 0.6087 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009454/0.662, allocations: 55.94 kB / 0.6088 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003021/0.6651, allocations: 144.3 kB / 0.6089 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003823/0.6655, allocations: 212.8 kB / 0.6091 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00607/0.6715, allocations: 3.194 MB / 0.6122 GB, free: 6.867 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00631/0.6779, allocations: 3.735 MB / 0.6159 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001308/0.6792, allocations: 0.9385 MB / 0.6168 GB, free: 2.125 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003275/0.6825, allocations: 1.923 MB / 0.6187 GB, free: 216 kB / 446.1 MB Notification: Performance of Backend: time 1.112e-06/0.6825, allocations: 2.906 kB / 0.6187 GB, free: 216 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01299/0.6955, allocations: 5.661 MB / 0.6242 GB, free: 10.66 MB / 462.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.01134/0.7069, allocations: 6.291 MB / 0.6303 GB, free: 4.379 MB / 462.1 MB Notification: Performance of Templates: time 0.09381/0.8007, allocations: 53.66 MB / 0.6827 GB, free: 15.02 MB / 0.5137 GB make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestTransmissionLine.pipe 2>&1)