Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07647/0.07647, allocations: 12.77 MB / 30.27 MB, free: 5.77 MB / 26.18 MB " [Timeout remaining time 180] 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.001347/0.001347, allocations: 119.5 kB / 36.29 MB, free: 428 kB / 26.18 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.537/1.537, allocations: 207.6 MB / 249.8 MB, free: 7.234 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.001607/0.001607, allocations: 196.4 kB / 304.9 MB, free: 428 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3197/0.3197, allocations: 79.73 MB / 439.7 MB, free: 12.51 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003939/0.003939, allocations: 146.1 kB / 0.5863 GB, free: 9.434 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1622, allocations: 72 MB / 0.6567 GB, free: 1.363 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.3088/0.471, allocations: 5.884 MB / 0.6624 GB, free: 7.645 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004016/0.475, allocations: 1.722 MB / 0.6641 GB, free: 6.902 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006049/0.4756, allocations: 12.91 kB / 0.6641 GB, free: 6.898 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006024/0.4762, allocations: 207.4 kB / 0.6643 GB, free: 6.797 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.4779, allocations: 0.7298 MB / 0.665 GB, free: 6.449 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.0013/0.4792, allocations: 0.5753 MB / 0.6656 GB, free: 6.34 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001434/0.4807, allocations: 1.253 MB / 0.6668 GB, free: 5.805 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003787/0.481, allocations: 185.5 kB / 0.667 GB, free: 5.699 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006605/0.4817, allocations: 0.5224 MB / 0.6675 GB, free: 5.441 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006377/0.4823, allocations: 0.6499 MB / 0.6681 GB, free: 5.125 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.4825, allocations: 87.59 kB / 0.6682 GB, free: 5.125 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005099/0.483, allocations: 227.2 kB / 0.6684 GB, free: 5.078 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002394/0.4832, allocations: 249.2 kB / 0.6687 GB, free: 4.914 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004941/0.4837, allocations: 0.5452 MB / 0.6692 GB, free: 4.547 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.4856, allocations: 1.361 MB / 0.6705 GB, free: 3.922 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.836e-06/0.4856, allocations: 4.797 kB / 0.6705 GB, free: 3.918 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4856, allocations: 0.875 kB / 0.6705 GB, free: 3.918 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.647e-05/0.4857, allocations: 0 / 0.6705 GB, free: 3.918 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.00748/0.4931, allocations: 2.378 MB / 0.6728 GB, free: 2.809 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.4932, allocations: 8.5 kB / 0.6728 GB, free: 2.809 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004691/0.4979, allocations: 0.7614 MB / 0.6736 GB, free: 2.66 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.4992, allocations: 0.7242 MB / 0.6743 GB, free: 2.141 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002564/0.4994, allocations: 248.6 kB / 0.6745 GB, free: 1.926 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.4996, allocations: 69.56 kB / 0.6746 GB, free: 1.902 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/0.5017, allocations: 0.9638 MB / 0.6755 GB, free: 1.547 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.5017, allocations: 3.938 kB / 0.6755 GB, free: 1.543 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.271e-05/0.5018, allocations: 25.64 kB / 0.6756 GB, free: 1.523 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.5018, allocations: 17.38 kB / 0.6756 GB, free: 1.523 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/0.5039, allocations: 0.9749 MB / 0.6765 GB, free: 1.207 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.005777/0.5097, allocations: 3.172 MB / 0.6796 GB, free: 15.35 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002191/0.5118, allocations: 1.232 MB / 0.6808 GB, free: 14.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.5133, allocations: 0.6268 MB / 0.6815 GB, free: 14.28 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/0.5134, allocations: 19.39 kB / 0.6815 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/0.5134, allocations: 48.06 kB / 0.6815 GB, free: 14.21 MB / 478.1 MB Notification: Performance of pre-optimization done (n=83): time 3.326e-06/0.5134, allocations: 0 / 0.6815 GB, free: 14.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=83): time 0.02585/0.5393, allocations: 6.448 MB / 0.6878 GB, free: 11.87 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.5393, allocations: 61.09 kB / 0.6879 GB, free: 11.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.5406, allocations: 0.7937 MB / 0.6886 GB, free: 11.36 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002407/0.5409, allocations: 41.36 kB / 0.6887 GB, free: 11.31 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003676/0.5413, allocations: 438.7 kB / 0.6891 GB, free: 10.93 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004125/0.5417, allocations: 310.3 kB / 0.6894 GB, free: 10.66 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005102/0.5422, allocations: 191.7 kB / 0.6896 GB, free: 10.54 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002515/0.5424, allocations: 342.3 kB / 0.6899 GB, free: 10.2 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/0.544, allocations: 0.6638 MB / 0.6906 GB, free: 9.871 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001658/0.5457, allocations: 0.7771 MB / 0.6913 GB, free: 9.422 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01811/0.5638, allocations: 4.529 MB / 0.6957 GB, free: 7.191 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.988e-06/0.5638, allocations: 1.344 kB / 0.6957 GB, free: 7.191 MB / 478.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01393/0.5777, allocations: 4.043 MB / 0.6997 GB, free: 5.215 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/0.5778, allocations: 5.75 kB / 0.6997 GB, free: 5.215 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.5778, allocations: 6.375 kB / 0.6997 GB, free: 5.211 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006221/0.584, allocations: 1.736 MB / 0.7014 GB, free: 4.465 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.5851, allocations: 189.5 kB / 0.7016 GB, free: 4.418 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02264/0.6077, allocations: 9.058 MB / 0.7104 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/0.6094, allocations: 155.3 kB / 0.7106 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002818/0.6096, allocations: 36.67 kB / 0.7106 GB, free: 11.73 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.0006824/0.6103, allocations: 229.6 kB / 0.7108 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003437/0.6107, allocations: 111.3 kB / 0.7109 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01304/0.6237, allocations: 3.778 MB / 0.7146 GB, free: 7.598 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/0.6237, allocations: 11.94 kB / 0.7146 GB, free: 7.586 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.6237, allocations: 3.984 kB / 0.7146 GB, free: 7.582 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.184e-05/0.6238, allocations: 5.953 kB / 0.7146 GB, free: 7.578 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0158/0.6396, allocations: 5.337 MB / 0.7199 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.6396, allocations: 0 / 0.7199 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006233/0.6402, allocations: 97.69 kB / 0.7199 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006069/0.6463, allocations: 1.745 MB / 0.7217 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001976/0.6465, allocations: 16 kB / 0.7217 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01913/0.6656, allocations: 8.05 MB / 0.7295 GB, free: 8.059 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.6656, allocations: 0 / 0.7295 GB, free: 8.059 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01481/0.6804, allocations: 4.709 MB / 0.7341 GB, free: 3.324 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005328/0.6809, allocations: 196.2 kB / 0.7343 GB, free: 3.113 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000381/0.6813, allocations: 15.94 kB / 0.7343 GB, free: 3.102 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.6826, allocations: 91.89 kB / 0.7344 GB, free: 3.012 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009298/0.6835, allocations: 212.5 kB / 0.7346 GB, free: 2.805 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/0.6836, allocations: 16 kB / 0.7346 GB, free: 2.789 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.001072/0.6847, allocations: 0.5303 MB / 0.7352 GB, free: 2.262 MB / 0.4982 GB Notification: Performance of sort global known variables: time 9e-08/0.6847, allocations: 0 / 0.7352 GB, free: 2.262 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.002501/0.6872, allocations: 407.7 kB / 0.7355 GB, free: 1.863 MB / 0.4982 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.000484/0.6877, allocations: 143 kB / 0.7357 GB, free: 1.715 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.006849/0.6945, allocations: 2.201 MB / 0.7378 GB, free: 15.5 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.6945, allocations: 3.938 kB / 0.7378 GB, free: 15.5 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.004744/0.6993, allocations: 1.448 MB / 0.7392 GB, free: 14.04 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.7004, allocations: 79.28 kB / 0.7393 GB, free: 13.96 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004277/0.7047, allocations: 1.817 MB / 0.7411 GB, free: 12.14 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008105/0.7055, allocations: 1.037 MB / 0.7421 GB, free: 11.07 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.0003527/0.7058, allocations: 78.31 kB / 0.7422 GB, free: 11 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.706, allocations: 55.44 kB / 0.7422 GB, free: 10.94 MB / 0.5138 GB Notification: Performance of SimCode: time 1.613e-06/0.706, allocations: 0 / 0.7422 GB, free: 10.94 MB / 0.5138 GB Notification: Performance of Templates: time 0.04222/0.7483, allocations: 23.17 MB / 0.7649 GB, free: 3.762 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.668371858075261]