Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.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.TwoBusesResistiveTransmissionLineFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault") translateModel(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000948/0.0009479, allocations: 99.08 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.0009349/0.0009349, 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.366/1.366, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05942/0.05942, allocations: 14.16 MB / 284.5 MB, free: 7.137 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.0007761/0.0007762, allocations: 12 kB / 346.1 MB, free: 19.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1064, allocations: 51.13 MB / 397.2 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault): time 0.01027/0.1167, allocations: 11.39 MB / 408.6 MB, free: 5.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008419/0.1252, allocations: 5.489 MB / 414.1 MB, free: 15.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001609/0.1269, allocations: 31.88 kB / 414.2 MB, free: 15.79 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.1285, allocations: 0.5517 MB / 414.7 MB, free: 15.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005804/0.1344, allocations: 2.202 MB / 416.9 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.1357, allocations: 0.5413 MB / 417.4 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005089/0.1408, allocations: 2.951 MB / 420.4 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005318/0.1413, allocations: 290.2 kB / 420.7 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001769/0.1431, allocations: 1.086 MB / 421.8 MB, free: 8.168 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.1444, allocations: 1.055 MB / 422.8 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.1446, allocations: 56 kB / 422.9 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/0.1458, allocations: 439.6 kB / 423.3 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002023/0.146, allocations: 238.7 kB / 423.5 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005148/0.1466, allocations: 448.7 kB / 424 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002416/0.149, allocations: 2.256 MB / 426.2 MB, free: 3.684 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.149, allocations: 3.938 kB / 426.2 MB, free: 3.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.149, allocations: 0 / 426.2 MB, free: 3.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.159e-05/0.1491, allocations: 3.938 kB / 426.2 MB, free: 3.676 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.009173/0.1582, allocations: 2.843 MB / 429.1 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1583, allocations: 8.031 kB / 429.1 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001699/0.16, allocations: 341.3 kB / 429.4 MB, free: 428 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1617/0.3217, allocations: 1.292 MB / 430.7 MB, free: 34.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.848e-05/0.3218, allocations: 117 kB / 430.8 MB, free: 34.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/0.322, allocations: 150.4 kB / 431 MB, free: 34.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002637/0.3246, allocations: 1.77 MB / 432.7 MB, free: 34.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/0.3247, allocations: 10.06 kB / 432.8 MB, free: 34.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.3248, allocations: 73.58 kB / 432.8 MB, free: 34.28 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.82e-05/0.3249, allocations: 41.22 kB / 432.9 MB, free: 34.28 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00244/0.3273, allocations: 1.492 MB / 434.4 MB, free: 33.7 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.009894/0.3372, allocations: 12.05 MB / 446.4 MB, free: 23.35 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002533/0.3398, allocations: 1.871 MB / 448.3 MB, free: 22.15 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-05/0.3399, allocations: 15.59 kB / 448.3 MB, free: 22.15 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.3409, allocations: 0.7201 MB / 449 MB, free: 21.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=151): time 3.897e-06/0.3409, allocations: 0 / 449 MB, free: 21.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=151): time 0.00637/0.3473, allocations: 2.782 MB / 451.8 MB, free: 20.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.927e-05/0.3474, allocations: 233.7 kB / 452 MB, free: 20.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.349, allocations: 1.109 MB / 453.1 MB, free: 19.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.013e-05/0.3491, allocations: 51.92 kB / 453.2 MB, free: 19.72 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004883/0.3496, allocations: 0.7876 MB / 454 MB, free: 19.05 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003714/0.35, allocations: 0.5167 MB / 454.5 MB, free: 18.61 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.681e-05/0.3501, allocations: 35.69 kB / 454.5 MB, free: 18.58 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.3502, allocations: 377.1 kB / 454.9 MB, free: 18.22 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007061/0.3509, allocations: 497.6 kB / 455.4 MB, free: 17.96 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000888/0.3518, allocations: 0.9502 MB / 456.3 MB, free: 17.1 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009578/0.3528, allocations: 0.6949 MB / 457 MB, free: 16.69 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.3528, allocations: 4.188 kB / 457 MB, free: 16.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.003148/0.3559, allocations: 2.054 MB / 459.1 MB, free: 15.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.289e-05/0.356, allocations: 71.2 kB / 459.2 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.356, allocations: 11.84 kB / 459.2 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009694/0.357, allocations: 401.8 kB / 459.6 MB, free: 15.35 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/0.3585, allocations: 419.8 kB / 460 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004305/0.3628, allocations: 3.797 MB / 463.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.3645, allocations: 161.2 kB / 463.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.3646, allocations: 70.75 kB / 464 MB, free: 12.27 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition3,$whenCondition4,$PRE.transmissionLine.busFault.fault,transmissionLine.busFault.fault,$whenCondition1,$whenCondition2,$PRE.transmissionLine.busFault.Y.re,transmissionLine.busFault.Y.re,$PRE.transmissionLine.busFault.Y.im,transmissionLine.busFault.Y.im) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 197 * Array equations: 0 * Algorithm blocks: 2 * 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 {(5,92.0%) 27} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007337/0.3653, allocations: 489.4 kB / 464.5 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002986/0.3656, allocations: 168.9 kB / 464.6 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/0.3682, allocations: 1.683 MB / 466.3 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.3682, allocations: 14.97 kB / 466.3 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/0.3682, allocations: 9.266 kB / 466.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.3682, allocations: 11.97 kB / 466.4 MB, free: 10.76 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.004574/0.3728, allocations: 3.591 MB / 469.9 MB, free: 7.238 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3728, allocations: 0 / 469.9 MB, free: 7.238 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/0.374, allocations: 267.7 kB / 470.2 MB, free: 6.977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008943/0.3749, allocations: 356.6 kB / 470.6 MB, free: 6.625 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-05/0.375, allocations: 32.66 kB / 470.6 MB, free: 6.594 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004247/0.3792, allocations: 3.747 MB / 474.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3793, allocations: 0 / 474.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/0.3817, allocations: 1.727 MB / 476.1 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007872/0.3825, allocations: 370.9 kB / 476.4 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000349/0.3829, allocations: 28 kB / 476.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.384, allocations: 55.67 kB / 476.5 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.3842, allocations: 109 kB / 476.6 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-05/0.3842, allocations: 36.25 kB / 476.6 MB, free: 360 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001092/0.3853, allocations: 0.7279 MB / 477.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3853, allocations: 0 / 477.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002076/0.3874, allocations: 0.5816 MB / 478 MB, free: 15.04 MB / 334.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: 7 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,transmissionLine.busFault.Y.re,transmissionLine.busFault.Y.im,transmissionLine.busFault.fault) * Number of discrete states: 7 ($whenCondition4,transmissionLine.busFault.Y.im,transmissionLine.busFault.Y.re,$whenCondition3,transmissionLine.busFault.fault,$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 2 * 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 {(5,92.0%) 27} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003915/0.3878, allocations: 253.3 kB / 478.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003133/0.391, allocations: 1.776 MB / 480 MB, free: 12.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.391, allocations: 0 / 480 MB, free: 12.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001532/0.3925, allocations: 1.069 MB / 481 MB, free: 11.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008834/0.3934, allocations: 141.9 kB / 481.2 MB, free: 11.75 MB / 334.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.005699/0.3991, allocations: 3.131 MB / 484.3 MB, free: 8.617 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/0.4003, allocations: 1.286 MB / 485.6 MB, free: 7.297 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001118/0.4014, allocations: 204.1 kB / 485.8 MB, free: 7.094 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/0.4017, allocations: 103.4 kB / 485.9 MB, free: 6.992 MB / 334.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4017, allocations: 0 / 485.9 MB, free: 6.992 MB / 334.1 MB Notification: Performance of Templates: time 0.0305/0.4322, allocations: 16.17 MB / 0.4903 GB, free: 6.926 MB / 350.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.makefile Environment - environmentSimulation: (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.sim & ./PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.pipe 2>&1) Environment - environmentSimulation: