Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 104.5 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.214/1.214, allocations: 222.9 MB / 239.9 MB, free: 4.492 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.001221/0.001221, allocations: 192.5 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4135/0.4135, allocations: 78.53 MB / 418.9 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 76.2 kB / 498.1 MB, free: 6.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1132, allocations: 68.18 MB / 0.553 GB, free: 2.191 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.1822/0.2954, allocations: 5.682 MB / 0.5586 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002466/0.2979, allocations: 1.717 MB / 0.5603 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000361/0.2983, allocations: 9.156 kB / 0.5603 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003991/0.2987, allocations: 200.8 kB / 0.5605 GB, free: 35.83 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001209/0.2999, allocations: 0.6751 MB / 0.5611 GB, free: 35.69 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009464/0.3009, allocations: 0.5515 MB / 0.5617 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008952/0.3018, allocations: 1.223 MB / 0.5629 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003181/0.3021, allocations: 271.4 kB / 0.5631 GB, free: 35.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000412/0.3026, allocations: 0.5162 MB / 0.5636 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004619/0.303, allocations: 0.6333 MB / 0.5642 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.3031, allocations: 86.62 kB / 0.5643 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003382/0.3035, allocations: 225.7 kB / 0.5645 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.3036, allocations: 242.7 kB / 0.5648 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000295/0.3039, allocations: 0.5343 MB / 0.5653 GB, free: 34.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008799/0.3048, allocations: 1.32 MB / 0.5666 GB, free: 34.63 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3048, allocations: 0 / 0.5666 GB, free: 34.63 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3048, allocations: 0 / 0.5666 GB, free: 34.63 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.3049, allocations: 2.5 kB / 0.5666 GB, free: 34.63 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.006382/0.3112, allocations: 2.344 MB / 0.5689 GB, free: 33.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.3113, allocations: 9.344 kB / 0.5689 GB, free: 33.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004534/0.3158, allocations: 0.7539 MB / 0.5696 GB, free: 33.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007617/0.3166, allocations: 0.694 MB / 0.5703 GB, free: 33.37 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/0.3168, allocations: 255.9 kB / 0.5705 GB, free: 33.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.3169, allocations: 73 kB / 0.5706 GB, free: 33.17 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.3186, allocations: 0.9398 MB / 0.5715 GB, free: 33.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.3186, allocations: 3.938 kB / 0.5715 GB, free: 33.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.708e-05/0.3187, allocations: 26.56 kB / 0.5715 GB, free: 33.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.3187, allocations: 14.25 kB / 0.5716 GB, free: 33.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.3205, allocations: 0.9674 MB / 0.5725 GB, free: 33.11 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.004061/0.3245, allocations: 3.152 MB / 0.5756 GB, free: 32.15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.3262, allocations: 1.311 MB / 0.5769 GB, free: 31.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.3274, allocations: 0.6997 MB / 0.5775 GB, free: 31.51 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.018e-05/0.3274, allocations: 12.31 kB / 0.5776 GB, free: 31.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.3275, allocations: 45.16 kB / 0.5776 GB, free: 31.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.294e-06/0.3275, allocations: 0 / 0.5776 GB, free: 31.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02452/0.352, allocations: 6.693 MB / 0.5841 GB, free: 30.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.3521, allocations: 60.66 kB / 0.5842 GB, free: 30.21 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008922/0.353, allocations: 0.7938 MB / 0.585 GB, free: 29.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001197/0.3531, allocations: 41.14 kB / 0.585 GB, free: 29.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/0.3533, allocations: 433.9 kB / 0.5854 GB, free: 29.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000222/0.3535, allocations: 284.3 kB / 0.5857 GB, free: 29.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003114/0.3539, allocations: 177.8 kB / 0.5859 GB, free: 29.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.78e-05/0.3539, allocations: 345.1 kB / 0.5862 GB, free: 28.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/0.3552, allocations: 0.6392 MB / 0.5868 GB, free: 28.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/0.3566, allocations: 0.7597 MB / 0.5876 GB, free: 28.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01692/0.3736, allocations: 4.465 MB / 0.5919 GB, free: 27.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.3736, allocations: 1.281 kB / 0.5919 GB, free: 27.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01256/0.3862, allocations: 4.039 MB / 0.5959 GB, free: 26.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.3862, allocations: 6.75 kB / 0.5959 GB, free: 26.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.3862, allocations: 2.188 kB / 0.5959 GB, free: 26.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005969/0.3922, allocations: 1.867 MB / 0.5977 GB, free: 25.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007931/0.393, allocations: 158.7 kB / 0.5978 GB, free: 25.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01961/0.4127, allocations: 9.107 MB / 0.6067 GB, free: 21.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.4139, allocations: 151.7 kB / 0.6069 GB, free: 21.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-05/0.414, allocations: 32.5 kB / 0.6069 GB, free: 21.27 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.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 (92): * Single equations (assignments): 91 * 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 prepare postOptimizeDAE: time 0.0003631/0.4144, allocations: 227.7 kB / 0.6071 GB, free: 21.08 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.4146, allocations: 98.12 kB / 0.6072 GB, free: 21.03 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/0.4262, allocations: 3.823 MB / 0.611 GB, free: 19.08 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.4263, allocations: 7.938 kB / 0.611 GB, free: 19.08 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4263, allocations: 2.688 kB / 0.611 GB, free: 19.08 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/0.4263, allocations: 5.328 kB / 0.611 GB, free: 19.08 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01253/0.4388, allocations: 5.334 MB / 0.6162 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.4389, allocations: 0 / 0.6162 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004195/0.4393, allocations: 89.83 kB / 0.6163 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005206/0.4445, allocations: 1.748 MB / 0.618 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-05/0.4446, allocations: 16 kB / 0.618 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01561/0.4602, allocations: 8.081 MB / 0.6259 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.4603, allocations: 0.625 kB / 0.6259 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01313/0.4734, allocations: 4.688 MB / 0.6305 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003173/0.4737, allocations: 188.2 kB / 0.6306 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.4739, allocations: 19.94 kB / 0.6307 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008638/0.4748, allocations: 87.95 kB / 0.6307 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005296/0.4753, allocations: 196.7 kB / 0.6309 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.346e-05/0.4754, allocations: 20.94 kB / 0.631 GB, free: 14.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005992/0.476, allocations: 0.5303 MB / 0.6315 GB, free: 14.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.476, allocations: 0 / 0.6315 GB, free: 14.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001088/0.4771, allocations: 399.5 kB / 0.6319 GB, free: 13.78 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * 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 (48): * Single equations (assignments): 47 * 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.0002262/0.4773, allocations: 139.9 kB / 0.632 GB, free: 13.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006348/0.4837, allocations: 2.32 MB / 0.6343 GB, free: 11.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4837, allocations: 4.062 kB / 0.6343 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004326/0.488, allocations: 1.502 MB / 0.6357 GB, free: 9.781 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006339/0.4887, allocations: 79.8 kB / 0.6358 GB, free: 9.711 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.4914, allocations: 1.709 MB / 0.6375 GB, free: 7.984 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000469/0.4919, allocations: 1.021 MB / 0.6385 GB, free: 6.938 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/0.4921, allocations: 67.36 kB / 0.6385 GB, free: 6.875 MB / 446.1 MB Notification: Performance of SimCode: time 1.473e-06/0.4921, allocations: 0 / 0.6385 GB, free: 6.875 MB / 446.1 MB Notification: Performance of Templates: time 0.01938/0.5115, allocations: 17.58 MB / 0.6557 GB, free: 5.445 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)