Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.conf.json 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 4.0.0+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 3.0.1/package.mo", uses=false) 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_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.001031, allocations: 99 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 223.2 MB / 238.9 MB, free: 5.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 185 kB / 290.2 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4664/0.4664, allocations: 78.52 MB / 419.8 MB, free: 4.355 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003768, allocations: 12 kB / 499.6 MB, free: 6.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1336, allocations: 69.37 MB / 0.5557 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.2249/0.3585, allocations: 5.569 MB / 0.5611 GB, free: 37.35 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003521/0.3621, allocations: 1.914 MB / 0.563 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.3632, allocations: 18.97 kB / 0.563 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008202/0.3641, allocations: 163.7 kB / 0.5632 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001877/0.366, allocations: 0.6553 MB / 0.5638 GB, free: 36.95 MB / 430.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.00126/0.3672, allocations: 0.5398 MB / 0.5643 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001241/0.3685, allocations: 0.9352 MB / 0.5652 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003579/0.3688, allocations: 249 kB / 0.5655 GB, free: 36.85 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006062/0.3695, allocations: 0.5167 MB / 0.566 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005943/0.3701, allocations: 0.6172 MB / 0.5666 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.945e-05/0.3702, allocations: 53.5 kB / 0.5666 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003693/0.3706, allocations: 165.5 kB / 0.5668 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001936/0.3708, allocations: 222.1 kB / 0.567 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002077/0.371, allocations: 215.5 kB / 0.5672 GB, free: 36.49 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.372, allocations: 1.094 MB / 0.5683 GB, free: 36.31 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.372, allocations: 0 / 0.5683 GB, free: 36.31 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.372, allocations: 0.6562 kB / 0.5683 GB, free: 36.31 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.3721, allocations: 0 / 0.5683 GB, free: 36.31 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.00693/0.379, allocations: 2.375 MB / 0.5706 GB, free: 35.47 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.379, allocations: 10.5 kB / 0.5706 GB, free: 35.47 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004867/0.3839, allocations: 0.789 MB / 0.5714 GB, free: 35.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.3854, allocations: 0.7634 MB / 0.5721 GB, free: 35.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002581/0.3857, allocations: 275.8 kB / 0.5724 GB, free: 34.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.3859, allocations: 73.47 kB / 0.5725 GB, free: 34.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/0.388, allocations: 1.193 MB / 0.5736 GB, free: 34.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.388, allocations: 0 / 0.5736 GB, free: 34.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.3881, allocations: 34.55 kB / 0.5737 GB, free: 34.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.3881, allocations: 16.88 kB / 0.5737 GB, free: 34.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002187/0.3903, allocations: 1.169 MB / 0.5748 GB, free: 34.4 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.005509/0.3958, allocations: 3.616 MB / 0.5783 GB, free: 32.31 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00197/0.3978, allocations: 1.534 MB / 0.5798 GB, free: 31.35 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.655e-05/0.3979, allocations: 19.5 kB / 0.5799 GB, free: 31.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.398, allocations: 41.34 kB / 0.5799 GB, free: 31.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.026e-06/0.398, allocations: 0 / 0.5799 GB, free: 31.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02482/0.4228, allocations: 8.013 MB / 0.5877 GB, free: 29.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.4229, allocations: 86.83 kB / 0.5878 GB, free: 29.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.4243, allocations: 0.9293 MB / 0.5887 GB, free: 29.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002465/0.4246, allocations: 45.83 kB / 0.5888 GB, free: 29.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002748/0.4249, allocations: 485.1 kB / 0.5892 GB, free: 28.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003308/0.4252, allocations: 324.9 kB / 0.5895 GB, free: 28.72 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.068e-05/0.4253, allocations: 25.19 kB / 0.5896 GB, free: 28.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.041e-05/0.4254, allocations: 349.1 kB / 0.5899 GB, free: 28.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001586/0.427, allocations: 0.7748 MB / 0.5906 GB, free: 28.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001651/0.4286, allocations: 0.9012 MB / 0.5915 GB, free: 27.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/0.4303, allocations: 0.8286 MB / 0.5923 GB, free: 27.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.4303, allocations: 1.438 kB / 0.5923 GB, free: 27.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01479/0.4451, allocations: 5.127 MB / 0.5973 GB, free: 26.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001614/0.4453, allocations: 0.8031 MB / 0.5981 GB, free: 25.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.4453, allocations: 1.344 kB / 0.5981 GB, free: 25.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006671/0.452, allocations: 2.096 MB / 0.6002 GB, free: 25.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.4531, allocations: 202.5 kB / 0.6004 GB, free: 25.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02172/0.4748, allocations: 9.982 MB / 0.6101 GB, free: 20.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/0.4765, allocations: 223.9 kB / 0.6103 GB, free: 20.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.4766, allocations: 40.31 kB / 0.6104 GB, free: 20.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.4766, allocations: 3.672 kB / 0.6104 GB, free: 20.7 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01347/0.4901, allocations: 4.971 MB / 0.6152 GB, free: 16.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/0.4901, allocations: 6.672 kB / 0.6152 GB, free: 16.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005903/0.4961, allocations: 2.1 MB / 0.6173 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009663/0.497, allocations: 187.7 kB / 0.6175 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01897/0.516, allocations: 9.959 MB / 0.6272 GB, free: 4.473 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.5176, allocations: 199.1 kB / 0.6274 GB, free: 4.277 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.5177, allocations: 43.98 kB / 0.6274 GB, free: 4.234 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (109): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.000556/0.5183, allocations: 325.6 kB / 0.6277 GB, free: 3.906 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.5185, allocations: 114.5 kB / 0.6278 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01263/0.5311, allocations: 4.847 MB / 0.6326 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.5312, allocations: 8 kB / 0.6326 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.5312, allocations: 7.938 kB / 0.6326 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.5312, allocations: 7.984 kB / 0.6326 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01556/0.5468, allocations: 6.465 MB / 0.6389 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.5468, allocations: 1.594 kB / 0.6389 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006449/0.5475, allocations: 115.8 kB / 0.639 GB, free: 8.195 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006037/0.5535, allocations: 2.056 MB / 0.641 GB, free: 6.133 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001436/0.5537, allocations: 16 kB / 0.641 GB, free: 6.117 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01847/0.5721, allocations: 8.652 MB / 0.6495 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5722, allocations: 0 / 0.6495 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01586/0.5881, allocations: 5.842 MB / 0.6552 GB, free: 7.465 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004856/0.5886, allocations: 212 kB / 0.6554 GB, free: 7.238 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003955/0.589, allocations: 19.95 kB / 0.6554 GB, free: 7.219 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/0.5904, allocations: 151.9 kB / 0.6556 GB, free: 7.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007027/0.5911, allocations: 204.6 kB / 0.6558 GB, free: 6.871 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/0.5912, allocations: 16 kB / 0.6558 GB, free: 6.855 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001206/0.5925, allocations: 0.6313 MB / 0.6564 GB, free: 6.215 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.5925, allocations: 4 kB / 0.6564 GB, free: 6.211 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002642/0.5951, allocations: 0.6983 MB / 0.6571 GB, free: 5.512 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (TGTypeII1.transferFunction1.x_scaled[1],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 (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003471/0.5955, allocations: 123.2 kB / 0.6572 GB, free: 5.383 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01258/0.6081, allocations: 4.622 MB / 0.6617 GB, free: 0.75 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.6081, allocations: 0.5 kB / 0.6617 GB, free: 0.75 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004712/0.6128, allocations: 1.746 MB / 0.6634 GB, free: 14.99 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007391/0.6136, allocations: 85.59 kB / 0.6635 GB, free: 14.91 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004268/0.6179, allocations: 2.531 MB / 0.666 GB, free: 12.39 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007228/0.6186, allocations: 1.129 MB / 0.6671 GB, free: 11.23 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004882/0.6191, allocations: 117.9 kB / 0.6672 GB, free: 11.11 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.6193, allocations: 63.42 kB / 0.6672 GB, free: 11.05 MB / 478.1 MB Notification: Performance of SimCode: time 9.01e-07/0.6193, allocations: 0 / 0.6672 GB, free: 11.05 MB / 478.1 MB Notification: Performance of Templates: time 0.04025/0.6596, allocations: 27.2 MB / 0.6938 GB, free: 0 / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1) Environment - environmentSimulation: