Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.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.TwoBusesPowerTransferTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine") translateModel(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009248/0.0009248, allocations: 99.86 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.001015/0.001015, allocations: 177.3 kB / 15.94 MB, free: 228 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.354/1.354, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05937/0.05937, allocations: 14.17 MB / 284.5 MB, free: 7.02 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.0005374/0.0005374, allocations: 16 kB / 346.1 MB, free: 19.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09047/0.09103, allocations: 51.12 MB / 397.2 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine): time 0.005453/0.09652, allocations: 5.985 MB / 403.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00485/0.1014, allocations: 3.214 MB / 406.4 MB, free: 7.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006371/0.1021, allocations: 19.88 kB / 406.5 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008412/0.1029, allocations: 314.4 kB / 406.8 MB, free: 7.172 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003142/0.1061, allocations: 1.327 MB / 408.1 MB, free: 5.848 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000865/0.107, allocations: 493.1 kB / 408.6 MB, free: 5.367 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001868/0.1088, allocations: 1.325 MB / 409.9 MB, free: 4.043 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.1091, allocations: 118.4 kB / 410 MB, free: 3.918 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000606/0.1097, allocations: 0.5021 MB / 410.5 MB, free: 3.414 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005448/0.1102, allocations: 0.4903 MB / 411 MB, free: 2.922 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.137e-05/0.1103, allocations: 28 kB / 411 MB, free: 2.895 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007709/0.1111, allocations: 335.7 kB / 411.4 MB, free: 2.566 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.1112, allocations: 111.4 kB / 411.5 MB, free: 2.457 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.1114, allocations: 205.3 kB / 411.7 MB, free: 2.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.1124, allocations: 1.009 MB / 412.7 MB, free: 1.238 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.1124, allocations: 0 / 412.7 MB, free: 1.238 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1124, allocations: 0 / 412.7 MB, free: 1.238 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.1125, allocations: 0 / 412.7 MB, free: 1.238 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.004525/0.117, allocations: 1.52 MB / 414.2 MB, free: 15.67 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.117, allocations: 8.031 kB / 414.2 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000591/0.1176, allocations: 146.7 kB / 414.4 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.1187, allocations: 0.6326 MB / 415 MB, free: 14.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.077e-05/0.1188, allocations: 54 kB / 415 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.821e-05/0.1189, allocations: 76 kB / 415.1 MB, free: 14.72 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.12, allocations: 0.7386 MB / 415.9 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.12, allocations: 0 / 415.9 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.214e-05/0.1201, allocations: 32 kB / 415.9 MB, free: 13.92 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.1201, allocations: 16 kB / 415.9 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.1212, allocations: 0.7339 MB / 416.6 MB, free: 13.17 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.004601/0.1258, allocations: 4.401 MB / 421 MB, free: 8.262 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/0.1277, allocations: 1.17 MB / 422.2 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-05/0.1278, allocations: 8.656 kB / 422.2 MB, free: 7.004 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.1278, allocations: 43.22 kB / 422.3 MB, free: 6.953 MB / 318.1 MB Notification: Performance of pre-optimization done (n=82): time 6.282e-06/0.1278, allocations: 7.984 kB / 422.3 MB, free: 6.945 MB / 318.1 MB Notification: Performance of matching and sorting (n=82): time 0.002777/0.1306, allocations: 1.242 MB / 423.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.1307, allocations: 64.06 kB / 423.6 MB, free: 5.602 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005723/0.1312, allocations: 494.9 kB / 424.1 MB, free: 5.109 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/0.1313, allocations: 33.7 kB / 424.1 MB, free: 5.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002665/0.1316, allocations: 352.1 kB / 424.4 MB, free: 4.719 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/0.1318, allocations: 291.7 kB / 424.7 MB, free: 4.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.1319, allocations: 12 kB / 424.7 MB, free: 4.418 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.132, allocations: 378.8 kB / 425.1 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.1323, allocations: 221.9 kB / 425.3 MB, free: 3.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003898/0.1327, allocations: 300.9 kB / 425.6 MB, free: 3.504 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005021/0.1332, allocations: 286.9 kB / 425.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1333, allocations: 0 / 425.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001381/0.1347, allocations: 0.8373 MB / 426.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.1347, allocations: 8.031 kB / 426.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.1347, allocations: 4 kB / 426.7 MB, free: 2.367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005871/0.1353, allocations: 183.8 kB / 426.9 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008049/0.1361, allocations: 191.8 kB / 427.1 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1611/0.2972, allocations: 2.372 MB / 429.5 MB, free: 25.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006948/0.2979, allocations: 55.25 kB / 429.5 MB, free: 25.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/0.298, allocations: 26.27 kB / 429.6 MB, free: 25.73 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0003645/0.2984, allocations: 224.4 kB / 429.8 MB, free: 25.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.2985, allocations: 74.59 kB / 429.8 MB, free: 25.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/0.2999, allocations: 0.8299 MB / 430.7 MB, free: 25.55 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.2999, allocations: 8.25 kB / 430.7 MB, free: 25.55 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3, allocations: 6.703 kB / 430.7 MB, free: 25.54 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.3, allocations: 4.547 kB / 430.7 MB, free: 25.54 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0026/0.3026, allocations: 1.886 MB / 432.6 MB, free: 24.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.3026, allocations: 1.156 kB / 432.6 MB, free: 24.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007127/0.3033, allocations: 164.6 kB / 432.7 MB, free: 24.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005046/0.3038, allocations: 172.5 kB / 432.9 MB, free: 24.95 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-05/0.3039, allocations: 15.7 kB / 432.9 MB, free: 24.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002571/0.3065, allocations: 2.377 MB / 435.3 MB, free: 23.67 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3065, allocations: 1.062 kB / 435.3 MB, free: 23.67 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.3078, allocations: 0.8803 MB / 436.2 MB, free: 23.47 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002869/0.3081, allocations: 201.7 kB / 436.4 MB, free: 23.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.404e-05/0.3082, allocations: 18.62 kB / 436.4 MB, free: 23.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004276/0.3086, allocations: 32.58 kB / 436.4 MB, free: 23.33 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.3087, allocations: 50.69 kB / 436.5 MB, free: 23.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.3088, allocations: 23.58 kB / 436.5 MB, free: 23.33 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003876/0.3092, allocations: 334.3 kB / 436.8 MB, free: 23.24 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3092, allocations: 0 / 436.8 MB, free: 23.24 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008503/0.31, allocations: 275.6 kB / 437.1 MB, free: 23.24 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 (67): * Single equations (assignments): 66 * 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.0002508/0.3103, allocations: 179.5 kB / 437.3 MB, free: 23.15 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001277/0.3116, allocations: 0.8109 MB / 438.1 MB, free: 23.01 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3116, allocations: 0 / 438.1 MB, free: 23.01 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007519/0.3124, allocations: 0.5385 MB / 438.6 MB, free: 22.87 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004678/0.3128, allocations: 75.81 kB / 438.7 MB, free: 22.86 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.002026/0.3149, allocations: 1.498 MB / 440.2 MB, free: 22.09 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.3153, allocations: 0.9549 MB / 441.2 MB, free: 21.38 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004341/0.3158, allocations: 89.66 kB / 441.2 MB, free: 21.35 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.3159, allocations: 49.59 kB / 441.3 MB, free: 21.34 MB / 318.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3159, allocations: 4 kB / 441.3 MB, free: 21.34 MB / 318.1 MB Notification: Performance of Templates: time 0.01435/0.3303, allocations: 7.485 MB / 448.8 MB, free: 19.87 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.makefile Environment - environmentSimulation: (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.sim & ./PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe 2>&1) Environment - environmentSimulation: