Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 176.5 kB / 15.45 MB, free: 6.23 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.3 MB / 239.5 MB, free: 1.613 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007062/0.0007062, allocations: 93.45 kB / 290.7 MB, free: 13.81 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.433/0.433, allocations: 78.63 MB / 420.4 MB, free: 44.08 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003607, allocations: 12 kB / 0.4888 GB, free: 2.562 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3157, allocations: 69.34 MB / 0.5565 GB, free: 38.95 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.004744/0.3205, allocations: 5.644 MB / 0.562 GB, free: 36.57 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00366/0.3242, allocations: 1.767 MB / 0.5637 GB, free: 35.83 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.3253, allocations: 14.59 kB / 0.5638 GB, free: 35.82 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005026/0.3258, allocations: 154.2 kB / 0.5639 GB, free: 35.77 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.3276, allocations: 0.6078 MB / 0.5645 GB, free: 35.48 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.3288, allocations: 0.5147 MB / 0.565 GB, free: 35.39 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001726/0.3306, allocations: 1.19 MB / 0.5662 GB, free: 35.08 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004257/0.331, allocations: 242.3 kB / 0.5664 GB, free: 35.01 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000885/0.3319, allocations: 474.9 kB / 0.5668 GB, free: 34.86 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006633/0.3326, allocations: 0.5918 MB / 0.5674 GB, free: 34.58 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.3327, allocations: 47.22 kB / 0.5675 GB, free: 34.58 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005276/0.3333, allocations: 182.5 kB / 0.5676 GB, free: 34.54 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.3334, allocations: 196.4 kB / 0.5678 GB, free: 34.42 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004031/0.3338, allocations: 0.521 MB / 0.5683 GB, free: 34.07 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009728/0.3348, allocations: 1.284 MB / 0.5696 GB, free: 33.56 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3348, allocations: 0 / 0.5696 GB, free: 33.56 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3348, allocations: 3.422 kB / 0.5696 GB, free: 33.56 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.3349, allocations: 0 / 0.5696 GB, free: 33.56 MB / 426.7 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.006142/0.341, allocations: 2.189 MB / 0.5717 GB, free: 32.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.3411, allocations: 8.812 kB / 0.5717 GB, free: 32.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004627/0.3457, allocations: 0.7658 MB / 0.5725 GB, free: 32.47 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.347, allocations: 0.705 MB / 0.5732 GB, free: 31.97 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002399/0.3472, allocations: 263.2 kB / 0.5734 GB, free: 31.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.3473, allocations: 71.91 kB / 0.5735 GB, free: 31.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/0.3492, allocations: 1.028 MB / 0.5745 GB, free: 31.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.3493, allocations: 10.95 kB / 0.5745 GB, free: 31.35 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.533e-05/0.3493, allocations: 22.91 kB / 0.5745 GB, free: 31.33 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.3494, allocations: 18.19 kB / 0.5746 GB, free: 31.33 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002076/0.3514, allocations: 1.068 MB / 0.5756 GB, free: 31 MB / 426.7 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.004863/0.3563, allocations: 3.23 MB / 0.5787 GB, free: 29.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/0.3581, allocations: 1.382 MB / 0.5801 GB, free: 28.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/0.3594, allocations: 0.7712 MB / 0.5809 GB, free: 27.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.3595, allocations: 19.55 kB / 0.5809 GB, free: 27.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.3595, allocations: 44.66 kB / 0.5809 GB, free: 27.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=82): time 4.719e-06/0.3595, allocations: 0 / 0.5809 GB, free: 27.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=82): time 0.02469/0.3842, allocations: 8.409 MB / 0.5891 GB, free: 26.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.3843, allocations: 60.97 kB / 0.5892 GB, free: 26.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.3854, allocations: 0.7982 MB / 0.59 GB, free: 26.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001819/0.3855, allocations: 41.39 kB / 0.59 GB, free: 26.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.3858, allocations: 429.8 kB / 0.5904 GB, free: 25.72 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002669/0.3861, allocations: 299.5 kB / 0.5907 GB, free: 25.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.3862, allocations: 93.08 kB / 0.5908 GB, free: 25.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.446e-05/0.3863, allocations: 347.7 kB / 0.5911 GB, free: 25.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/0.3879, allocations: 0.7276 MB / 0.5918 GB, free: 24.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/0.3895, allocations: 0.8532 MB / 0.5927 GB, free: 24.51 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01743/0.4069, allocations: 4.992 MB / 0.5975 GB, free: 23.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.407, allocations: 1 kB / 0.5975 GB, free: 23.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01502/0.422, allocations: 5.035 MB / 0.6025 GB, free: 22.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/0.4221, allocations: 8.047 kB / 0.6025 GB, free: 22.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.4221, allocations: 6.344 kB / 0.6025 GB, free: 22.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00666/0.4288, allocations: 2.094 MB / 0.6045 GB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000904/0.4297, allocations: 177 kB / 0.6047 GB, free: 21.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01972/0.4495, allocations: 9.568 MB / 0.614 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.4508, allocations: 195 kB / 0.6142 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/0.451, allocations: 36 kB / 0.6142 GB, free: 14.6 MB / 426.7 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.0004929/0.4515, allocations: 232.2 kB / 0.6145 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/0.4517, allocations: 102.7 kB / 0.6146 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/0.463, allocations: 4.743 MB / 0.6192 GB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.463, allocations: 8 kB / 0.6192 GB, free: 9.496 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.463, allocations: 0 / 0.6192 GB, free: 9.496 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.463, allocations: 7.984 kB / 0.6192 GB, free: 9.488 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01283/0.4759, allocations: 6.265 MB / 0.6253 GB, free: 3.086 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.4759, allocations: 3.938 kB / 0.6253 GB, free: 3.082 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004312/0.4763, allocations: 99.83 kB / 0.6254 GB, free: 2.984 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005211/0.4815, allocations: 2.057 MB / 0.6274 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.849e-05/0.4816, allocations: 16 kB / 0.6275 GB, free: 0.9062 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01727/0.4989, allocations: 8.21 MB / 0.6355 GB, free: 8.559 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.499, allocations: 7.984 kB / 0.6355 GB, free: 8.551 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01454/0.5135, allocations: 5.692 MB / 0.641 GB, free: 2.836 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004823/0.5141, allocations: 195.5 kB / 0.6412 GB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003607/0.5144, allocations: 16 kB / 0.6412 GB, free: 2.609 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.5156, allocations: 131.9 kB / 0.6414 GB, free: 2.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007549/0.5163, allocations: 196.5 kB / 0.6416 GB, free: 2.285 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.5165, allocations: 24 kB / 0.6416 GB, free: 2.262 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008994/0.5174, allocations: 0.5343 MB / 0.6421 GB, free: 1.715 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5174, allocations: 7.938 kB / 0.6421 GB, free: 1.707 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001679/0.5191, allocations: 411.6 kB / 0.6425 GB, free: 1.305 MB / 442.7 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.0003297/0.5194, allocations: 127.1 kB / 0.6426 GB, free: 1.172 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006844/0.5263, allocations: 2.586 MB / 0.6451 GB, free: 14.57 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.5263, allocations: 0 / 0.6451 GB, free: 14.57 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00451/0.5308, allocations: 1.693 MB / 0.6468 GB, free: 12.87 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.5319, allocations: 75.34 kB / 0.6469 GB, free: 12.79 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/0.5355, allocations: 2.146 MB / 0.649 GB, free: 10.63 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006596/0.5362, allocations: 1.029 MB / 0.65 GB, free: 9.57 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003471/0.5365, allocations: 86.11 kB / 0.6501 GB, free: 9.484 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002077/0.5367, allocations: 55.42 kB / 0.6501 GB, free: 9.43 MB / 458.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5368, allocations: 0 / 0.6501 GB, free: 9.43 MB / 458.7 MB Notification: Performance of Templates: time 0.033/0.5698, allocations: 19.66 MB / 0.6693 GB, free: 5.785 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)