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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 113.8 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 219 kB / 23.04 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 207.6 MB / 233.8 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.07153/0.07153, allocations: 14.39 MB / 300.5 MB, free: 7.535 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLineFault",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLineFault",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 66.56 kB / 421.4 MB, free: 39.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08315/0.08529, allocations: 52.91 MB / 474.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault): time 0.01518/0.1005, allocations: 13.92 MB / 488.2 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01028/0.1108, allocations: 5.981 MB / 494.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001928/0.1127, allocations: 39.81 kB / 494.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002537/0.1152, allocations: 0.7495 MB / 495 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008974/0.1242, allocations: 2.727 MB / 497.7 MB, free: 10.81 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002123/0.1263, allocations: 0.7001 MB / 498.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006441/0.1328, allocations: 4.234 MB / 0.4909 GB, free: 5.867 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000681/0.1334, allocations: 172.8 kB / 0.4911 GB, free: 5.672 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002942/0.1364, allocations: 1.413 MB / 0.4924 GB, free: 4.254 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003021/0.1394, allocations: 1.432 MB / 0.4938 GB, free: 2.816 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006266/0.14, allocations: 160 kB / 0.494 GB, free: 2.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002301/0.1423, allocations: 0.6247 MB / 0.4946 GB, free: 2.035 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006162/0.1429, allocations: 370.3 kB / 0.495 GB, free: 1.672 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002524/0.1455, allocations: 1.252 MB / 0.4962 GB, free: 424 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006541/0.152, allocations: 3.36 MB / 0.4995 GB, free: 13.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.152, allocations: 4 kB / 0.4995 GB, free: 13.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.152, allocations: 0 / 0.4995 GB, free: 13.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.981e-05/0.1521, allocations: 0 / 0.4995 GB, free: 13.04 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: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.01315/0.1653, allocations: 3.323 MB / 0.5027 GB, free: 9.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.1653, allocations: 8.031 kB / 0.5027 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.671e-05/0.1654, allocations: 47.34 kB / 0.5028 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000518/0.1659, allocations: 228.3 kB / 0.503 GB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00207/0.168, allocations: 351.4 kB / 0.5033 GB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003931/0.1719, allocations: 1.348 MB / 0.5046 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/0.1721, allocations: 119.2 kB / 0.5047 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004338/0.1725, allocations: 152 kB / 0.5049 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003741/0.1762, allocations: 1.798 MB / 0.5066 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.654e-05/0.1763, allocations: 7.938 kB / 0.5067 GB, free: 5.387 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001891/0.1765, allocations: 68 kB / 0.5067 GB, free: 5.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.199e-05/0.1765, allocations: 44 kB / 0.5068 GB, free: 5.277 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002942/0.1795, allocations: 1.505 MB / 0.5082 GB, free: 3.766 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.01908/0.1985, allocations: 12.9 MB / 0.5208 GB, free: 5.805 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002923/0.2015, allocations: 1.306 MB / 0.5221 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/0.2025, allocations: 0.5426 MB / 0.5226 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.487e-05/0.2026, allocations: 17.31 kB / 0.5227 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001323/0.2039, allocations: 0.7448 MB / 0.5234 GB, free: 3.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=151): time 4.017e-06/0.2039, allocations: 0 / 0.5234 GB, free: 3.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=151): time 0.007625/0.2115, allocations: 2.578 MB / 0.5259 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001895/0.2117, allocations: 234.9 kB / 0.5261 GB, free: 288 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1961/0.4079, allocations: 1.263 MB / 0.5274 GB, free: 60.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002431/0.4081, allocations: 54.02 kB / 0.5274 GB, free: 60.04 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006473/0.4088, allocations: 0.8086 MB / 0.5282 GB, free: 59.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000547/0.4093, allocations: 0.5439 MB / 0.5287 GB, free: 59.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004784/0.4098, allocations: 313.4 kB / 0.529 GB, free: 59.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.052e-05/0.4099, allocations: 306.3 kB / 0.5293 GB, free: 59.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008855/0.4107, allocations: 497.6 kB / 0.5298 GB, free: 59.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.4118, allocations: 0.9651 MB / 0.5307 GB, free: 58.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001904/0.4137, allocations: 1.693 MB / 0.5324 GB, free: 57.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.358e-05/0.4137, allocations: 7.969 kB / 0.5324 GB, free: 57.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.004234/0.418, allocations: 2.061 MB / 0.5344 GB, free: 56.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.4e-05/0.418, allocations: 69.44 kB / 0.5345 GB, free: 56.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.684e-05/0.4181, allocations: 16.59 kB / 0.5345 GB, free: 56.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/0.4193, allocations: 399.1 kB / 0.5349 GB, free: 56.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/0.4209, allocations: 420.2 kB / 0.5353 GB, free: 56.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005761/0.4267, allocations: 3.918 MB / 0.5391 GB, free: 53.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002469/0.4291, allocations: 145.9 kB / 0.5392 GB, free: 53.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/0.4293, allocations: 74.83 kB / 0.5393 GB, free: 53.42 MB / 398.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 (transmissionLine.busFault.fault,$PRE.transmissionLine.busFault.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,transmissionLine.busFault.Y.im,$PRE.transmissionLine.busFault.Y.im,transmissionLine.busFault.Y.re,$PRE.transmissionLine.busFault.Y.re) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,27,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008654/0.4302, allocations: 490.2 kB / 0.5398 GB, free: 53.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003927/0.4306, allocations: 180.4 kB / 0.5399 GB, free: 52.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002951/0.4335, allocations: 1.681 MB / 0.5416 GB, free: 52.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.4335, allocations: 15.05 kB / 0.5416 GB, free: 52.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.4335, allocations: 8.219 kB / 0.5416 GB, free: 52.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/0.4336, allocations: 7.266 kB / 0.5416 GB, free: 52.12 MB / 398.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.005535/0.4391, allocations: 3.906 MB / 0.5454 GB, free: 50.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.4391, allocations: 1.859 kB / 0.5454 GB, free: 50.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.4402, allocations: 275.8 kB / 0.5457 GB, free: 50.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008683/0.4411, allocations: 362.1 kB / 0.546 GB, free: 49.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.544e-05/0.4411, allocations: 27.94 kB / 0.5461 GB, free: 49.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004221/0.4454, allocations: 3.875 MB / 0.5499 GB, free: 47.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4454, allocations: 1.125 kB / 0.5499 GB, free: 47.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002424/0.4478, allocations: 1.735 MB / 0.5515 GB, free: 46.42 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007672/0.4486, allocations: 360.7 kB / 0.5519 GB, free: 46.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/0.4488, allocations: 26.88 kB / 0.5519 GB, free: 46.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.4499, allocations: 54.69 kB / 0.552 GB, free: 46.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.45, allocations: 98.62 kB / 0.5521 GB, free: 46.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.739e-05/0.4501, allocations: 39.73 kB / 0.5521 GB, free: 46.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001004/0.4511, allocations: 0.8395 MB / 0.5529 GB, free: 45.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4511, allocations: 0 / 0.5529 GB, free: 45.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001613/0.4527, allocations: 0.6435 MB / 0.5535 GB, free: 45.65 MB / 398.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,27,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002559/0.4553, allocations: 2.417 MB / 0.5559 GB, free: 43.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002623/0.4579, allocations: 1.714 MB / 0.5576 GB, free: 42.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4579, allocations: 0 / 0.5576 GB, free: 42.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.4591, allocations: 0.9929 MB / 0.5586 GB, free: 41.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.4601, allocations: 215.4 kB / 0.5588 GB, free: 41.05 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01427/0.4744, allocations: 12.77 MB / 0.5712 GB, free: 27.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005169/0.4749, allocations: 1.249 MB / 0.5725 GB, free: 26.47 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007353/0.4756, allocations: 218.7 kB / 0.5727 GB, free: 26.28 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006651/0.4763, allocations: 0.6086 MB / 0.5733 GB, free: 25.67 MB / 398.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4763, allocations: 0 / 0.5733 GB, free: 25.67 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07456/0.5509, allocations: 39.22 MB / 0.6116 GB, free: 2.496 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.64/15.19, allocations: 8.062 kB / 0.6116 GB, free: 2.488 MB / 414.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLineFault_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLineFault.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.103120417974424] Failed to read output from testmodel.py, exit status != 0: 15.382132838014513 15.412043465 15.254898443 Calling exit ...