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.0008142/0.0008142, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.291/1.291, allocations: 223.3 MB / 239 MB, free: 5.43 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.0009332/0.0009335, allocations: 172.5 kB / 290.3 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4441/0.4441, allocations: 78.55 MB / 419.9 MB, free: 4.262 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003588, allocations: 16 kB / 499.8 MB, free: 6.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1279, allocations: 69.36 MB / 0.5558 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.2264/0.3544, allocations: 5.859 MB / 0.5615 GB, free: 37.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003474/0.3579, allocations: 1.877 MB / 0.5634 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006929/0.3586, allocations: 17.47 kB / 0.5634 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005861/0.3592, allocations: 168 kB / 0.5635 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001548/0.3608, allocations: 0.6008 MB / 0.5641 GB, free: 36.74 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.001204/0.362, allocations: 0.5538 MB / 0.5647 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00129/0.3633, allocations: 1.313 MB / 0.5659 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003989/0.3637, allocations: 253.2 kB / 0.5662 GB, free: 36.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005905/0.3643, allocations: 0.5114 MB / 0.5667 GB, free: 36.17 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006222/0.3649, allocations: 0.6371 MB / 0.5673 GB, free: 36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.365, allocations: 52 kB / 0.5674 GB, free: 36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000395/0.3654, allocations: 177.2 kB / 0.5675 GB, free: 35.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.3656, allocations: 219.7 kB / 0.5677 GB, free: 35.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.3658, allocations: 218.5 kB / 0.5679 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008932/0.3667, allocations: 1.133 MB / 0.5691 GB, free: 35.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3667, allocations: 1.125 kB / 0.5691 GB, free: 35.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3667, allocations: 1.812 kB / 0.5691 GB, free: 35.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.967e-05/0.3668, allocations: 1.219 kB / 0.5691 GB, free: 35.64 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.006303/0.3731, allocations: 2.375 MB / 0.5714 GB, free: 34.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.3731, allocations: 9.125 kB / 0.5714 GB, free: 34.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004542/0.3777, allocations: 0.7821 MB / 0.5721 GB, free: 34.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.3792, allocations: 0.7777 MB / 0.5729 GB, free: 34.35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000231/0.3794, allocations: 265.2 kB / 0.5732 GB, free: 34.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.3796, allocations: 84.95 kB / 0.5732 GB, free: 34.15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/0.3816, allocations: 1.192 MB / 0.5744 GB, free: 34.06 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.3817, allocations: 0 / 0.5744 GB, free: 34.06 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.719e-05/0.3818, allocations: 35.83 kB / 0.5744 GB, free: 34.06 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.3818, allocations: 16.03 kB / 0.5745 GB, free: 34.06 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002144/0.3839, allocations: 1.171 MB / 0.5756 GB, free: 33.87 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.005035/0.389, allocations: 3.514 MB / 0.579 GB, free: 31.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/0.3908, allocations: 1.541 MB / 0.5805 GB, free: 30.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.3921, allocations: 0.8188 MB / 0.5813 GB, free: 30.65 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/0.3922, allocations: 16.91 kB / 0.5814 GB, free: 30.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.3922, allocations: 42.5 kB / 0.5814 GB, free: 30.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.334e-06/0.3922, allocations: 0 / 0.5814 GB, free: 30.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02363/0.4159, allocations: 8.048 MB / 0.5893 GB, free: 29.19 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.416, allocations: 86.95 kB / 0.5893 GB, free: 29.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/0.4174, allocations: 0.9335 MB / 0.5902 GB, free: 28.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000296/0.4178, allocations: 40.52 kB / 0.5903 GB, free: 28.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000324/0.4181, allocations: 483.1 kB / 0.5907 GB, free: 28.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003886/0.4185, allocations: 325.7 kB / 0.5911 GB, free: 28.03 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.393e-05/0.4186, allocations: 24.22 kB / 0.5911 GB, free: 28.01 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.573e-05/0.4187, allocations: 349 kB / 0.5914 GB, free: 27.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/0.4203, allocations: 0.7758 MB / 0.5922 GB, free: 27.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/0.4222, allocations: 0.9071 MB / 0.5931 GB, free: 27.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/0.4238, allocations: 0.828 MB / 0.5939 GB, free: 26.72 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.4238, allocations: 2 kB / 0.5939 GB, free: 26.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01366/0.4375, allocations: 5.14 MB / 0.5989 GB, free: 25.58 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.077e-05/0.4376, allocations: 152.4 kB / 0.599 GB, free: 25.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.4376, allocations: 2.562 kB / 0.599 GB, free: 25.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006261/0.4439, allocations: 2.094 MB / 0.6011 GB, free: 25.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.445, allocations: 203 kB / 0.6013 GB, free: 25.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01982/0.4648, allocations: 9.519 MB / 0.6106 GB, free: 20.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/0.4663, allocations: 221.4 kB / 0.6108 GB, free: 20.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.4665, allocations: 40.3 kB / 0.6108 GB, free: 20.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/0.4665, allocations: 4 kB / 0.6108 GB, free: 20.8 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01185/0.4783, allocations: 4.978 MB / 0.6157 GB, free: 16.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.4784, allocations: 0 / 0.6157 GB, free: 16.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00535/0.4837, allocations: 2.1 MB / 0.6177 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008736/0.4847, allocations: 195.8 kB / 0.6179 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01695/0.5016, allocations: 9.506 MB / 0.6272 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.503, allocations: 199.1 kB / 0.6274 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.5032, allocations: 41.3 kB / 0.6274 GB, free: 4.348 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.0005268/0.5037, allocations: 329.9 kB / 0.6277 GB, free: 4.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.5039, allocations: 114.5 kB / 0.6279 GB, free: 3.906 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01143/0.5153, allocations: 4.858 MB / 0.6326 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.5154, allocations: 8 kB / 0.6326 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.5154, allocations: 4 kB / 0.6326 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.427e-05/0.5154, allocations: 7.938 kB / 0.6326 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01439/0.5298, allocations: 6.459 MB / 0.6389 GB, free: 8.418 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/0.5299, allocations: 3.984 kB / 0.6389 GB, free: 8.414 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006441/0.5305, allocations: 113.3 kB / 0.639 GB, free: 8.305 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005682/0.5362, allocations: 2.053 MB / 0.641 GB, free: 6.246 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002002/0.5365, allocations: 17.97 kB / 0.6411 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01681/0.5533, allocations: 8.203 MB / 0.6491 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5533, allocations: 4 kB / 0.6491 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01453/0.5679, allocations: 5.845 MB / 0.6548 GB, free: 8.023 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004614/0.5684, allocations: 211.4 kB / 0.655 GB, free: 7.797 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/0.5686, allocations: 20 kB / 0.655 GB, free: 7.777 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009985/0.5696, allocations: 151.9 kB / 0.6551 GB, free: 7.629 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006011/0.5702, allocations: 201.6 kB / 0.6553 GB, free: 7.434 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.891e-05/0.5703, allocations: 20 kB / 0.6554 GB, free: 7.414 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009178/0.5712, allocations: 0.6391 MB / 0.656 GB, free: 6.766 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5712, allocations: 0 / 0.656 GB, free: 6.766 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001955/0.5732, allocations: 0.6944 MB / 0.6567 GB, free: 6.07 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.0002664/0.5735, allocations: 124.6 kB / 0.6568 GB, free: 5.941 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01084/0.5843, allocations: 4.627 MB / 0.6613 GB, free: 1.301 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.5843, allocations: 4.125 kB / 0.6613 GB, free: 1.297 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004378/0.5887, allocations: 1.742 MB / 0.663 GB, free: 15.54 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008599/0.5896, allocations: 99.33 kB / 0.6631 GB, free: 15.45 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003835/0.5935, allocations: 2.503 MB / 0.6655 GB, free: 12.95 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006091/0.5941, allocations: 1.109 MB / 0.6666 GB, free: 11.81 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004873/0.5946, allocations: 124.8 kB / 0.6667 GB, free: 11.69 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.5948, allocations: 59.42 kB / 0.6668 GB, free: 11.63 MB / 478.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5948, allocations: 0 / 0.6668 GB, free: 11.63 MB / 478.1 MB Notification: Performance of Templates: time 0.03773/0.6325, allocations: 27.25 MB / 0.6934 GB, free: 0.5391 MB / 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: