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.001062/0.001062, allocations: 116.1 kB / 16.37 MB, free: 6.012 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.361/1.361, allocations: 222.9 MB / 240 MB, free: 4.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.001262/0.001262, allocations: 180.5 kB / 290.3 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4325/0.4325, allocations: 78.53 MB / 419 MB, free: 3.184 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 79.88 kB / 498.9 MB, free: 5.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1145, allocations: 68.19 MB / 0.5538 GB, free: 1.457 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.1987/0.3132, allocations: 5.68 MB / 0.5593 GB, free: 36.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002803/0.3161, allocations: 1.717 MB / 0.561 GB, free: 35.8 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004634/0.3166, allocations: 9.031 kB / 0.561 GB, free: 35.8 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004396/0.317, allocations: 208.7 kB / 0.5612 GB, free: 35.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001346/0.3184, allocations: 0.6699 MB / 0.5619 GB, free: 35.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.3194, allocations: 0.556 MB / 0.5624 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001227/0.3207, allocations: 1.227 MB / 0.5636 GB, free: 35.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004047/0.3211, allocations: 274.5 kB / 0.5639 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006801/0.3218, allocations: 0.5146 MB / 0.5644 GB, free: 35.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005433/0.3223, allocations: 0.6355 MB / 0.565 GB, free: 35.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.3225, allocations: 89.78 kB / 0.5651 GB, free: 35.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00043/0.3229, allocations: 226.2 kB / 0.5653 GB, free: 35.1 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.3231, allocations: 239.2 kB / 0.5655 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003564/0.3234, allocations: 0.5348 MB / 0.566 GB, free: 34.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.3245, allocations: 1.344 MB / 0.5674 GB, free: 34.51 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3245, allocations: 2.531 kB / 0.5674 GB, free: 34.51 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3246, allocations: 0 / 0.5674 GB, free: 34.51 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.3246, allocations: 0 / 0.5674 GB, free: 34.51 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.006879/0.3315, allocations: 2.329 MB / 0.5696 GB, free: 33.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.3315, allocations: 11.25 kB / 0.5696 GB, free: 33.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004701/0.3362, allocations: 0.7627 MB / 0.5704 GB, free: 33.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009695/0.3372, allocations: 0.6973 MB / 0.5711 GB, free: 33.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000204/0.3374, allocations: 244.2 kB / 0.5713 GB, free: 33.06 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.3375, allocations: 72.22 kB / 0.5714 GB, free: 33.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/0.3393, allocations: 0.9403 MB / 0.5723 GB, free: 33.01 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.3393, allocations: 4.844 kB / 0.5723 GB, free: 33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.199e-05/0.3394, allocations: 28.95 kB / 0.5723 GB, free: 33 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.3394, allocations: 18.94 kB / 0.5723 GB, free: 33 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/0.3413, allocations: 0.9637 MB / 0.5733 GB, free: 33 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.004594/0.3459, allocations: 3.131 MB / 0.5763 GB, free: 32.06 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.3476, allocations: 1.311 MB / 0.5776 GB, free: 31.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/0.3488, allocations: 0.7008 MB / 0.5783 GB, free: 31.28 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.3489, allocations: 20.28 kB / 0.5783 GB, free: 31.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.3489, allocations: 42.66 kB / 0.5784 GB, free: 31.22 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.434e-06/0.3489, allocations: 0 / 0.5784 GB, free: 31.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02375/0.3727, allocations: 6.689 MB / 0.5849 GB, free: 30.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.3727, allocations: 64.02 kB / 0.585 GB, free: 29.97 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.3737, allocations: 0.7914 MB / 0.5857 GB, free: 29.63 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000155/0.3739, allocations: 41.02 kB / 0.5858 GB, free: 29.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002686/0.3742, allocations: 429.7 kB / 0.5862 GB, free: 29.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002483/0.3744, allocations: 296.2 kB / 0.5865 GB, free: 29.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003506/0.3748, allocations: 175 kB / 0.5866 GB, free: 28.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.395e-05/0.3749, allocations: 343.4 kB / 0.587 GB, free: 28.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/0.3762, allocations: 0.6405 MB / 0.5876 GB, free: 28.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.3776, allocations: 0.7636 MB / 0.5883 GB, free: 28.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01661/0.3942, allocations: 4.446 MB / 0.5927 GB, free: 26.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.3942, allocations: 0.5 kB / 0.5927 GB, free: 26.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01213/0.4064, allocations: 4.039 MB / 0.5966 GB, free: 25.87 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.4064, allocations: 7.516 kB / 0.5966 GB, free: 25.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.4064, allocations: 2.719 kB / 0.5966 GB, free: 25.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005903/0.4123, allocations: 1.859 MB / 0.5984 GB, free: 25.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000812/0.4132, allocations: 164.8 kB / 0.5986 GB, free: 25.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01956/0.4327, allocations: 9.091 MB / 0.6075 GB, free: 20.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.434, allocations: 154 kB / 0.6076 GB, free: 20.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-05/0.4341, allocations: 36.67 kB / 0.6077 GB, free: 20.64 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.0003934/0.4345, allocations: 226.2 kB / 0.6079 GB, free: 20.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.4347, allocations: 102.4 kB / 0.608 GB, free: 20.39 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01151/0.4463, allocations: 3.816 MB / 0.6117 GB, free: 18.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/0.4463, allocations: 12.23 kB / 0.6117 GB, free: 18.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4463, allocations: 1.375 kB / 0.6117 GB, free: 18.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.111e-05/0.4464, allocations: 3.984 kB / 0.6117 GB, free: 18.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/0.4588, allocations: 5.327 MB / 0.6169 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.4588, allocations: 0 / 0.6169 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004638/0.4593, allocations: 87.89 kB / 0.617 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005012/0.4643, allocations: 1.745 MB / 0.6187 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.4644, allocations: 17.88 kB / 0.6187 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01535/0.4798, allocations: 8.075 MB / 0.6266 GB, free: 3.516 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.4798, allocations: 7.984 kB / 0.6266 GB, free: 3.508 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01249/0.4923, allocations: 4.685 MB / 0.6312 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000324/0.4927, allocations: 187.8 kB / 0.6314 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.4928, allocations: 19.94 kB / 0.6314 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008591/0.4937, allocations: 87.89 kB / 0.6315 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005565/0.4942, allocations: 200.7 kB / 0.6317 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.032e-05/0.4943, allocations: 20.88 kB / 0.6317 GB, free: 14.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006479/0.495, allocations: 0.5303 MB / 0.6322 GB, free: 13.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.495, allocations: 0 / 0.6322 GB, free: 13.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001087/0.4961, allocations: 403.5 kB / 0.6326 GB, free: 13.36 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.000225/0.4963, allocations: 119.1 kB / 0.6327 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006066/0.5024, allocations: 2.31 MB / 0.635 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5024, allocations: 0 / 0.635 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004311/0.5067, allocations: 1.511 MB / 0.6364 GB, free: 9.387 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007485/0.5075, allocations: 72.41 kB / 0.6365 GB, free: 9.316 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003071/0.5106, allocations: 1.652 MB / 0.6381 GB, free: 7.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005612/0.5111, allocations: 1.025 MB / 0.6391 GB, free: 6.609 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002509/0.5114, allocations: 80.16 kB / 0.6392 GB, free: 6.531 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.5116, allocations: 59.42 kB / 0.6393 GB, free: 6.477 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5116, allocations: 3.938 kB / 0.6393 GB, free: 6.473 MB / 446.1 MB Notification: Performance of Templates: time 0.03209/0.5437, allocations: 22.09 MB / 0.6608 GB, free: 0.5703 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 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)