Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.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) Running command: translateModel(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine") translateModel(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009547/0.000955, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.0009658/0.0009658, allocations: 177.3 kB / 15.95 MB, free: 216 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.322/1.322, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05954/0.05954, allocations: 14.16 MB / 284.5 MB, free: 7.141 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.0004548/0.0004548, allocations: 12 kB / 346.1 MB, free: 19.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07811/0.07858, allocations: 51.12 MB / 397.2 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine): time 0.005293/0.0839, allocations: 5.985 MB / 403.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004102/0.08803, allocations: 3.21 MB / 406.4 MB, free: 7.523 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003538/0.08841, allocations: 27.81 kB / 406.5 MB, free: 7.496 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006525/0.08907, allocations: 310.4 kB / 406.8 MB, free: 7.191 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002839/0.09192, allocations: 1.329 MB / 408.1 MB, free: 5.867 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008286/0.09276, allocations: 494.2 kB / 408.6 MB, free: 5.387 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001824/0.09459, allocations: 1.326 MB / 409.9 MB, free: 4.059 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.09481, allocations: 106.4 kB / 410 MB, free: 3.945 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005304/0.09535, allocations: 0.5021 MB / 410.5 MB, free: 3.441 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000545/0.09591, allocations: 494.2 kB / 411 MB, free: 2.957 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.768e-05/0.09599, allocations: 27.94 kB / 411 MB, free: 2.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006779/0.09668, allocations: 335.7 kB / 411.4 MB, free: 2.602 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.575e-05/0.09677, allocations: 107.4 kB / 411.5 MB, free: 2.496 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.09694, allocations: 205.3 kB / 411.7 MB, free: 2.289 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000992/0.09794, allocations: 0.9976 MB / 412.7 MB, free: 1.289 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.09796, allocations: 0 / 412.7 MB, free: 1.289 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.09797, allocations: 0 / 412.7 MB, free: 1.289 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.09798, allocations: 0 / 412.7 MB, free: 1.289 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004885/0.1029, allocations: 1.52 MB / 414.2 MB, free: 15.72 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.1029, allocations: 12.02 kB / 414.2 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006942/0.1036, allocations: 150.7 kB / 414.3 MB, free: 15.56 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.1048, allocations: 0.6248 MB / 415 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.713e-05/0.1049, allocations: 54 kB / 415 MB, free: 14.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.811e-05/0.105, allocations: 72 kB / 415.1 MB, free: 14.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.1062, allocations: 0.7576 MB / 415.8 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.1063, allocations: 0 / 415.8 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.065e-05/0.1063, allocations: 35.98 kB / 415.9 MB, free: 13.94 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.529e-05/0.1064, allocations: 16 kB / 415.9 MB, free: 13.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.1074, allocations: 0.6987 MB / 416.6 MB, free: 13.23 MB / 318.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.004828/0.1123, allocations: 4.681 MB / 421.3 MB, free: 8.027 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/0.1139, allocations: 0.9557 MB / 422.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.208e-05/0.114, allocations: 16.59 kB / 422.2 MB, free: 7.02 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.114, allocations: 43.22 kB / 422.3 MB, free: 6.969 MB / 318.1 MB Notification: Performance of pre-optimization done (n=78): time 2.986e-06/0.114, allocations: 0 / 422.3 MB, free: 6.969 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.002813/0.1168, allocations: 1.214 MB / 423.5 MB, free: 5.727 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.1169, allocations: 64 kB / 423.6 MB, free: 5.652 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000536/0.1174, allocations: 0.4951 MB / 424.1 MB, free: 5.148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.198e-05/0.1175, allocations: 41.7 kB / 424.1 MB, free: 5.102 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.1177, allocations: 363.8 kB / 424.5 MB, free: 4.738 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000202/0.1179, allocations: 264.1 kB / 424.7 MB, free: 4.477 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.118, allocations: 23.88 kB / 424.7 MB, free: 4.453 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1182, allocations: 378.7 kB / 425.1 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/0.1185, allocations: 217.9 kB / 425.3 MB, free: 3.859 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004097/0.1189, allocations: 324.3 kB / 425.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004222/0.1193, allocations: 274.9 kB / 425.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.1194, allocations: 4 kB / 425.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001388/0.1207, allocations: 0.8448 MB / 426.8 MB, free: 2.383 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.1208, allocations: 8 kB / 426.8 MB, free: 2.375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.1208, allocations: 4 kB / 426.8 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005594/0.1214, allocations: 180.7 kB / 426.9 MB, free: 2.191 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007922/0.1222, allocations: 192 kB / 427.1 MB, free: 2.004 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1677/0.2899, allocations: 2.382 MB / 429.5 MB, free: 35.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007236/0.2907, allocations: 52.72 kB / 429.6 MB, free: 35.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.82e-05/0.2908, allocations: 26.7 kB / 429.6 MB, free: 35.08 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (83): * Single equations (assignments): 82 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003534/0.2911, allocations: 221.9 kB / 429.8 MB, free: 34.97 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.2912, allocations: 80.16 kB / 429.9 MB, free: 34.97 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.2926, allocations: 0.7973 MB / 430.7 MB, free: 34.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.2926, allocations: 8.812 kB / 430.7 MB, free: 34.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2926, allocations: 2.75 kB / 430.7 MB, free: 34.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.2926, allocations: 9.344 kB / 430.7 MB, free: 34.91 MB / 318.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 postOpt removeSimpleEquations (simulation): time 0.002674/0.2953, allocations: 1.719 MB / 432.4 MB, free: 34.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.2953, allocations: 1 kB / 432.4 MB, free: 34.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007145/0.2961, allocations: 164.2 kB / 432.6 MB, free: 34.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000518/0.2966, allocations: 170.1 kB / 432.7 MB, free: 34.44 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.2966, allocations: 14.89 kB / 432.8 MB, free: 34.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002651/0.2993, allocations: 2.381 MB / 435.1 MB, free: 32.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2993, allocations: 3.828 kB / 435.1 MB, free: 32.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.3006, allocations: 0.8534 MB / 436 MB, free: 32.26 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002732/0.3009, allocations: 206.1 kB / 436.2 MB, free: 32.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.422e-05/0.301, allocations: 18.62 kB / 436.2 MB, free: 32.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/0.3014, allocations: 27.66 kB / 436.2 MB, free: 32.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.3016, allocations: 50.27 kB / 436.3 MB, free: 32.06 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/0.3016, allocations: 17.62 kB / 436.3 MB, free: 32.05 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004261/0.302, allocations: 339.9 kB / 436.6 MB, free: 31.89 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.302, allocations: 4.5 kB / 436.6 MB, free: 31.89 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008841/0.3029, allocations: 276.8 kB / 436.9 MB, free: 31.86 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (63): * Single equations (assignments): 62 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002619/0.3032, allocations: 175.9 kB / 437.1 MB, free: 31.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.3046, allocations: 0.7996 MB / 437.9 MB, free: 31.38 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3046, allocations: 1.375 kB / 437.9 MB, free: 31.38 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007123/0.3053, allocations: 0.5226 MB / 438.4 MB, free: 31.11 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004665/0.3058, allocations: 80.58 kB / 438.5 MB, free: 31.06 MB / 318.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: created linear, non-linear and system jacobian parts: time 0.001937/0.3077, allocations: 1.485 MB / 440 MB, free: 30.17 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.3082, allocations: 0.9613 MB / 440.9 MB, free: 29.46 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004474/0.3086, allocations: 90.03 kB / 441 MB, free: 29.43 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.3088, allocations: 52.22 kB / 441.1 MB, free: 29.42 MB / 318.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3088, allocations: 0 / 441.1 MB, free: 29.42 MB / 318.1 MB Notification: Performance of Templates: time 0.01468/0.3235, allocations: 7.413 MB / 448.5 MB, free: 27.38 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.makefile Environment - environmentSimulation: (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.sim & ./PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe 2>&1) Environment - environmentSimulation: