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.001102/0.001102, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.289/1.289, allocations: 222.9 MB / 239 MB, free: 4.715 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.001243/0.001243, allocations: 188.5 kB / 289.2 MB, free: 2.457 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.497/0.497, allocations: 91.9 MB / 431.3 MB, free: 9.367 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 83.86 kB / 0.5014 GB, free: 8.031 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3315, allocations: 71.25 MB / 0.571 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.005135/0.3367, allocations: 6.113 MB / 0.5769 GB, free: 32.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003055/0.3398, allocations: 1.776 MB / 0.5787 GB, free: 31.78 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005044/0.3403, allocations: 11.56 kB / 0.5787 GB, free: 31.78 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004424/0.3408, allocations: 160 kB / 0.5788 GB, free: 31.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.3422, allocations: 0.609 MB / 0.5794 GB, free: 31.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009665/0.3432, allocations: 0.5201 MB / 0.5799 GB, free: 31.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009481/0.3442, allocations: 1.241 MB / 0.5811 GB, free: 30.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003446/0.3445, allocations: 275.8 kB / 0.5814 GB, free: 30.3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005518/0.3451, allocations: 0.5166 MB / 0.5819 GB, free: 30.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005269/0.3456, allocations: 0.6543 MB / 0.5826 GB, free: 29.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.3457, allocations: 88.59 kB / 0.5826 GB, free: 29.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004088/0.3462, allocations: 229.4 kB / 0.5829 GB, free: 29.67 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.3463, allocations: 241.8 kB / 0.5831 GB, free: 29.51 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003785/0.3467, allocations: 0.5501 MB / 0.5836 GB, free: 29.14 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.3477, allocations: 1.335 MB / 0.5849 GB, free: 28.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3477, allocations: 0 / 0.5849 GB, free: 28.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3478, allocations: 0 / 0.5849 GB, free: 28.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.3478, allocations: 0 / 0.5849 GB, free: 28.52 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.007497/0.3553, allocations: 2.352 MB / 0.5872 GB, free: 27.44 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.3553, allocations: 16.5 kB / 0.5872 GB, free: 27.44 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005095/0.3605, allocations: 0.7501 MB / 0.588 GB, free: 27.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.3615, allocations: 0.7145 MB / 0.5887 GB, free: 26.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002328/0.3618, allocations: 249.7 kB / 0.5889 GB, free: 26.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.3619, allocations: 67.59 kB / 0.589 GB, free: 26.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/0.3639, allocations: 0.9569 MB / 0.5899 GB, free: 26.19 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.3639, allocations: 3.938 kB / 0.5899 GB, free: 26.19 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.129e-05/0.364, allocations: 29.48 kB / 0.5899 GB, free: 26.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/0.364, allocations: 16.53 kB / 0.59 GB, free: 26.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/0.3661, allocations: 0.9786 MB / 0.5909 GB, free: 25.85 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.005098/0.3712, allocations: 3.176 MB / 0.594 GB, free: 24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.373, allocations: 1.3 MB / 0.5953 GB, free: 23.1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/0.3743, allocations: 0.7092 MB / 0.596 GB, free: 22.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.3744, allocations: 15.41 kB / 0.596 GB, free: 22.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.3744, allocations: 38.72 kB / 0.596 GB, free: 22.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 2.985e-06/0.3745, allocations: 1.219 kB / 0.596 GB, free: 22.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.02751/0.402, allocations: 6.758 MB / 0.6026 GB, free: 21.58 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.402, allocations: 64.92 kB / 0.6027 GB, free: 21.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.4032, allocations: 0.8042 MB / 0.6035 GB, free: 21.15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001967/0.4034, allocations: 40.7 kB / 0.6035 GB, free: 21.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/0.4037, allocations: 433.5 kB / 0.6039 GB, free: 20.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002766/0.4039, allocations: 294.3 kB / 0.6042 GB, free: 20.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003602/0.4043, allocations: 181.3 kB / 0.6044 GB, free: 20.45 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.978e-05/0.4044, allocations: 343.1 kB / 0.6047 GB, free: 20.12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/0.4058, allocations: 0.6546 MB / 0.6053 GB, free: 19.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/0.4072, allocations: 0.7747 MB / 0.6061 GB, free: 19.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01796/0.4252, allocations: 4.505 MB / 0.6105 GB, free: 18.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/0.4253, allocations: 1.062 kB / 0.6105 GB, free: 18.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01383/0.4391, allocations: 4.12 MB / 0.6145 GB, free: 16.78 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.4392, allocations: 5.375 kB / 0.6145 GB, free: 16.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.4392, allocations: 2.562 kB / 0.6145 GB, free: 16.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006099/0.4453, allocations: 1.788 MB / 0.6163 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008348/0.4462, allocations: 171.7 kB / 0.6164 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01844/0.4646, allocations: 9.347 MB / 0.6256 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/0.4662, allocations: 151 kB / 0.6257 GB, free: 6.098 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.4664, allocations: 39.98 kB / 0.6258 GB, free: 6.059 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.0005027/0.4669, allocations: 228.8 kB / 0.626 GB, free: 5.828 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/0.4671, allocations: 98.78 kB / 0.6261 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/0.4785, allocations: 3.833 MB / 0.6298 GB, free: 1.879 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.4785, allocations: 12 kB / 0.6298 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4786, allocations: 0 / 0.6298 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.105e-05/0.4786, allocations: 3.984 kB / 0.6298 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01426/0.4928, allocations: 5.356 MB / 0.6351 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/0.4929, allocations: 0 / 0.6351 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006095/0.4935, allocations: 91.89 kB / 0.6351 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005977/0.4995, allocations: 1.749 MB / 0.6369 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001733/0.4997, allocations: 16 kB / 0.6369 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01865/0.5184, allocations: 8.076 MB / 0.6448 GB, free: 2.281 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.5184, allocations: 11.88 kB / 0.6448 GB, free: 2.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01481/0.5332, allocations: 4.712 MB / 0.6494 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003595/0.5336, allocations: 187.7 kB / 0.6495 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.5338, allocations: 16 kB / 0.6496 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009651/0.5348, allocations: 91.89 kB / 0.6496 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000631/0.5354, allocations: 196.7 kB / 0.6498 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.19e-05/0.5355, allocations: 24 kB / 0.6499 GB, free: 13.01 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000637/0.5361, allocations: 0.5343 MB / 0.6504 GB, free: 12.46 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5361, allocations: 0 / 0.6504 GB, free: 12.46 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001129/0.5373, allocations: 407.6 kB / 0.6508 GB, free: 12.07 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.0002357/0.5375, allocations: 123.1 kB / 0.6509 GB, free: 11.93 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006611/0.5441, allocations: 2.365 MB / 0.6532 GB, free: 9.551 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.5442, allocations: 0 / 0.6532 GB, free: 9.551 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004682/0.5489, allocations: 1.492 MB / 0.6547 GB, free: 8.047 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.5501, allocations: 93.23 kB / 0.6547 GB, free: 7.957 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003751/0.5538, allocations: 2.094 MB / 0.6568 GB, free: 5.84 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005917/0.5544, allocations: 1.029 MB / 0.6578 GB, free: 4.785 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003109/0.5548, allocations: 78.19 kB / 0.6579 GB, free: 4.707 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.555, allocations: 59.42 kB / 0.6579 GB, free: 4.648 MB / 462.1 MB Notification: Performance of SimCode: time 1.021e-06/0.555, allocations: 0 / 0.6579 GB, free: 4.648 MB / 462.1 MB Notification: Performance of Templates: time 0.03241/0.5874, allocations: 21.37 MB / 0.6788 GB, free: 15.29 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)