Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008113/0.0008114, allocations: 92.31 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 223.3 MB / 240 MB, free: 5.52 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.001048/0.001048, allocations: 171.5 kB / 291.3 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5138/0.5138, allocations: 91.93 MB / 434.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005643/0.0005644, allocations: 12 kB / 0.5054 GB, free: 7.27 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3737, allocations: 72.46 MB / 0.5762 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.004226/0.378, allocations: 5.708 MB / 0.5818 GB, free: 32.81 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003227/0.3812, allocations: 1.796 MB / 0.5835 GB, free: 31.54 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008912/0.3821, allocations: 12.94 kB / 0.5835 GB, free: 31.54 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004757/0.3826, allocations: 164.5 kB / 0.5837 GB, free: 31.48 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001657/0.3843, allocations: 0.6081 MB / 0.5843 GB, free: 31.08 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.3854, allocations: 0.5258 MB / 0.5848 GB, free: 30.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00118/0.3866, allocations: 1.195 MB / 0.586 GB, free: 30.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000344/0.3869, allocations: 243.6 kB / 0.5862 GB, free: 30.1 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005089/0.3875, allocations: 477.8 kB / 0.5866 GB, free: 29.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005386/0.388, allocations: 0.5827 MB / 0.5872 GB, free: 29.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.585e-05/0.3881, allocations: 47.03 kB / 0.5873 GB, free: 29.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004068/0.3885, allocations: 184.3 kB / 0.5874 GB, free: 29.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.3887, allocations: 193 kB / 0.5876 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003727/0.3891, allocations: 0.5256 MB / 0.5881 GB, free: 29.1 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007749/0.3898, allocations: 0.9917 MB / 0.5891 GB, free: 28.78 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3898, allocations: 0 / 0.5891 GB, free: 28.78 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3899, allocations: 0 / 0.5891 GB, free: 28.78 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.3899, allocations: 0 / 0.5891 GB, free: 28.78 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.007/0.3969, allocations: 2.194 MB / 0.5912 GB, free: 27.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.397, allocations: 9.812 kB / 0.5912 GB, free: 27.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005111/0.4021, allocations: 0.7663 MB / 0.592 GB, free: 27.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.4033, allocations: 0.6997 MB / 0.5927 GB, free: 27.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003101/0.4037, allocations: 267.2 kB / 0.5929 GB, free: 26.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000239/0.4039, allocations: 68.66 kB / 0.593 GB, free: 26.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/0.4062, allocations: 1.036 MB / 0.594 GB, free: 26.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.4062, allocations: 3.938 kB / 0.594 GB, free: 26.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.219e-05/0.4063, allocations: 25.31 kB / 0.594 GB, free: 26.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.4063, allocations: 20.25 kB / 0.5941 GB, free: 26.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/0.4085, allocations: 1.061 MB / 0.5951 GB, free: 26.22 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.005593/0.4141, allocations: 3.279 MB / 0.5983 GB, free: 24.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002044/0.4162, allocations: 1.377 MB / 0.5996 GB, free: 23.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001521/0.4177, allocations: 0.7861 MB / 0.6004 GB, free: 23.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.991e-05/0.4178, allocations: 15.36 kB / 0.6004 GB, free: 23.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.4179, allocations: 39.88 kB / 0.6005 GB, free: 23.11 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 4.248e-06/0.4179, allocations: 0 / 0.6005 GB, free: 23.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02923/0.4471, allocations: 8.054 MB / 0.6083 GB, free: 21.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.4472, allocations: 61.25 kB / 0.6084 GB, free: 21.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.4485, allocations: 0.7966 MB / 0.6092 GB, free: 21.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002055/0.4487, allocations: 39.86 kB / 0.6092 GB, free: 21.28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/0.449, allocations: 438.7 kB / 0.6096 GB, free: 20.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002941/0.4493, allocations: 298.2 kB / 0.6099 GB, free: 20.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.4495, allocations: 95.34 kB / 0.61 GB, free: 20.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8e-05/0.4496, allocations: 349.5 kB / 0.6103 GB, free: 20.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001624/0.4512, allocations: 0.7329 MB / 0.611 GB, free: 20.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/0.4529, allocations: 0.8578 MB / 0.6119 GB, free: 19.72 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0195/0.4724, allocations: 5.013 MB / 0.6168 GB, free: 18.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.4725, allocations: 1.219 kB / 0.6168 GB, free: 18.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01471/0.4872, allocations: 4.991 MB / 0.6217 GB, free: 14.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.4872, allocations: 11.98 kB / 0.6217 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.4873, allocations: 4 kB / 0.6217 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006069/0.4933, allocations: 2.042 MB / 0.6237 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009537/0.4943, allocations: 195.7 kB / 0.6238 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01935/0.5137, allocations: 9.329 MB / 0.633 GB, free: 2.973 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.5152, allocations: 191 kB / 0.6331 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.5154, allocations: 43.98 kB / 0.6332 GB, free: 2.742 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.0004225/0.5158, allocations: 217.7 kB / 0.6334 GB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/0.516, allocations: 110.6 kB / 0.6335 GB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01375/0.5297, allocations: 4.727 MB / 0.6381 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.5298, allocations: 8 kB / 0.6381 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.5298, allocations: 0 / 0.6381 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.207e-05/0.5298, allocations: 3.984 kB / 0.6381 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01652/0.5464, allocations: 6.255 MB / 0.6442 GB, free: 7.258 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/0.5464, allocations: 7.984 kB / 0.6442 GB, free: 7.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005711/0.547, allocations: 91.89 kB / 0.6443 GB, free: 7.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006561/0.5536, allocations: 2.05 MB / 0.6463 GB, free: 5.105 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001699/0.5538, allocations: 16 kB / 0.6463 GB, free: 5.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01907/0.5728, allocations: 8.214 MB / 0.6544 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5729, allocations: 0 / 0.6544 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01645/0.5893, allocations: 5.684 MB / 0.6599 GB, free: 7.023 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004444/0.5898, allocations: 187.7 kB / 0.6601 GB, free: 6.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/0.59, allocations: 16 kB / 0.6601 GB, free: 6.805 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.5911, allocations: 131.9 kB / 0.6602 GB, free: 6.676 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006006/0.5917, allocations: 196.7 kB / 0.6604 GB, free: 6.484 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.414e-05/0.5917, allocations: 16 kB / 0.6604 GB, free: 6.469 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006705/0.5924, allocations: 0.5381 MB / 0.661 GB, free: 5.934 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5924, allocations: 0 / 0.661 GB, free: 5.934 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001189/0.5936, allocations: 411.5 kB / 0.6614 GB, free: 5.531 MB / 462.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.0002606/0.5939, allocations: 123.1 kB / 0.6615 GB, free: 5.402 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00686/0.6008, allocations: 2.572 MB / 0.664 GB, free: 2.816 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.6008, allocations: 0 / 0.664 GB, free: 2.816 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005105/0.6059, allocations: 1.693 MB / 0.6656 GB, free: 1.109 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008608/0.6068, allocations: 83.22 kB / 0.6657 GB, free: 1.023 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003198/0.61, allocations: 2.248 MB / 0.6679 GB, free: 14.75 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005793/0.6106, allocations: 1.029 MB / 0.6689 GB, free: 13.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003068/0.6109, allocations: 59.44 kB / 0.669 GB, free: 13.64 MB / 478.1 MB Notification: Performance of SimCode: time 7.21e-07/0.6109, allocations: 0 / 0.669 GB, free: 13.64 MB / 478.1 MB Notification: Performance of Templates: time 0.02363/0.6346, allocations: 17.67 MB / 0.6862 GB, free: 11.95 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)