Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 118.3 kB / 16.37 MB, free: 5.984 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.265/1.265, allocations: 222.9 MB / 240 MB, free: 4.527 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.001206/0.001206, allocations: 188.5 kB / 290.3 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4875/0.4875, allocations: 91.9 MB / 432.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.00174, allocations: 83.86 kB / 0.5033 GB, free: 6.965 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3398, allocations: 71.26 MB / 0.5729 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.004647/0.3445, allocations: 5.76 MB / 0.5785 GB, free: 33.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002625/0.3471, allocations: 1.737 MB / 0.5802 GB, free: 32.4 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003752/0.3475, allocations: 9.312 kB / 0.5802 GB, free: 32.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003862/0.3479, allocations: 211.4 kB / 0.5804 GB, free: 32.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001255/0.3492, allocations: 0.6898 MB / 0.5811 GB, free: 31.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009948/0.3502, allocations: 0.555 MB / 0.5816 GB, free: 31.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001035/0.3513, allocations: 1.25 MB / 0.5828 GB, free: 30.92 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003465/0.3516, allocations: 276.4 kB / 0.5831 GB, free: 30.81 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005094/0.3521, allocations: 0.5218 MB / 0.5836 GB, free: 30.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005041/0.3527, allocations: 0.6446 MB / 0.5842 GB, free: 30.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.3528, allocations: 87.47 kB / 0.5843 GB, free: 30.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003609/0.3531, allocations: 230.4 kB / 0.5846 GB, free: 30.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.3533, allocations: 243.3 kB / 0.5848 GB, free: 30.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003181/0.3536, allocations: 0.541 MB / 0.5853 GB, free: 29.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.3546, allocations: 1.36 MB / 0.5866 GB, free: 29.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.3546, allocations: 4 kB / 0.5866 GB, free: 29.03 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3546, allocations: 10.7 kB / 0.5867 GB, free: 29.03 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.3547, allocations: 0 / 0.5867 GB, free: 29.03 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.006617/0.3613, allocations: 2.347 MB / 0.5889 GB, free: 27.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3613, allocations: 9 kB / 0.589 GB, free: 27.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004606/0.366, allocations: 0.7522 MB / 0.5897 GB, free: 27.81 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.3671, allocations: 0.7165 MB / 0.5904 GB, free: 27.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002217/0.3673, allocations: 248.7 kB / 0.5906 GB, free: 27.08 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.3674, allocations: 65.31 kB / 0.5907 GB, free: 27.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/0.3692, allocations: 0.9531 MB / 0.5916 GB, free: 26.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.3692, allocations: 5.312 kB / 0.5916 GB, free: 26.71 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.472e-05/0.3693, allocations: 33.72 kB / 0.5917 GB, free: 26.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.3693, allocations: 15.66 kB / 0.5917 GB, free: 26.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/0.3712, allocations: 0.9751 MB / 0.5926 GB, free: 26.37 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.00465/0.3758, allocations: 3.149 MB / 0.5957 GB, free: 24.53 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.3776, allocations: 1.305 MB / 0.597 GB, free: 23.63 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00125/0.3788, allocations: 0.7101 MB / 0.5977 GB, free: 23.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.379, allocations: 13.45 kB / 0.5977 GB, free: 23.35 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.379, allocations: 42.53 kB / 0.5977 GB, free: 23.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 3.015e-06/0.379, allocations: 4 kB / 0.5977 GB, free: 23.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.02644/0.4054, allocations: 6.755 MB / 0.6043 GB, free: 22.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.4055, allocations: 59.16 kB / 0.6044 GB, free: 22.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.4067, allocations: 0.805 MB / 0.6052 GB, free: 21.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001753/0.4069, allocations: 41.48 kB / 0.6052 GB, free: 21.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000272/0.4072, allocations: 433.7 kB / 0.6056 GB, free: 21.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000273/0.4075, allocations: 288.5 kB / 0.6059 GB, free: 21.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000348/0.4078, allocations: 182.6 kB / 0.6061 GB, free: 20.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.712e-05/0.4079, allocations: 352 kB / 0.6064 GB, free: 20.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/0.4092, allocations: 0.6498 MB / 0.607 GB, free: 20.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.4107, allocations: 0.7749 MB / 0.6078 GB, free: 20.08 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01713/0.4278, allocations: 4.494 MB / 0.6122 GB, free: 18.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-06/0.4279, allocations: 1.156 kB / 0.6122 GB, free: 18.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01237/0.4402, allocations: 4.121 MB / 0.6162 GB, free: 16.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/0.4403, allocations: 11.12 kB / 0.6162 GB, free: 16.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.4403, allocations: 2.406 kB / 0.6162 GB, free: 16.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00572/0.4461, allocations: 1.788 MB / 0.618 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008429/0.4469, allocations: 171.7 kB / 0.6181 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01756/0.4645, allocations: 9.32 MB / 0.6272 GB, free: 6.172 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.4659, allocations: 155 kB / 0.6274 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.466, allocations: 35.98 kB / 0.6274 GB, free: 5.984 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (95): * Single equations (assignments): 94 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003971/0.4664, allocations: 225.6 kB / 0.6276 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.4666, allocations: 98.78 kB / 0.6277 GB, free: 5.656 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/0.4769, allocations: 3.836 MB / 0.6315 GB, free: 1.805 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.477, allocations: 8 kB / 0.6315 GB, free: 1.797 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.477, allocations: 0 / 0.6315 GB, free: 1.797 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-05/0.477, allocations: 3.984 kB / 0.6315 GB, free: 1.793 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/0.4902, allocations: 5.357 MB / 0.6367 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.139e-05/0.4903, allocations: 4 kB / 0.6367 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006597/0.491, allocations: 87.89 kB / 0.6368 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005453/0.4964, allocations: 1.749 MB / 0.6385 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001551/0.4966, allocations: 16 kB / 0.6385 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01673/0.5134, allocations: 8.06 MB / 0.6464 GB, free: 2.223 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.978e-06/0.5134, allocations: 7.938 kB / 0.6464 GB, free: 2.215 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01302/0.5264, allocations: 4.708 MB / 0.651 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004197/0.5269, allocations: 187.7 kB / 0.6512 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.527, allocations: 16 kB / 0.6512 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008677/0.5279, allocations: 87.89 kB / 0.6513 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006176/0.5285, allocations: 200.7 kB / 0.6515 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.982e-05/0.5286, allocations: 24 kB / 0.6515 GB, free: 12.96 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000653/0.5293, allocations: 0.5382 MB / 0.652 GB, free: 12.41 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5293, allocations: 0 / 0.652 GB, free: 12.41 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001145/0.5304, allocations: 411.6 kB / 0.6524 GB, free: 12.01 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * 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 (49): * Single equations (assignments): 48 * 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.000254/0.5307, allocations: 125.8 kB / 0.6525 GB, free: 11.88 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005811/0.5365, allocations: 2.342 MB / 0.6548 GB, free: 9.523 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5366, allocations: 0 / 0.6548 GB, free: 9.523 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004112/0.5407, allocations: 1.496 MB / 0.6563 GB, free: 8.012 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007517/0.5414, allocations: 87.2 kB / 0.6564 GB, free: 7.926 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00301/0.5445, allocations: 1.723 MB / 0.658 GB, free: 6.184 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000588/0.5451, allocations: 1.033 MB / 0.6591 GB, free: 5.125 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002607/0.5453, allocations: 78.19 kB / 0.6591 GB, free: 5.047 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.5455, allocations: 55.44 kB / 0.6592 GB, free: 4.992 MB / 462.1 MB Notification: Performance of SimCode: time 7.72e-07/0.5455, allocations: 0 / 0.6592 GB, free: 4.992 MB / 462.1 MB Notification: Performance of Templates: time 0.03269/0.5782, allocations: 22.4 MB / 0.6811 GB, free: 14.6 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)