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.001717/0.001717, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.00212/0.00212, allocations: 215.3 kB / 23.03 MB, free: 4.922 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.486/1.486, allocations: 207.7 MB / 233.9 MB, free: 9.781 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.06878/0.06878, allocations: 14.39 MB / 300.5 MB, free: 7.242 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.002217/0.002217, allocations: 75.02 kB / 421.4 MB, free: 39.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09082/0.09304, allocations: 52.9 MB / 474.3 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault): time 0.01386/0.1069, allocations: 12.09 MB / 486.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009519/0.1164, allocations: 5.526 MB / 491.9 MB, free: 412 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001663/0.1181, allocations: 47.75 kB / 492 MB, free: 364 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001951/0.12, allocations: 0.7106 MB / 492.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006392/0.1264, allocations: 2.673 MB / 495.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.1279, allocations: 0.6498 MB / 496 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005598/0.1335, allocations: 4.234 MB / 0.4885 GB, free: 8.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004209/0.134, allocations: 172.8 kB / 0.4887 GB, free: 7.895 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002235/0.1362, allocations: 1.421 MB / 0.4901 GB, free: 6.469 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002272/0.1385, allocations: 1.428 MB / 0.4915 GB, free: 5.035 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000336/0.1388, allocations: 160 kB / 0.4916 GB, free: 4.879 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001544/0.1404, allocations: 0.6207 MB / 0.4922 GB, free: 4.258 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003756/0.1407, allocations: 370.3 kB / 0.4926 GB, free: 3.895 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001478/0.1422, allocations: 1.007 MB / 0.4936 GB, free: 2.883 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005085/0.1473, allocations: 3.383 MB / 0.4969 GB, free: 15.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1473, allocations: 0 / 0.4969 GB, free: 15.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1473, allocations: 0 / 0.4969 GB, free: 15.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.496e-05/0.1474, allocations: 4 kB / 0.4969 GB, free: 15.48 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.0122/0.1596, allocations: 3.326 MB / 0.5001 GB, free: 12.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.036e-05/0.1596, allocations: 12.03 kB / 0.5001 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.258e-05/0.1597, allocations: 39.34 kB / 0.5002 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004816/0.1602, allocations: 228.3 kB / 0.5004 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002897/0.1631, allocations: 351.4 kB / 0.5007 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004559/0.1676, allocations: 1.352 MB / 0.502 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.1678, allocations: 119.2 kB / 0.5021 GB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002731/0.168, allocations: 152 kB / 0.5023 GB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00341/0.1714, allocations: 1.852 MB / 0.5041 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.885e-05/0.1715, allocations: 11.88 kB / 0.5041 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000156/0.1716, allocations: 75.98 kB / 0.5042 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.931e-05/0.1717, allocations: 40 kB / 0.5042 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002832/0.1745, allocations: 1.555 MB / 0.5057 GB, free: 6.07 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.01656/0.1911, allocations: 8.72 MB / 0.5143 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002773/0.1938, allocations: 1.345 MB / 0.5156 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009911/0.1948, allocations: 0.6045 MB / 0.5162 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.431e-05/0.1949, allocations: 21.31 kB / 0.5162 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001276/0.1962, allocations: 0.7951 MB / 0.517 GB, free: 10.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=151): time 4.148e-06/0.1962, allocations: 0 / 0.517 GB, free: 10.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=151): time 0.00712/0.2033, allocations: 2.71 MB / 0.5196 GB, free: 7.512 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001628/0.2035, allocations: 226.9 kB / 0.5198 GB, free: 7.242 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002199/0.2057, allocations: 1.271 MB / 0.5211 GB, free: 5.953 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.2058, allocations: 53.7 kB / 0.5211 GB, free: 5.895 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008039/0.2066, allocations: 0.8088 MB / 0.5219 GB, free: 5.074 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006382/0.2072, allocations: 0.5383 MB / 0.5224 GB, free: 4.531 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005168/0.2078, allocations: 315.4 kB / 0.5227 GB, free: 4.219 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.2079, allocations: 305.1 kB / 0.523 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009147/0.2088, allocations: 0.5383 MB / 0.5235 GB, free: 3.367 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.2101, allocations: 1.019 MB / 0.5245 GB, free: 2.133 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002425/0.2126, allocations: 1.7 MB / 0.5262 GB, free: 208 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.751e-05/0.2126, allocations: 4 kB / 0.5262 GB, free: 204 kB / 398.1 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.1943/0.4068, allocations: 2.111 MB / 0.5283 GB, free: 59.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.368e-05/0.4069, allocations: 69.72 kB / 0.5283 GB, free: 59.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/0.4069, allocations: 15.12 kB / 0.5283 GB, free: 59.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.4081, allocations: 398.9 kB / 0.5287 GB, free: 59.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001644/0.4097, allocations: 418.2 kB / 0.5291 GB, free: 59.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005013/0.4147, allocations: 3.819 MB / 0.5329 GB, free: 57.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/0.4167, allocations: 147.3 kB / 0.533 GB, free: 57.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.4168, allocations: 80.88 kB / 0.5331 GB, free: 57.45 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.0006742/0.4175, allocations: 485.7 kB / 0.5335 GB, free: 57.08 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003206/0.4178, allocations: 175.9 kB / 0.5337 GB, free: 57.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002935/0.4207, allocations: 1.742 MB / 0.5354 GB, free: 56.13 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/0.4208, allocations: 13.81 kB / 0.5354 GB, free: 56.13 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.4208, allocations: 8.938 kB / 0.5354 GB, free: 56.13 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.007e-05/0.4208, allocations: 8.25 kB / 0.5354 GB, free: 56.13 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.005692/0.4265, allocations: 3.328 MB / 0.5387 GB, free: 54.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.4265, allocations: 4.594 kB / 0.5387 GB, free: 54.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/0.4278, allocations: 270.6 kB / 0.5389 GB, free: 54.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001093/0.4289, allocations: 358.5 kB / 0.5393 GB, free: 54.31 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.61e-05/0.429, allocations: 24 kB / 0.5393 GB, free: 54.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004756/0.4337, allocations: 3.792 MB / 0.543 GB, free: 51.74 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4337, allocations: 3.828 kB / 0.543 GB, free: 51.74 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003183/0.4369, allocations: 1.807 MB / 0.5448 GB, free: 50.78 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008763/0.4378, allocations: 358.8 kB / 0.5451 GB, free: 50.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002447/0.438, allocations: 27.75 kB / 0.5452 GB, free: 50.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.4392, allocations: 44.86 kB / 0.5452 GB, free: 50.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002536/0.4395, allocations: 103.2 kB / 0.5453 GB, free: 50.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.606e-05/0.4395, allocations: 38.56 kB / 0.5453 GB, free: 50.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001064/0.4406, allocations: 0.841 MB / 0.5462 GB, free: 50.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4406, allocations: 0 / 0.5462 GB, free: 50.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001651/0.4423, allocations: 0.6434 MB / 0.5468 GB, free: 50.05 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.002778/0.445, allocations: 2.477 MB / 0.5492 GB, free: 48.4 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002543/0.4476, allocations: 1.829 MB / 0.551 GB, free: 46.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4476, allocations: 0 / 0.551 GB, free: 46.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001284/0.4489, allocations: 1.067 MB / 0.552 GB, free: 45.64 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.4502, allocations: 212.3 kB / 0.5522 GB, free: 45.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01574/0.4659, allocations: 13.05 MB / 0.565 GB, free: 32.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005191/0.4664, allocations: 0.6644 MB / 0.5656 GB, free: 31.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008713/0.4673, allocations: 215.7 kB / 0.5658 GB, free: 31.69 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007858/0.4681, allocations: 0.6125 MB / 0.5664 GB, free: 31.08 MB / 398.1 MB Notification: Performance of SimCode: time 1.483e-06/0.4681, allocations: 0 / 0.5664 GB, free: 31.08 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0722/0.5403, allocations: 39.47 MB / 0.605 GB, free: 7.676 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.13/15.67, allocations: 3.906 kB / 0.605 GB, free: 7.672 MB / 414.1 MB " [Timeout remaining time 644] (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.54245132696815] Failed to read output from testmodel.py, exit status != 0: 15.863979705027305 15.89348183 15.740681223 Calling exit ...