Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.0009946/0.0009947, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.324/1.324, allocations: 223.3 MB / 239.4 MB, free: 5.516 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.001307/0.001307, allocations: 183.4 kB / 290.6 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4339/0.4339, allocations: 78.54 MB / 420.3 MB, free: 4.301 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003526, allocations: 12 kB / 0.4887 GB, free: 6.012 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1335, allocations: 69.35 MB / 0.5564 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.2366/0.3701, allocations: 5.645 MB / 0.5619 GB, free: 36.35 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003543/0.3737, allocations: 1.762 MB / 0.5636 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006642/0.3744, allocations: 10.25 kB / 0.5636 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004554/0.3749, allocations: 163.1 kB / 0.5638 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001596/0.3765, allocations: 0.5981 MB / 0.5644 GB, free: 35.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.3777, allocations: 0.5194 MB / 0.5649 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001239/0.3789, allocations: 1.192 MB / 0.566 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003821/0.3793, allocations: 230.1 kB / 0.5663 GB, free: 34.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005334/0.3799, allocations: 481.9 kB / 0.5667 GB, free: 34.69 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005806/0.3805, allocations: 0.5898 MB / 0.5673 GB, free: 34.51 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.803e-05/0.3806, allocations: 51.25 kB / 0.5673 GB, free: 34.51 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004512/0.381, allocations: 176.4 kB / 0.5675 GB, free: 34.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.3812, allocations: 198.4 kB / 0.5677 GB, free: 34.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003834/0.3816, allocations: 0.518 MB / 0.5682 GB, free: 34.2 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.3826, allocations: 1.277 MB / 0.5695 GB, free: 33.87 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3826, allocations: 0 / 0.5695 GB, free: 33.87 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3826, allocations: 1.156 kB / 0.5695 GB, free: 33.87 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.3827, allocations: 0 / 0.5695 GB, free: 33.87 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.006606/0.3893, allocations: 2.2 MB / 0.5716 GB, free: 33.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3893, allocations: 8.906 kB / 0.5716 GB, free: 33.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004685/0.394, allocations: 0.766 MB / 0.5724 GB, free: 33 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.3951, allocations: 0.7069 MB / 0.5731 GB, free: 32.63 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002494/0.3953, allocations: 261.6 kB / 0.5733 GB, free: 32.44 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.3955, allocations: 73.03 kB / 0.5734 GB, free: 32.44 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/0.3974, allocations: 1.029 MB / 0.5744 GB, free: 32.37 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.3975, allocations: 4.688 kB / 0.5744 GB, free: 32.37 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.111e-05/0.3975, allocations: 22.38 kB / 0.5744 GB, free: 32.37 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.3976, allocations: 19.66 kB / 0.5744 GB, free: 32.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/0.3995, allocations: 1.065 MB / 0.5755 GB, free: 32.34 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.004728/0.4042, allocations: 3.242 MB / 0.5786 GB, free: 31.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.4061, allocations: 1.377 MB / 0.58 GB, free: 30.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/0.4074, allocations: 0.7746 MB / 0.5807 GB, free: 30.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.604e-05/0.4075, allocations: 13.22 kB / 0.5807 GB, free: 30.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.4076, allocations: 40.59 kB / 0.5808 GB, free: 30.69 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 2.635e-06/0.4076, allocations: 0 / 0.5808 GB, free: 30.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.0281/0.4357, allocations: 8.416 MB / 0.589 GB, free: 29.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.4358, allocations: 60.66 kB / 0.5891 GB, free: 29.24 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.4371, allocations: 0.8037 MB / 0.5898 GB, free: 28.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000207/0.4374, allocations: 40.7 kB / 0.5899 GB, free: 28.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/0.4377, allocations: 426.9 kB / 0.5903 GB, free: 28.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000336/0.438, allocations: 300 kB / 0.5906 GB, free: 28.26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.4382, allocations: 95.38 kB / 0.5907 GB, free: 28.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.074e-05/0.4383, allocations: 346.1 kB / 0.591 GB, free: 27.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/0.4399, allocations: 0.7276 MB / 0.5917 GB, free: 27.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001665/0.4416, allocations: 0.8456 MB / 0.5925 GB, free: 27.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01887/0.4605, allocations: 4.995 MB / 0.5974 GB, free: 25.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/0.4605, allocations: 1.094 kB / 0.5974 GB, free: 25.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01543/0.476, allocations: 5.032 MB / 0.6023 GB, free: 24.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.687e-05/0.4761, allocations: 6.156 kB / 0.6023 GB, free: 24.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.4761, allocations: 3.188 kB / 0.6023 GB, free: 24.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007499/0.4836, allocations: 2.099 MB / 0.6044 GB, free: 24.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.4847, allocations: 174.8 kB / 0.6046 GB, free: 24.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02192/0.5066, allocations: 9.576 MB / 0.6139 GB, free: 18.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/0.5083, allocations: 191 kB / 0.6141 GB, free: 18.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002267/0.5086, allocations: 39.98 kB / 0.6141 GB, free: 18.44 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.0006267/0.5092, allocations: 228 kB / 0.6143 GB, free: 18.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002934/0.5095, allocations: 107.3 kB / 0.6144 GB, free: 18.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/0.5224, allocations: 4.739 MB / 0.6191 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.5225, allocations: 8 kB / 0.6191 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5225, allocations: 4 kB / 0.6191 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.16e-05/0.5225, allocations: 3.984 kB / 0.6191 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01457/0.5371, allocations: 6.259 MB / 0.6252 GB, free: 6.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.451e-05/0.5371, allocations: 1.688 kB / 0.6252 GB, free: 6.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005383/0.5377, allocations: 99.83 kB / 0.6253 GB, free: 6.832 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005958/0.5437, allocations: 2.054 MB / 0.6273 GB, free: 4.777 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002225/0.5439, allocations: 20.69 kB / 0.6273 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01826/0.5622, allocations: 8.212 MB / 0.6353 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5622, allocations: 4 kB / 0.6353 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01619/0.5784, allocations: 5.693 MB / 0.6409 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003513/0.5788, allocations: 191.6 kB / 0.6411 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002358/0.5791, allocations: 16 kB / 0.6411 GB, free: 6.465 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.5802, allocations: 132.8 kB / 0.6412 GB, free: 6.336 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006033/0.5808, allocations: 200.4 kB / 0.6414 GB, free: 6.137 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.53e-05/0.5809, allocations: 20 kB / 0.6414 GB, free: 6.117 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006772/0.5816, allocations: 0.5421 MB / 0.642 GB, free: 5.562 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5816, allocations: 0 / 0.642 GB, free: 5.562 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001336/0.5829, allocations: 407.6 kB / 0.6424 GB, free: 5.164 MB / 446.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.0002571/0.5832, allocations: 131.1 kB / 0.6425 GB, free: 5.027 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006855/0.59, allocations: 2.587 MB / 0.645 GB, free: 2.434 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.5901, allocations: 4 kB / 0.645 GB, free: 2.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004881/0.595, allocations: 1.688 MB / 0.6467 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000796/0.5958, allocations: 80.66 kB / 0.6467 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003221/0.599, allocations: 2.146 MB / 0.6488 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000578/0.5996, allocations: 1.037 MB / 0.6498 GB, free: 13.45 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003018/0.5999, allocations: 72.36 kB / 0.6499 GB, free: 13.38 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.6001, allocations: 59.42 kB / 0.65 GB, free: 13.32 MB / 462.1 MB Notification: Performance of SimCode: time 5.01e-07/0.6001, allocations: 0 / 0.65 GB, free: 13.32 MB / 462.1 MB Notification: Performance of Templates: time 0.03138/0.6315, allocations: 19.66 MB / 0.6692 GB, free: 9.832 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1) Environment - environmentSimulation: