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.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.001499/0.001499, allocations: 97.69 kB / 19.59 MB, free: 2.336 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.482/1.482, allocations: 225.6 MB / 248.2 MB, free: 3.102 MB / 190.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.001578/0.001578, allocations: 191.8 kB / 303.6 MB, free: 3.453 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.351/0.351, allocations: 79.73 MB / 438.6 MB, free: 7.059 MB / 366.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.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002703/0.002703, allocations: 87.86 kB / 0.5843 GB, free: 7.762 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4529/0.4556, allocations: 72.12 MB / 0.6548 GB, free: 18.4 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.005215/0.4608, allocations: 5.804 MB / 0.6604 GB, free: 14.18 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003388/0.4642, allocations: 1.774 MB / 0.6622 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006592/0.4649, allocations: 9.719 kB / 0.6622 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00053/0.4654, allocations: 198 kB / 0.6624 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001654/0.4671, allocations: 0.7388 MB / 0.6631 GB, free: 12.32 MB / 462.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.001271/0.4684, allocations: 0.5574 MB / 0.6636 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00163/0.47, allocations: 1.262 MB / 0.6649 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003605/0.4703, allocations: 195.3 kB / 0.665 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008421/0.4712, allocations: 0.5358 MB / 0.6656 GB, free: 11.01 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007356/0.4719, allocations: 0.6499 MB / 0.6662 GB, free: 10.7 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.4721, allocations: 90.62 kB / 0.6663 GB, free: 10.69 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005034/0.4726, allocations: 224.8 kB / 0.6665 GB, free: 10.65 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.4728, allocations: 241.6 kB / 0.6667 GB, free: 10.49 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003943/0.4731, allocations: 0.5437 MB / 0.6673 GB, free: 10.12 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.4747, allocations: 1.354 MB / 0.6686 GB, free: 9.504 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4747, allocations: 0 / 0.6686 GB, free: 9.504 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4747, allocations: 1.219 kB / 0.6686 GB, free: 9.504 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.4748, allocations: 0 / 0.6686 GB, free: 9.504 MB / 462.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.007445/0.4822, allocations: 2.32 MB / 0.6708 GB, free: 8.184 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.4823, allocations: 14.05 kB / 0.6709 GB, free: 8.18 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00488/0.4871, allocations: 0.7607 MB / 0.6716 GB, free: 7.867 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.4884, allocations: 0.6562 MB / 0.6722 GB, free: 7.324 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002508/0.4887, allocations: 247.5 kB / 0.6725 GB, free: 7.102 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.4888, allocations: 72.84 kB / 0.6726 GB, free: 7.074 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/0.4907, allocations: 0.9591 MB / 0.6735 GB, free: 6.531 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.4907, allocations: 3.938 kB / 0.6735 GB, free: 6.527 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-05/0.4908, allocations: 33.62 kB / 0.6735 GB, free: 6.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.4908, allocations: 15.66 kB / 0.6735 GB, free: 6.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/0.4928, allocations: 0.9757 MB / 0.6745 GB, free: 6.039 MB / 462.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.005462/0.4983, allocations: 3.102 MB / 0.6775 GB, free: 3.559 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.5, allocations: 0.7805 MB / 0.6783 GB, free: 3.16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.5012, allocations: 0.6339 MB / 0.6789 GB, free: 2.844 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.5013, allocations: 18.28 kB / 0.6789 GB, free: 2.832 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.5014, allocations: 37.88 kB / 0.679 GB, free: 2.789 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 3.076e-06/0.5014, allocations: 0 / 0.679 GB, free: 2.789 MB / 462.1 MB Notification: Performance of matching and sorting (n=83): time 0.02397/0.5253, allocations: 6.368 MB / 0.6852 GB, free: 15.69 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/0.5254, allocations: 61.59 kB / 0.6852 GB, free: 15.62 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.5267, allocations: 0.7928 MB / 0.686 GB, free: 15.17 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002207/0.5269, allocations: 44.73 kB / 0.6861 GB, free: 15.12 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003954/0.5273, allocations: 439 kB / 0.6865 GB, free: 14.74 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003983/0.5277, allocations: 311.7 kB / 0.6868 GB, free: 14.47 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004055/0.5281, allocations: 194.4 kB / 0.687 GB, free: 14.34 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.5283, allocations: 343.4 kB / 0.6873 GB, free: 14.01 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001537/0.5298, allocations: 0.6592 MB / 0.6879 GB, free: 13.68 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/0.5315, allocations: 0.7879 MB / 0.6887 GB, free: 12.94 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01865/0.5502, allocations: 4.52 MB / 0.6931 GB, free: 8.383 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.5502, allocations: 0 / 0.6931 GB, free: 8.383 MB / 478.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01406/0.5642, allocations: 4.063 MB / 0.6971 GB, free: 4.309 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.5643, allocations: 4 kB / 0.6971 GB, free: 4.305 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.5643, allocations: 4 kB / 0.6971 GB, free: 4.301 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006257/0.5705, allocations: 1.725 MB / 0.6988 GB, free: 2.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.5715, allocations: 187.7 kB / 0.6989 GB, free: 2.387 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02285/0.5944, allocations: 8.952 MB / 0.7077 GB, free: 9.305 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.5961, allocations: 159.3 kB / 0.7078 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000225/0.5963, allocations: 35.98 kB / 0.7079 GB, free: 9.113 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.0006533/0.5969, allocations: 228.6 kB / 0.7081 GB, free: 8.883 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003691/0.5973, allocations: 111.3 kB / 0.7082 GB, free: 8.773 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01312/0.6104, allocations: 3.786 MB / 0.7119 GB, free: 4.973 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/0.6104, allocations: 11.94 kB / 0.7119 GB, free: 4.961 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6105, allocations: 0 / 0.7119 GB, free: 4.961 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.489e-05/0.6105, allocations: 7.922 kB / 0.7119 GB, free: 4.953 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01645/0.6269, allocations: 5.309 MB / 0.7171 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/0.6269, allocations: 7.938 kB / 0.7171 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006181/0.6276, allocations: 87.83 kB / 0.7172 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006204/0.6338, allocations: 1.745 MB / 0.7189 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001789/0.6339, allocations: 16 kB / 0.7189 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02008/0.654, allocations: 7.957 MB / 0.7267 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.654, allocations: 0 / 0.7267 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01552/0.6695, allocations: 4.705 MB / 0.7313 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005109/0.6701, allocations: 111.2 kB / 0.7314 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003344/0.6704, allocations: 20 kB / 0.7314 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.6715, allocations: 87.89 kB / 0.7315 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007221/0.6722, allocations: 212.6 kB / 0.7317 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.6723, allocations: 23.98 kB / 0.7317 GB, free: 408 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000908/0.6733, allocations: 0.5342 MB / 0.7322 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.6733, allocations: 0 / 0.7322 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001575/0.6748, allocations: 407.7 kB / 0.7326 GB, free: 15.47 MB / 0.5137 GB 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.0003302/0.6752, allocations: 127.1 kB / 0.7327 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006674/0.6818, allocations: 2.211 MB / 0.7349 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.6818, allocations: 0 / 0.7349 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004683/0.6865, allocations: 1.448 MB / 0.7363 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.6876, allocations: 81.84 kB / 0.7364 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004238/0.6918, allocations: 1.851 MB / 0.7382 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008683/0.6927, allocations: 1.033 MB / 0.7392 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000324/0.693, allocations: 63.44 kB / 0.7393 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of SimCode: time 1.132e-06/0.693, allocations: 4 kB / 0.7393 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of Templates: time 0.02874/0.7218, allocations: 18 MB / 0.7568 GB, free: 6.539 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile [Timeout 660] (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 & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.329897677002009] Failed to read output from testmodel.py, exit status != 0: 0.7320943780068774 0.7469707010000001 0.2689748 Calling exit ...