Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 110.4 kB / 18.34 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 225.6 MB / 246.9 MB, free: 13.59 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 196.5 kB / 302.2 MB, free: 9.086 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.554/0.554, allocations: 79.71 MB / 437 MB, free: 5.617 MB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/2.85e-05, allocations: 2.281 kB / 0.5824 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI): time 0.02175/0.02177, allocations: 21.73 MB / 0.6036 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01613/0.0379, allocations: 4.884 MB / 0.6084 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006897/0.0448, allocations: 44 kB / 0.6084 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004491/0.04929, allocations: 0.8789 MB / 0.6093 GB, free: 12.86 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr16.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr67.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr78.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr89.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr49.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr528.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr2829.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr2930.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr3031.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr231.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.01189/0.06118, allocations: 2.284 MB / 0.6115 GB, free: 10.57 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.007985/0.06917, allocations: 2.07 MB / 0.6135 GB, free: 8.527 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01503/0.0842, allocations: 6.848 MB / 0.6202 GB, free: 1.656 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002325/0.08652, allocations: 0.7948 MB / 0.621 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005789/0.09231, allocations: 2.512 MB / 0.6234 GB, free: 14.28 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005948/0.09826, allocations: 2.946 MB / 0.6263 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001875/0.1001, allocations: 375.9 kB / 0.6267 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003209/0.1033, allocations: 0.578 MB / 0.6272 GB, free: 10.38 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.01461/0.118, allocations: 10.57 MB / 0.6376 GB, free: 15.69 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.007681/0.1256, allocations: 6.422 MB / 0.6438 GB, free: 9.176 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002559/0.1282, allocations: 0.786 MB / 0.6446 GB, free: 8.387 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.00143/0.1296, allocations: 115.9 kB / 0.6447 GB, free: 8.273 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 890 (845) * Number of variables: 890 (888) Notification: Performance of Bindings: time 0.03052/0.1601, allocations: 21.54 MB / 0.6657 GB, free: 2.141 MB / 462.1 MB Notification: Performance of FunctionAlias: time 0.004208/0.1643, allocations: 2.57 MB / 0.6683 GB, free: 15.55 MB / 478.1 MB Notification: Performance of Early Inline: time 0.03345/0.1978, allocations: 19.23 MB / 0.687 GB, free: 12.22 MB / 494.1 MB Notification: Performance of Simplify 1: time 0.004981/0.2028, allocations: 2.196 MB / 0.6892 GB, free: 9.945 MB / 494.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of Alias: time 0.4363/0.6391, allocations: 14.95 MB / 0.7038 GB, free: 63.37 MB / 494.1 MB Notification: Performance of Simplify 2: time 0.005632/0.6447, allocations: 1.95 MB / 0.7057 GB, free: 63.13 MB / 494.1 MB Notification: Performance of Remove Stream: time 0.004295/0.649, allocations: 1.496 MB / 0.7071 GB, free: 62.9 MB / 494.1 MB Notification: Performance of Detect States: time 0.006407/0.6554, allocations: 2.852 MB / 0.7099 GB, free: 62.53 MB / 494.1 MB Notification: Performance of Events: time 0.005175/0.6606, allocations: 2.031 MB / 0.7119 GB, free: 62.41 MB / 494.1 MB Notification: Performance of Partitioning: time 0.01284/0.6734, allocations: 5.583 MB / 0.7174 GB, free: 61.51 MB / 494.1 MB Notification: Performance of Causalize: time 0.0312/0.7046, allocations: 18.46 MB / 0.7354 GB, free: 55.42 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.01459/0.7192, allocations: 9.355 MB / 0.7445 GB, free: 46.89 MB / 494.1 MB Notification: Performance of Simplify: time 0.01233/0.7315, allocations: 7.431 MB / 0.7518 GB, free: 39.69 MB / 494.1 MB Notification: Performance of Inline: time 0.0238/0.7553, allocations: 19.27 MB / 0.7706 GB, free: 20.66 MB / 494.1 MB Notification: Performance of Partitioning: time 0.001524/0.7568, allocations: 323.9 kB / 0.7709 GB, free: 20.29 MB / 494.1 MB Notification: Performance of Cleanup: time 0.01006/0.7669, allocations: 5.479 MB / 0.7763 GB, free: 14.89 MB / 494.1 MB Notification: Performance of Causalize: time 0.215/0.9819, allocations: 88.55 MB / 0.8627 GB, free: 6.516 MB / 0.5606 GB Error: Internal error NBEquation.Equation.getResidualExp failed for: [-IF-] (2) ($RES_SIM_91) [----] if $TEV_61 then [----] [RECD] (2) L527.is = Complex(0.0, 0.0) ($RES_SIM_92) [----] else [----] [RECD] (2) Complex.'constructor'.fromReal(L527.vs.re - L527.vr.re, L527.vs.im - L527.vr.im) = Complex.'constructor'.fromReal(L527.Z.re * ((L527.is.re + L527.vs.im * L527.Y.im) - L527.vs.re * L527.Y.re) - L527.Z.im * (L527.is.im - (L527.vs.re * L527.Y.im + L527.vs.im * L527.Y.re)), L527.Z.re * (L527.is.im - (L527.vs.re * L527.Y.im + L527.vs.im * L527.Y.re)) + L527.Z.im * ((L527.is.re + L527.vs.im * L527.Y.im) - L527.vs.re * L527.Y.re)) ($RES_SIM_93) [----] end if; Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 4.510962691158056]