Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.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.001398/0.001398, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.428/1.428, allocations: 230.6 MB / 252.7 MB, free: 8.289 MB / 206.1 MB " [Timeout remaining time 178] 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.002547/0.002547, allocations: 211.3 kB / 309.2 MB, free: 3.141 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.4505/0.4505, allocations: 79.74 MB / 445.4 MB, free: 14.82 MB / 318.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 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.00276/0.00276, allocations: 91.88 kB / 0.5929 GB, free: 13.92 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1592, allocations: 73.28 MB / 0.6645 GB, free: 4.531 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.007543/0.1668, allocations: 5.835 MB / 0.6702 GB, free: 14.67 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004211/0.171, allocations: 1.806 MB / 0.672 GB, free: 12.86 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008702/0.1718, allocations: 11.94 kB / 0.672 GB, free: 12.84 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007341/0.1726, allocations: 206.3 kB / 0.6722 GB, free: 12.64 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002271/0.1748, allocations: 0.7502 MB / 0.6729 GB, free: 11.89 MB / 478.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 Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.1763, allocations: 0.5619 MB / 0.6735 GB, free: 11.33 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001941/0.1783, allocations: 1.264 MB / 0.6747 GB, free: 10.06 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005115/0.1788, allocations: 187.6 kB / 0.6749 GB, free: 9.867 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.1799, allocations: 0.5406 MB / 0.6754 GB, free: 9.324 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.1811, allocations: 0.6495 MB / 0.676 GB, free: 8.672 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002842/0.1814, allocations: 88 kB / 0.6761 GB, free: 8.586 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007182/0.1821, allocations: 243.8 kB / 0.6764 GB, free: 8.348 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003042/0.1824, allocations: 242.9 kB / 0.6766 GB, free: 8.109 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000735/0.1831, allocations: 0.5437 MB / 0.6771 GB, free: 7.562 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001912/0.185, allocations: 1.377 MB / 0.6785 GB, free: 6.18 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.185, allocations: 3.984 kB / 0.6785 GB, free: 6.176 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.185, allocations: 0 / 0.6785 GB, free: 6.176 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.736e-05/0.1851, allocations: 0 / 0.6785 GB, free: 6.176 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.008299/0.1934, allocations: 2.323 MB / 0.6807 GB, free: 3.816 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.1934, allocations: 11.98 kB / 0.6807 GB, free: 3.805 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002227/0.1937, allocations: 118.5 kB / 0.6809 GB, free: 3.68 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004947/0.1986, allocations: 0.7719 MB / 0.6816 GB, free: 2.906 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.2001, allocations: 0.6375 MB / 0.6822 GB, free: 2.238 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003567/0.2004, allocations: 307.5 kB / 0.6825 GB, free: 1.891 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/0.2006, allocations: 71.95 kB / 0.6826 GB, free: 1.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/0.2028, allocations: 0.9637 MB / 0.6835 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.2028, allocations: 0 / 0.6835 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.23e-05/0.2029, allocations: 24 kB / 0.6836 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.2029, allocations: 19.98 kB / 0.6836 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00226/0.2051, allocations: 0.9799 MB / 0.6845 GB, free: 15.82 MB / 494.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.005834/0.211, allocations: 3.127 MB / 0.6876 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/0.2129, allocations: 0.7782 MB / 0.6884 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/0.2143, allocations: 0.6329 MB / 0.689 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.2144, allocations: 9 kB / 0.689 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.2145, allocations: 47.48 kB / 0.689 GB, free: 11.06 MB / 494.1 MB Notification: Performance of pre-optimization done (n=83): time 2.635e-06/0.2145, allocations: 3.938 kB / 0.689 GB, free: 11.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=83): time 0.02558/0.2401, allocations: 6.381 MB / 0.6953 GB, free: 4.668 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/0.2401, allocations: 64.34 kB / 0.6953 GB, free: 4.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.2415, allocations: 0.7946 MB / 0.6961 GB, free: 3.785 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001821/0.2416, allocations: 37.7 kB / 0.6961 GB, free: 3.742 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003919/0.242, allocations: 437.1 kB / 0.6965 GB, free: 3.309 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004651/0.2425, allocations: 321.3 kB / 0.6969 GB, free: 2.992 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004484/0.2429, allocations: 186.9 kB / 0.697 GB, free: 2.801 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.2431, allocations: 345.9 kB / 0.6974 GB, free: 2.457 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/0.2446, allocations: 0.6624 MB / 0.698 GB, free: 1.797 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/0.2463, allocations: 0.7835 MB / 0.6988 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2853/0.5315, allocations: 4.621 MB / 0.7033 GB, free: 32.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.5315, allocations: 2.469 kB / 0.7033 GB, free: 32.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01387/0.5454, allocations: 4.046 MB / 0.7072 GB, free: 32.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.5454, allocations: 6 kB / 0.7072 GB, free: 32.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.5455, allocations: 3.344 kB / 0.7072 GB, free: 32.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006301/0.5518, allocations: 1.734 MB / 0.7089 GB, free: 32.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.5528, allocations: 189.3 kB / 0.7091 GB, free: 32.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02119/0.574, allocations: 8.959 MB / 0.7179 GB, free: 29.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.5753, allocations: 159.8 kB / 0.718 GB, free: 29.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.5754, allocations: 36.42 kB / 0.7181 GB, free: 29.23 MB / 494.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003988/0.5758, allocations: 227.9 kB / 0.7183 GB, free: 29.04 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.576, allocations: 108.2 kB / 0.7184 GB, free: 28.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01169/0.5876, allocations: 3.781 MB / 0.7221 GB, free: 28.15 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/0.5877, allocations: 8.969 kB / 0.7221 GB, free: 28.15 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5877, allocations: 2.75 kB / 0.7221 GB, free: 28.15 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/0.5877, allocations: 7.781 kB / 0.7221 GB, free: 28.14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/0.6011, allocations: 5.314 MB / 0.7273 GB, free: 25.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.6011, allocations: 0 / 0.7273 GB, free: 25.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005572/0.6017, allocations: 93.48 kB / 0.7274 GB, free: 25.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005465/0.6072, allocations: 1.74 MB / 0.7291 GB, free: 24.42 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001766/0.6073, allocations: 15.56 kB / 0.7291 GB, free: 24.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01633/0.6237, allocations: 7.956 MB / 0.7369 GB, free: 19.42 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6237, allocations: 0 / 0.7369 GB, free: 19.42 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01298/0.6366, allocations: 4.714 MB / 0.7415 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003314/0.637, allocations: 118.7 kB / 0.7416 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.6371, allocations: 15.61 kB / 0.7416 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008727/0.638, allocations: 95.89 kB / 0.7417 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005363/0.6385, allocations: 210.5 kB / 0.7419 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.838e-05/0.6386, allocations: 23.94 kB / 0.7419 GB, free: 14.78 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005452/0.6391, allocations: 0.5303 MB / 0.7424 GB, free: 14.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6391, allocations: 4 kB / 0.7424 GB, free: 14.24 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001157/0.6403, allocations: 410.8 kB / 0.7428 GB, free: 13.85 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01289/0.6532, allocations: 5.29 MB / 0.748 GB, free: 8.531 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005505/0.6587, allocations: 2.202 MB / 0.7501 GB, free: 6.316 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.6587, allocations: 0 / 0.7501 GB, free: 6.316 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003969/0.6627, allocations: 1.445 MB / 0.7515 GB, free: 4.871 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007191/0.6634, allocations: 76.59 kB / 0.7516 GB, free: 4.793 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03538/0.6988, allocations: 14.14 MB / 0.7654 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007452/0.6995, allocations: 1.033 MB / 0.7664 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003641/0.6999, allocations: 74.31 kB / 0.7665 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005239/0.7004, allocations: 375.3 kB / 0.7669 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of SimCode: time 1.242e-06/0.7004, allocations: 0 / 0.7669 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08334/0.7837, allocations: 32.14 MB / 0.7982 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.77/17.55, allocations: 0 / 0.7982 GB, free: 5.023 MB / 0.5294 GB " [Timeout remaining time 642] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.089328217087314] Failed to read output from testmodel.py, exit status != 0: 17.680748048936948 17.696893693 17.508403002 Calling exit ...