Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Rotational.TestDCPMMachine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(HanserModelica.Rotational.TestDCPMMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.TestDCPMMachine") translateModel(HanserModelica.Rotational.TestDCPMMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.TestDCPMMachine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 170.1 kB / 16.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.03939/0.03939, allocations: 8.77 MB / 25.64 MB, free: 3.734 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.4 MB / 233.9 MB, free: 12.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007654/0.0007651, allocations: 94.28 kB / 284.4 MB, free: 14.33 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007288/0.0007291, allocations: 12 kB / 344.8 MB, free: 1.871 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3231, allocations: 49.72 MB / 394.5 MB, free: 36.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.458, allocations: 80.79 MB / 475.3 MB, free: 3.855 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/0.4583, allocations: 67.97 kB / 475.4 MB, free: 3.789 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01888/0.4772, allocations: 4.967 MB / 480.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4773, allocations: 4 kB / 480.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.495e-05/0.4773, allocations: 8 kB / 480.3 MB, free: 14.8 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001019/0.4783, allocations: 0.542 MB / 480.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.4784, allocations: 8.031 kB / 480.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.724e-05/0.4785, allocations: 32.56 kB / 480.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004181/0.4789, allocations: 269 kB / 481.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.479, allocations: 21.03 kB / 481.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.336e-05/0.479, allocations: 36.28 kB / 481.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007105/0.4798, allocations: 278.6 kB / 481.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.4798, allocations: 192 / 481.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.257e-05/0.4799, allocations: 19.94 kB / 481.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.4799, allocations: 4 kB / 481.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006446/0.4805, allocations: 222.4 kB / 481.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002324/0.4829, allocations: 1.094 MB / 482.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005338/0.4834, allocations: 158.5 kB / 483 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.4837, allocations: 80.83 kB / 483.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.4837, allocations: 4 kB / 483.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.525e-05/0.4838, allocations: 38.5 kB / 483.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 2.665e-06/0.4838, allocations: 0 / 483.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.002124/0.4859, allocations: 0.7109 MB / 483.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.486, allocations: 59.34 kB / 483.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/0.4863, allocations: 198.3 kB / 484.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.4863, allocations: 25.7 kB / 484.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.4865, allocations: 184.1 kB / 484.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.95e-05/0.4866, allocations: 59.19 kB / 484.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.34e-05/0.4866, allocations: 4 kB / 484.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.4868, allocations: 334.8 kB / 484.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002519/0.4871, allocations: 63.97 kB / 484.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/0.4874, allocations: 96.25 kB / 484.8 MB, free: 9.965 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005323/0.4879, allocations: 188 kB / 485 MB, free: 9.766 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4879, allocations: 0 / 485 MB, free: 9.766 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007806/0.4887, allocations: 236.7 kB / 485.3 MB, free: 9.527 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.4888, allocations: 8.125 kB / 485.3 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.4888, allocations: 3.938 kB / 485.3 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002067/0.489, allocations: 28.94 kB / 485.3 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.4893, allocations: 43.97 kB / 485.3 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.4907, allocations: 1.272 MB / 486.6 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/0.491, allocations: 12.03 kB / 486.6 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.491, allocations: 11.98 kB / 486.6 MB, free: 8.012 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002585/0.4913, allocations: 149.9 kB / 486.8 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.41e-05/0.4914, allocations: 15.81 kB / 486.8 MB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.667e-05/0.4915, allocations: 21.88 kB / 486.8 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.4915, allocations: 0 / 486.8 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.4915, allocations: 7.938 kB / 486.8 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.4915, allocations: 3.984 kB / 486.8 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.4929, allocations: 0.6139 MB / 487.4 MB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.493, allocations: 4 kB / 487.4 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/0.4933, allocations: 39.92 kB / 487.5 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001166/0.4934, allocations: 24.91 kB / 487.5 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.4935, allocations: 4 kB / 487.5 MB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/0.4948, allocations: 1.276 MB / 488.8 MB, free: 5.648 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.4948, allocations: 4.031 kB / 488.8 MB, free: 5.645 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009901/0.4958, allocations: 393.6 kB / 489.2 MB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.939e-05/0.4959, allocations: 88.92 kB / 489.3 MB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.496, allocations: 8 kB / 489.3 MB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.4962, allocations: 16.03 kB / 489.3 MB, free: 5.105 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.121e-05/0.4963, allocations: 19.92 kB / 489.3 MB, free: 5.086 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.4964, allocations: 4 kB / 489.3 MB, free: 5.082 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002146/0.4966, allocations: 144.2 kB / 489.4 MB, free: 4.941 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4966, allocations: 0 / 489.4 MB, free: 4.941 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006335/0.4972, allocations: 60 kB / 489.5 MB, free: 4.883 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (machine.inductor.i,load.phi,inertia.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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001634/0.4974, allocations: 103.2 kB / 489.6 MB, free: 4.773 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008398/0.4983, allocations: 270.6 kB / 489.9 MB, free: 4.496 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.4983, allocations: 256 / 489.9 MB, free: 4.496 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004422/0.4988, allocations: 200.3 kB / 490.1 MB, free: 4.289 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000677/0.4994, allocations: 31.92 kB / 490.1 MB, free: 4.258 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.5013, allocations: 0.8648 MB / 491 MB, free: 3.352 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.5018, allocations: 0.7596 MB / 491.7 MB, free: 2.562 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000145/0.5019, allocations: 17.55 kB / 491.7 MB, free: 2.547 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.212e-05/0.502, allocations: 15.44 kB / 491.8 MB, free: 2.531 MB / 362.7 MB Notification: Performance of SimCode: time 4.2e-07/0.502, allocations: 0 / 491.8 MB, free: 2.531 MB / 362.7 MB Notification: Performance of Templates: time 0.007619/0.5096, allocations: 2.049 MB / 493.8 MB, free: 0.4922 MB / 362.7 MB make -j1 -f HanserModelica_HanserModelica.Rotational.TestDCPMMachine.makefile (rm -f HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe ; mkfifo HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe >> ../files/HanserModelica_HanserModelica.Rotational.TestDCPMMachine.sim & ./HanserModelica_HanserModelica.Rotational.TestDCPMMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe 2>&1)