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/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) 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/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09112/0.09112, allocations: 12.2 MB / 27.47 MB, free: 0.9336 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007951/0.0007953, allocations: 95.53 kB / 30.99 MB, free: 4.535 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.4 MB / 239.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001043, allocations: 180.5 kB / 291 MB, free: 13.3 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4604/0.4604, allocations: 78.53 MB / 420.5 MB, free: 48.62 MB / 334.1 MB 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.0009422/0.0009421, allocations: 32.41 kB / 0.4901 GB, free: 2.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3512, allocations: 69.22 MB / 0.5577 GB, free: 44.14 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.005736/0.357, allocations: 5.74 MB / 0.5633 GB, free: 42 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003827/0.3609, allocations: 1.742 MB / 0.565 GB, free: 40.78 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.3622, allocations: 10.53 kB / 0.565 GB, free: 40.78 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005919/0.3628, allocations: 155.5 kB / 0.5652 GB, free: 40.72 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002253/0.365, allocations: 0.6128 MB / 0.5658 GB, free: 40.32 MB / 430.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.001401/0.3664, allocations: 0.5309 MB / 0.5663 GB, free: 40.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001705/0.3682, allocations: 1.196 MB / 0.5674 GB, free: 39.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003642/0.3685, allocations: 235 kB / 0.5677 GB, free: 39.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005241/0.3691, allocations: 479.3 kB / 0.5681 GB, free: 39.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005311/0.3696, allocations: 0.5887 MB / 0.5687 GB, free: 38.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.3697, allocations: 47.44 kB / 0.5687 GB, free: 38.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004223/0.3701, allocations: 173.6 kB / 0.5689 GB, free: 38.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.3703, allocations: 199.1 kB / 0.5691 GB, free: 38.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003772/0.3707, allocations: 0.5244 MB / 0.5696 GB, free: 38.33 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009999/0.3717, allocations: 1.28 MB / 0.5709 GB, free: 37.83 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3717, allocations: 0 / 0.5709 GB, free: 37.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3717, allocations: 0 / 0.5709 GB, free: 37.83 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.3717, allocations: 0 / 0.5709 GB, free: 37.83 MB / 430.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.006484/0.3782, allocations: 2.192 MB / 0.573 GB, free: 36.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3783, allocations: 15.14 kB / 0.573 GB, free: 36.87 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004608/0.3829, allocations: 0.7685 MB / 0.5738 GB, free: 36.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00091/0.3838, allocations: 0.6958 MB / 0.5744 GB, free: 36.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002425/0.384, allocations: 261.2 kB / 0.5747 GB, free: 36.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.3842, allocations: 71.38 kB / 0.5748 GB, free: 35.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.3861, allocations: 1.033 MB / 0.5758 GB, free: 35.63 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.3862, allocations: 3.938 kB / 0.5758 GB, free: 35.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.455e-05/0.3863, allocations: 25.44 kB / 0.5758 GB, free: 35.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.3863, allocations: 24 kB / 0.5758 GB, free: 35.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00202/0.3883, allocations: 1.066 MB / 0.5769 GB, free: 35.27 MB / 430.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.004518/0.3928, allocations: 3.235 MB / 0.58 GB, free: 33.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/0.3946, allocations: 1.387 MB / 0.5814 GB, free: 32.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/0.3959, allocations: 0.7881 MB / 0.5821 GB, free: 32.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.892e-05/0.396, allocations: 12.84 kB / 0.5822 GB, free: 32.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.396, allocations: 42.56 kB / 0.5822 GB, free: 32.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.275e-06/0.396, allocations: 0 / 0.5822 GB, free: 32.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02597/0.422, allocations: 8.063 MB / 0.5901 GB, free: 30.78 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.4221, allocations: 60.5 kB / 0.5901 GB, free: 30.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.4232, allocations: 0.7916 MB / 0.5909 GB, free: 30.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001786/0.4234, allocations: 40.92 kB / 0.5909 GB, free: 30.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.4237, allocations: 433.2 kB / 0.5914 GB, free: 30 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003489/0.4241, allocations: 297.3 kB / 0.5916 GB, free: 29.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.4243, allocations: 104.5 kB / 0.5917 GB, free: 29.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.397e-05/0.4243, allocations: 344.6 kB / 0.5921 GB, free: 29.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/0.4261, allocations: 0.7421 MB / 0.5928 GB, free: 29.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001672/0.4277, allocations: 0.8596 MB / 0.5936 GB, free: 28.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01946/0.4472, allocations: 5.018 MB / 0.5985 GB, free: 27.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.4473, allocations: 0 / 0.5985 GB, free: 27.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01589/0.4632, allocations: 4.993 MB / 0.6034 GB, free: 26.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.4632, allocations: 6.188 kB / 0.6034 GB, free: 26.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.4632, allocations: 2.219 kB / 0.6034 GB, free: 26.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006881/0.4701, allocations: 2.052 MB / 0.6054 GB, free: 25.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009972/0.4712, allocations: 199.1 kB / 0.6056 GB, free: 25.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0204/0.4916, allocations: 9.312 MB / 0.6147 GB, free: 17.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.4931, allocations: 191 kB / 0.6149 GB, free: 17.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/0.4932, allocations: 43.98 kB / 0.6149 GB, free: 17.23 MB / 430.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.0004723/0.4937, allocations: 226.6 kB / 0.6151 GB, free: 17 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/0.4939, allocations: 106.6 kB / 0.6152 GB, free: 16.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01322/0.5072, allocations: 4.727 MB / 0.6199 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.5072, allocations: 8 kB / 0.6199 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.5072, allocations: 0 / 0.6199 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.906e-05/0.5073, allocations: 3.984 kB / 0.6199 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01508/0.5223, allocations: 6.297 MB / 0.626 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.5224, allocations: 4 kB / 0.626 GB, free: 5.707 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005309/0.5229, allocations: 95.89 kB / 0.6261 GB, free: 5.613 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006028/0.529, allocations: 2.058 MB / 0.6281 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001465/0.5291, allocations: 15.98 kB / 0.6281 GB, free: 3.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01836/0.5475, allocations: 8.204 MB / 0.6362 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5475, allocations: 4 kB / 0.6362 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01614/0.5637, allocations: 5.723 MB / 0.6417 GB, free: 5.438 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003424/0.5641, allocations: 195.6 kB / 0.6419 GB, free: 5.227 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002404/0.5643, allocations: 12 kB / 0.6419 GB, free: 5.215 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.5654, allocations: 127.9 kB / 0.6421 GB, free: 5.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006014/0.5661, allocations: 196.8 kB / 0.6423 GB, free: 4.898 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.709e-05/0.5661, allocations: 19.98 kB / 0.6423 GB, free: 4.879 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006588/0.5668, allocations: 0.5342 MB / 0.6428 GB, free: 4.348 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5668, allocations: 0 / 0.6428 GB, free: 4.348 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001276/0.5681, allocations: 407.6 kB / 0.6432 GB, free: 3.949 MB / 446.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.0002622/0.5684, allocations: 125 kB / 0.6433 GB, free: 3.816 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007221/0.5756, allocations: 2.572 MB / 0.6458 GB, free: 1.234 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.5756, allocations: 0.5625 kB / 0.6458 GB, free: 1.234 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005026/0.5807, allocations: 1.7 MB / 0.6475 GB, free: 15.52 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.5817, allocations: 80.16 kB / 0.6476 GB, free: 15.44 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003544/0.5853, allocations: 2.224 MB / 0.6497 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005985/0.5859, allocations: 1.037 MB / 0.6507 GB, free: 12.14 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003297/0.5862, allocations: 82.31 kB / 0.6508 GB, free: 12.05 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/0.5865, allocations: 51.42 kB / 0.6509 GB, free: 12 MB / 462.1 MB Notification: Performance of SimCode: time 8.41e-07/0.5865, allocations: 0 / 0.6509 GB, free: 12 MB / 462.1 MB Notification: Performance of Templates: time 0.03121/0.6177, allocations: 19.47 MB / 0.6699 GB, free: 8.539 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: