Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001523/0.001523, allocations: 104.7 kB / 16.27 MB, free: 5.977 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.416/1.416, allocations: 222.9 MB / 239.9 MB, free: 4.633 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.001842/0.001842, allocations: 196.4 kB / 290.2 MB, free: 2.344 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5541/0.5541, allocations: 92.61 MB / 433 MB, free: 8.609 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 75.88 kB / 0.5034 GB, free: 6.945 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.376, allocations: 71.41 MB / 0.5731 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.005658/0.3817, allocations: 6.388 MB / 0.5793 GB, free: 32.61 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003711/0.3854, allocations: 1.982 MB / 0.5813 GB, free: 31.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007871/0.3862, allocations: 15.09 kB / 0.5813 GB, free: 31.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007059/0.3869, allocations: 237.2 kB / 0.5815 GB, free: 31.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001764/0.3888, allocations: 0.7231 MB / 0.5822 GB, free: 30.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.3901, allocations: 0.6669 MB / 0.5829 GB, free: 30.26 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001255/0.3914, allocations: 1.459 MB / 0.5843 GB, free: 29.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004095/0.3918, allocations: 314.8 kB / 0.5846 GB, free: 29.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007217/0.3925, allocations: 0.593 MB / 0.5852 GB, free: 29.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006364/0.3932, allocations: 0.7233 MB / 0.5859 GB, free: 28.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.3933, allocations: 100.7 kB / 0.586 GB, free: 28.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004698/0.3938, allocations: 242.1 kB / 0.5862 GB, free: 28.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.394, allocations: 288.1 kB / 0.5865 GB, free: 28.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000387/0.3944, allocations: 0.6113 MB / 0.5871 GB, free: 28.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.3956, allocations: 1.524 MB / 0.5886 GB, free: 27.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3956, allocations: 0 / 0.5886 GB, free: 27.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3957, allocations: 0 / 0.5886 GB, free: 27.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.034e-05/0.3957, allocations: 0 / 0.5886 GB, free: 27.41 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.008155/0.4038, allocations: 2.538 MB / 0.591 GB, free: 26.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.4039, allocations: 8.406 kB / 0.591 GB, free: 26.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004931/0.4088, allocations: 0.7725 MB / 0.5918 GB, free: 26.1 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/0.4103, allocations: 0.8169 MB / 0.5926 GB, free: 25.53 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002585/0.4106, allocations: 254.9 kB / 0.5928 GB, free: 25.31 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.4108, allocations: 73.62 kB / 0.5929 GB, free: 25.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002196/0.413, allocations: 1.121 MB / 0.594 GB, free: 24.87 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.413, allocations: 3.938 kB / 0.594 GB, free: 24.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.376e-05/0.4131, allocations: 31.41 kB / 0.594 GB, free: 24.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.4131, allocations: 17.31 kB / 0.594 GB, free: 24.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002287/0.4154, allocations: 1.07 MB / 0.5951 GB, free: 24.5 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.006232/0.4217, allocations: 3.503 MB / 0.5985 GB, free: 22.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/0.4238, allocations: 1.432 MB / 0.5999 GB, free: 21.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001507/0.4253, allocations: 0.7497 MB / 0.6006 GB, free: 21.28 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.616e-05/0.4255, allocations: 16.17 kB / 0.6007 GB, free: 21.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.4255, allocations: 43.88 kB / 0.6007 GB, free: 21.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.995e-06/0.4255, allocations: 0 / 0.6007 GB, free: 21.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02635/0.4518, allocations: 6.506 MB / 0.6071 GB, free: 19.99 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.4519, allocations: 88.56 kB / 0.6071 GB, free: 19.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.4534, allocations: 0.9404 MB / 0.6081 GB, free: 19.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002631/0.4537, allocations: 43.89 kB / 0.6081 GB, free: 19.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003166/0.454, allocations: 492 kB / 0.6086 GB, free: 19.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003533/0.4544, allocations: 317 kB / 0.6089 GB, free: 18.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004103/0.4548, allocations: 204.8 kB / 0.6091 GB, free: 18.72 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.502e-05/0.4549, allocations: 349.5 kB / 0.6094 GB, free: 18.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/0.4565, allocations: 0.7151 MB / 0.6101 GB, free: 18.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/0.4582, allocations: 0.8383 MB / 0.6109 GB, free: 17.76 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0187/0.4769, allocations: 4.728 MB / 0.6155 GB, free: 16.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.4769, allocations: 3.938 kB / 0.6155 GB, free: 16.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01311/0.4901, allocations: 4.221 MB / 0.6197 GB, free: 13.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.4901, allocations: 12 kB / 0.6197 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.4901, allocations: 0 / 0.6197 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00552/0.4957, allocations: 1.71 MB / 0.6213 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.4968, allocations: 215.7 kB / 0.6215 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01869/0.5155, allocations: 9.046 MB / 0.6304 GB, free: 2.496 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.5172, allocations: 182.8 kB / 0.6306 GB, free: 2.316 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.5174, allocations: 47.92 kB / 0.6306 GB, free: 2.27 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00167/0.519, allocations: 0.8664 MB / 0.6314 GB, free: 1.398 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001361/0.5204, allocations: 0.8267 MB / 0.6323 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01871/0.5391, allocations: 4.69 MB / 0.6368 GB, free: 11.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.54e-06/0.5392, allocations: 0 / 0.6368 GB, free: 11.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=145) (initialization_lambda0): time 0.01416/0.5533, allocations: 4.199 MB / 0.6409 GB, free: 7.605 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.5534, allocations: 7.938 kB / 0.6409 GB, free: 7.598 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.5534, allocations: 4 kB / 0.6409 GB, free: 7.594 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006207/0.5596, allocations: 1.726 MB / 0.6426 GB, free: 5.863 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.5608, allocations: 199.7 kB / 0.6428 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02211/0.5829, allocations: 9.068 MB / 0.6517 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.5846, allocations: 171.1 kB / 0.6518 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.5848, allocations: 39.92 kB / 0.6519 GB, free: 12.25 MB / 462.1 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-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 (111): * Single equations (assignments): 110 * 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.0003754/0.5852, allocations: 236.6 kB / 0.6521 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/0.5854, allocations: 118.5 kB / 0.6522 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01359/0.599, allocations: 3.939 MB / 0.6561 GB, free: 7.938 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/0.5991, allocations: 12 kB / 0.6561 GB, free: 7.926 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.5991, allocations: 0 / 0.6561 GB, free: 7.926 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.61e-05/0.5991, allocations: 3.984 kB / 0.6561 GB, free: 7.922 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01625/0.6154, allocations: 5.574 MB / 0.6615 GB, free: 2.211 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/0.6154, allocations: 7.984 kB / 0.6615 GB, free: 2.203 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006962/0.6161, allocations: 107.8 kB / 0.6616 GB, free: 2.098 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006315/0.6225, allocations: 1.741 MB / 0.6633 GB, free: 360 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002301/0.6227, allocations: 16 kB / 0.6633 GB, free: 344 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02016/0.6429, allocations: 8.06 MB / 0.6712 GB, free: 8.129 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.6429, allocations: 3.938 kB / 0.6712 GB, free: 8.125 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01621/0.6592, allocations: 4.86 MB / 0.676 GB, free: 3.242 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000496/0.6597, allocations: 207.4 kB / 0.6762 GB, free: 3.02 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/0.6599, allocations: 23.92 kB / 0.6762 GB, free: 2.996 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.6611, allocations: 107.9 kB / 0.6763 GB, free: 2.891 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006684/0.6617, allocations: 208.6 kB / 0.6765 GB, free: 2.688 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-05/0.6618, allocations: 16 kB / 0.6765 GB, free: 2.672 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001019/0.6629, allocations: 0.6391 MB / 0.6771 GB, free: 2.023 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6629, allocations: 0 / 0.6771 GB, free: 2.023 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002034/0.6649, allocations: 0.7023 MB / 0.6778 GB, free: 1.32 MB / 478.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 (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.0002922/0.6652, allocations: 123.2 kB / 0.6779 GB, free: 1.188 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01299/0.6782, allocations: 4.162 MB / 0.682 GB, free: 13 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.6783, allocations: 3.938 kB / 0.682 GB, free: 13 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005228/0.6835, allocations: 1.554 MB / 0.6835 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.6846, allocations: 96.3 kB / 0.6836 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004841/0.6895, allocations: 2.191 MB / 0.6858 GB, free: 9.113 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008779/0.6904, allocations: 1.109 MB / 0.6868 GB, free: 7.977 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003562/0.6907, allocations: 67.44 kB / 0.6869 GB, free: 7.91 MB / 494.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6907, allocations: 0 / 0.6869 GB, free: 7.91 MB / 494.1 MB Notification: Performance of Templates: time 0.03267/0.7234, allocations: 20.98 MB / 0.7074 GB, free: 2.922 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)