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.001292/0.001292, allocations: 104.3 kB / 16.27 MB, free: 6.414 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.381/1.381, allocations: 222.9 MB / 239.9 MB, free: 4.637 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.001572/0.001572, allocations: 192.3 kB / 290.2 MB, free: 2.355 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5195/0.5195, allocations: 91.91 MB / 432.3 MB, free: 9.281 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001732, allocations: 75.88 kB / 0.5025 GB, free: 7.762 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3611, allocations: 71.27 MB / 0.5721 GB, free: 36.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.006114/0.3673, allocations: 6.39 MB / 0.5784 GB, free: 33.08 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004766/0.3721, allocations: 1.971 MB / 0.5803 GB, free: 31.74 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.3737, allocations: 11.19 kB / 0.5803 GB, free: 31.74 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009603/0.3747, allocations: 236 kB / 0.5805 GB, free: 31.62 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002373/0.3771, allocations: 0.7249 MB / 0.5812 GB, free: 31.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.3788, allocations: 0.6705 MB / 0.5819 GB, free: 30.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002078/0.3809, allocations: 1.455 MB / 0.5833 GB, free: 30.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005587/0.3815, allocations: 315 kB / 0.5836 GB, free: 29.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009619/0.3825, allocations: 0.5958 MB / 0.5842 GB, free: 29.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007395/0.3832, allocations: 0.7249 MB / 0.5849 GB, free: 29.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.3834, allocations: 105.1 kB / 0.585 GB, free: 29.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005706/0.384, allocations: 235.4 kB / 0.5852 GB, free: 29.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002263/0.3842, allocations: 290.6 kB / 0.5855 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004366/0.3847, allocations: 0.6109 MB / 0.5861 GB, free: 28.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.3859, allocations: 1.518 MB / 0.5876 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.386, allocations: 3.047 kB / 0.5876 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.386, allocations: 0 / 0.5876 GB, free: 27.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.386, allocations: 5.188 kB / 0.5876 GB, free: 27.94 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.007829/0.3938, allocations: 2.535 MB / 0.5901 GB, free: 26.78 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.3939, allocations: 9.75 kB / 0.5901 GB, free: 26.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004943/0.3988, allocations: 0.7763 MB / 0.5908 GB, free: 26.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.4002, allocations: 0.8088 MB / 0.5916 GB, free: 26.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002523/0.4004, allocations: 256 kB / 0.5919 GB, free: 25.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.4006, allocations: 74.62 kB / 0.5919 GB, free: 25.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/0.4028, allocations: 1.129 MB / 0.593 GB, free: 25.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.4028, allocations: 3.938 kB / 0.593 GB, free: 25.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.235e-05/0.4029, allocations: 34.28 kB / 0.5931 GB, free: 25.36 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.4029, allocations: 18.09 kB / 0.5931 GB, free: 25.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002236/0.4052, allocations: 1.068 MB / 0.5941 GB, free: 25.02 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.006035/0.4112, allocations: 3.5 MB / 0.5976 GB, free: 23.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002195/0.4134, allocations: 1.43 MB / 0.599 GB, free: 22.1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001531/0.415, allocations: 0.7418 MB / 0.5997 GB, free: 21.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.509e-05/0.4151, allocations: 16.52 kB / 0.5997 GB, free: 21.81 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.4151, allocations: 45.61 kB / 0.5997 GB, free: 21.76 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.705e-06/0.4151, allocations: 3.938 kB / 0.5997 GB, free: 21.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02654/0.4417, allocations: 6.509 MB / 0.6061 GB, free: 20.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.4418, allocations: 87.83 kB / 0.6062 GB, free: 20.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/0.4433, allocations: 0.9373 MB / 0.6071 GB, free: 20.03 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002508/0.4436, allocations: 42.16 kB / 0.6071 GB, free: 19.99 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003271/0.4439, allocations: 486.2 kB / 0.6076 GB, free: 19.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003378/0.4443, allocations: 319.4 kB / 0.6079 GB, free: 19.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000414/0.4447, allocations: 211.2 kB / 0.6081 GB, free: 19.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.264e-05/0.4448, allocations: 355.4 kB / 0.6084 GB, free: 18.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/0.4464, allocations: 0.7033 MB / 0.6091 GB, free: 18.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.4481, allocations: 0.8338 MB / 0.6099 GB, free: 18.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01917/0.4673, allocations: 4.728 MB / 0.6146 GB, free: 16.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.4674, allocations: 5.688 kB / 0.6146 GB, free: 16.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01347/0.4808, allocations: 4.226 MB / 0.6187 GB, free: 14.47 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.4809, allocations: 4 kB / 0.6187 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.4809, allocations: 4 kB / 0.6187 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005566/0.4865, allocations: 1.714 MB / 0.6204 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.4876, allocations: 211.7 kB / 0.6206 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01866/0.5063, allocations: 9.065 MB / 0.6294 GB, free: 3.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.5079, allocations: 174.8 kB / 0.6296 GB, free: 3.148 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.416e-05/0.508, allocations: 43.98 kB / 0.6296 GB, free: 3.105 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.001681/0.5097, allocations: 0.8734 MB / 0.6305 GB, free: 2.227 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001373/0.5111, allocations: 0.815 MB / 0.6313 GB, free: 1.387 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01801/0.5291, allocations: 4.69 MB / 0.6359 GB, free: 12.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.031e-06/0.5292, allocations: 0 / 0.6359 GB, free: 12.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=145) (initialization_lambda0): time 0.01355/0.5427, allocations: 4.199 MB / 0.64 GB, free: 8.445 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.5428, allocations: 11.94 kB / 0.64 GB, free: 8.434 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.5428, allocations: 7.969 kB / 0.64 GB, free: 8.426 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006033/0.5489, allocations: 1.714 MB / 0.6417 GB, free: 6.707 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.5501, allocations: 207.7 kB / 0.6419 GB, free: 6.504 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02187/0.5719, allocations: 9.069 MB / 0.6507 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/0.5737, allocations: 167.1 kB / 0.6509 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.5739, allocations: 39.98 kB / 0.6509 GB, free: 13.09 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.0003738/0.5742, allocations: 248.9 kB / 0.6512 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002528/0.5745, allocations: 118.5 kB / 0.6513 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01315/0.5877, allocations: 3.939 MB / 0.6551 GB, free: 8.77 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/0.5877, allocations: 8 kB / 0.6551 GB, free: 8.762 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.5877, allocations: 4 kB / 0.6551 GB, free: 8.758 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-05/0.5878, allocations: 7.969 kB / 0.6551 GB, free: 8.75 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/0.6031, allocations: 5.567 MB / 0.6606 GB, free: 3.047 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/0.6031, allocations: 0 / 0.6606 GB, free: 3.047 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007088/0.6038, allocations: 107.9 kB / 0.6607 GB, free: 2.941 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005984/0.6098, allocations: 1.741 MB / 0.6624 GB, free: 1.195 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001892/0.61, allocations: 16 kB / 0.6624 GB, free: 1.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01884/0.6289, allocations: 8.064 MB / 0.6703 GB, free: 8.969 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.6289, allocations: 4 kB / 0.6703 GB, free: 8.965 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01528/0.6442, allocations: 4.857 MB / 0.675 GB, free: 4.086 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004986/0.6448, allocations: 211.4 kB / 0.6752 GB, free: 3.859 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/0.645, allocations: 19.94 kB / 0.6752 GB, free: 3.84 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/0.6461, allocations: 108 kB / 0.6753 GB, free: 3.734 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006736/0.6468, allocations: 208.7 kB / 0.6755 GB, free: 3.531 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-05/0.6469, allocations: 20 kB / 0.6756 GB, free: 3.512 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001014/0.6479, allocations: 0.643 MB / 0.6762 GB, free: 2.859 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6479, allocations: 0 / 0.6762 GB, free: 2.859 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002245/0.6502, allocations: 0.6945 MB / 0.6769 GB, free: 2.164 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.0003526/0.6505, allocations: 127.1 kB / 0.677 GB, free: 2.027 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01285/0.6634, allocations: 4.174 MB / 0.6811 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.6635, allocations: 0 / 0.6811 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004967/0.6684, allocations: 1.541 MB / 0.6826 GB, free: 12.28 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.6697, allocations: 110.1 kB / 0.6827 GB, free: 12.17 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004727/0.6744, allocations: 2.183 MB / 0.6848 GB, free: 9.953 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007711/0.6752, allocations: 1.105 MB / 0.6859 GB, free: 8.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003288/0.6756, allocations: 71.42 kB / 0.6859 GB, free: 8.75 MB / 494.1 MB Notification: Performance of SimCode: time 1.252e-06/0.6756, allocations: 4 kB / 0.6859 GB, free: 8.746 MB / 494.1 MB Notification: Performance of Templates: time 0.03068/0.7063, allocations: 20.98 MB / 0.7064 GB, free: 3.762 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)