Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault") translateModel(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_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.001163/0.001163, allocations: 96.73 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009493/0.0009496, allocations: 180 kB / 16.57 MB, free: 6.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.727/1.727, allocations: 205.4 MB / 222.7 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06616/0.06616, allocations: 14.15 MB / 285.2 MB, free: 7.145 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.0005717/0.0005721, allocations: 16 kB / 346.8 MB, free: 19.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1218, allocations: 51.13 MB / 397.9 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault): time 0.01316/0.1351, allocations: 11.38 MB / 409.3 MB, free: 5.316 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01146/0.1466, allocations: 5.489 MB / 414.8 MB, free: 15.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002993/0.1496, allocations: 35.88 kB / 414.8 MB, free: 15.78 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002984/0.1527, allocations: 0.5478 MB / 415.3 MB, free: 15.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008546/0.1612, allocations: 2.201 MB / 417.5 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.163, allocations: 0.5487 MB / 418.1 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006976/0.17, allocations: 2.955 MB / 421 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007697/0.1708, allocations: 282.2 kB / 421.3 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00293/0.1738, allocations: 1.082 MB / 422.4 MB, free: 8.164 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001655/0.1754, allocations: 1.051 MB / 423.5 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.1756, allocations: 60 kB / 423.5 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001883/0.1775, allocations: 443.6 kB / 423.9 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002737/0.1778, allocations: 234.8 kB / 424.2 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008075/0.1786, allocations: 452.7 kB / 424.6 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002958/0.1816, allocations: 2.264 MB / 426.9 MB, free: 3.668 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.1816, allocations: 0 / 426.9 MB, free: 3.668 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1816, allocations: 0 / 426.9 MB, free: 3.668 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.18e-05/0.1816, allocations: 0 / 426.9 MB, free: 3.668 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.0103/0.1919, allocations: 2.843 MB / 429.7 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/0.192, allocations: 12.03 kB / 429.7 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/0.1941, allocations: 337.3 kB / 430.1 MB, free: 420 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2586/0.4527, allocations: 1.284 MB / 431.4 MB, free: 34.6 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002072/0.453, allocations: 115.9 kB / 431.5 MB, free: 34.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004062/0.4534, allocations: 151 kB / 431.6 MB, free: 34.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004925/0.4583, allocations: 1.769 MB / 433.4 MB, free: 33.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.502e-05/0.4584, allocations: 8.781 kB / 433.4 MB, free: 33.94 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002196/0.4587, allocations: 75.14 kB / 433.5 MB, free: 33.89 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.456e-05/0.4588, allocations: 43.03 kB / 433.5 MB, free: 33.89 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00451/0.4633, allocations: 1.489 MB / 435 MB, free: 33.31 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.01621/0.4795, allocations: 12.05 MB / 447 MB, free: 22.95 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003558/0.4831, allocations: 1.87 MB / 448.9 MB, free: 21.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.099e-05/0.4832, allocations: 15.59 kB / 448.9 MB, free: 21.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001143/0.4844, allocations: 0.7316 MB / 449.7 MB, free: 21.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=151): time 3.576e-06/0.4844, allocations: 3.344 kB / 449.7 MB, free: 21.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=151): time 0.00658/0.491, allocations: 2.774 MB / 452.4 MB, free: 20.1 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.562e-05/0.4911, allocations: 235.1 kB / 452.7 MB, free: 19.85 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/0.4926, allocations: 1.113 MB / 453.8 MB, free: 19.37 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.142e-05/0.4927, allocations: 52.98 kB / 453.8 MB, free: 19.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006017/0.4933, allocations: 0.7887 MB / 454.6 MB, free: 18.62 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003776/0.4937, allocations: 0.5145 MB / 455.1 MB, free: 18.18 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.677e-05/0.4937, allocations: 36.16 kB / 455.2 MB, free: 18.15 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.642e-05/0.4938, allocations: 376.6 kB / 455.5 MB, free: 17.79 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007219/0.4946, allocations: 494.7 kB / 456 MB, free: 17.54 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009454/0.4955, allocations: 0.9523 MB / 457 MB, free: 16.68 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009818/0.4965, allocations: 0.696 MB / 457.7 MB, free: 16.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.4966, allocations: 4.125 kB / 457.7 MB, free: 16.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.003321/0.4999, allocations: 2.051 MB / 459.7 MB, free: 15.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.737e-05/0.4999, allocations: 67.17 kB / 459.8 MB, free: 15.1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.5, allocations: 15.81 kB / 459.8 MB, free: 15.1 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009784/0.5009, allocations: 405.8 kB / 460.2 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/0.5024, allocations: 411.8 kB / 460.6 MB, free: 14.83 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004186/0.5066, allocations: 3.794 MB / 464.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/0.5082, allocations: 167.2 kB / 464.6 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.567e-05/0.5083, allocations: 75.34 kB / 464.6 MB, free: 11.85 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.0007743/0.5091, allocations: 479.8 kB / 465.1 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002641/0.5094, allocations: 167.8 kB / 465.3 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002442/0.5118, allocations: 1.692 MB / 467 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.5119, allocations: 11.81 kB / 467 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.5119, allocations: 11.89 kB / 467 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.5119, allocations: 7.969 kB / 467 MB, free: 10.35 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.004189/0.5161, allocations: 3.587 MB / 470.6 MB, free: 6.727 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.5161, allocations: 0 / 470.6 MB, free: 6.727 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.5172, allocations: 271.7 kB / 470.8 MB, free: 6.461 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008611/0.5181, allocations: 360.8 kB / 471.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.558e-05/0.5181, allocations: 28 kB / 471.2 MB, free: 6.078 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004194/0.5223, allocations: 3.758 MB / 475 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5224, allocations: 0 / 475 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004266/0.5266, allocations: 3.13 MB / 478.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009429/0.5276, allocations: 370.8 kB / 478.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/0.5278, allocations: 32 kB / 478.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008665/0.5287, allocations: 59.67 kB / 478.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/0.5289, allocations: 97.14 kB / 478.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.518e-05/0.529, allocations: 32 kB / 478.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001009/0.53, allocations: 0.7318 MB / 479.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.53, allocations: 0 / 479.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002138/0.5321, allocations: 0.5933 MB / 480 MB, free: 13.06 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.0004349/0.5326, allocations: 244.5 kB / 480.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002986/0.5356, allocations: 1.776 MB / 482 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5356, allocations: 0 / 482 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001566/0.5372, allocations: 1.068 MB / 483.1 MB, free: 9.918 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008058/0.538, allocations: 138 kB / 483.2 MB, free: 9.785 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.005392/0.5434, allocations: 3.902 MB / 487.1 MB, free: 5.859 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/0.5444, allocations: 1.326 MB / 488.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0009916/0.5454, allocations: 204 kB / 488.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002473/0.5457, allocations: 103.4 kB / 488.8 MB, free: 4.199 MB / 334.1 MB Notification: Performance of SimCode: time 8.41e-07/0.5457, allocations: 0 / 488.8 MB, free: 4.199 MB / 334.1 MB Notification: Performance of Templates: time 0.02935/0.5751, allocations: 16.18 MB / 0.4931 GB, free: 4.117 MB / 350.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.makefile Environment - environmentSimulation: (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.pipe 2>&1) Environment - environmentSimulation: