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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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) 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 HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.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) 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 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 171.6 kB / 7.641 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04132/0.04132, allocations: 8.713 MB / 16.79 MB, free: 3.375 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.391/1.391, allocations: 221.5 MB / 240.9 MB, free: 13.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009969/0.0009967, allocations: 94.03 kB / 293.9 MB, free: 7.203 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.016e-05/2.004e-05, allocations: 4 kB / 352.6 MB, free: 1.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1216, allocations: 52.53 MB / 405.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4035/0.5251, allocations: 81.39 MB / 486.6 MB, free: 5.996 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.5254, allocations: 66.34 kB / 486.6 MB, free: 5.965 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01134/0.5367, allocations: 5.054 MB / 491.7 MB, free: 1.578 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5368, allocations: 0 / 491.7 MB, free: 1.578 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.782e-05/0.5368, allocations: 8 kB / 491.7 MB, free: 1.57 MB / 346.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.0006293/0.5374, allocations: 0.5287 MB / 492.2 MB, free: 1.008 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.5375, allocations: 13.73 kB / 492.2 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.721e-05/0.5376, allocations: 31.62 kB / 492.3 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.5378, allocations: 258.8 kB / 492.5 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.5379, allocations: 12 kB / 492.5 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.5379, allocations: 20 kB / 492.5 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002806/0.5382, allocations: 169.5 kB / 492.7 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.5385, allocations: 208.2 kB / 492.9 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.5386, allocations: 7.906 kB / 492.9 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.5386, allocations: 3.984 kB / 492.9 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.5386, allocations: 8 kB / 492.9 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.5402, allocations: 1.028 MB / 494 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.5405, allocations: 122.6 kB / 494.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.5406, allocations: 56.84 kB / 494.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.5407, allocations: 4.562 kB / 494.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.5407, allocations: 41.3 kB / 494.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.5407, allocations: 4 kB / 494.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008543/0.5416, allocations: 471.8 kB / 494.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.5416, allocations: 63.3 kB / 494.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.5418, allocations: 155.5 kB / 494.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.5419, allocations: 26.64 kB / 494.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.542, allocations: 179.9 kB / 495.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.634e-05/0.542, allocations: 63.09 kB / 495.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/0.5421, allocations: 4 kB / 495.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.5422, allocations: 326.8 kB / 495.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.483e-05/0.5423, allocations: 40 kB / 495.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.5424, allocations: 80.28 kB / 495.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.191e-05/0.5425, allocations: 51.98 kB / 495.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.5425, allocations: 0 / 495.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003097/0.5428, allocations: 188.1 kB / 495.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.5429, allocations: 8.844 kB / 495.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.5429, allocations: 0 / 495.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001278/0.543, allocations: 16.86 kB / 495.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.5432, allocations: 55.98 kB / 495.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.5442, allocations: 1.227 MB / 497.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.5444, allocations: 7.984 kB / 497.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.5444, allocations: 9 kB / 497.1 MB, free: 11.75 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 () * 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 9.968e-05/0.5445, allocations: 108.9 kB / 497.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.5446, allocations: 17.02 kB / 497.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.145e-05/0.5446, allocations: 22.61 kB / 497.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.5446, allocations: 0 / 497.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5446, allocations: 12.05 kB / 497.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5447, allocations: 0 / 497.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006705/0.5453, allocations: 0.499 MB / 497.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5453, allocations: 3.938 kB / 497.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.5456, allocations: 41.22 kB / 497.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.46e-05/0.5457, allocations: 29.61 kB / 497.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.5457, allocations: 4 kB / 497.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009193/0.5466, allocations: 1.226 MB / 499.1 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.5466, allocations: 1.641 kB / 499.1 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004208/0.547, allocations: 347.8 kB / 499.4 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.267e-05/0.5471, allocations: 88.92 kB / 499.5 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.5472, allocations: 4 kB / 499.5 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.5473, allocations: 12.03 kB / 499.5 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.5474, allocations: 12.77 kB / 499.5 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.5474, allocations: 12.52 kB / 499.5 MB, free: 9.109 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001075/0.5475, allocations: 128.3 kB / 499.7 MB, free: 8.984 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5475, allocations: 4 kB / 499.7 MB, free: 8.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003498/0.5479, allocations: 52 kB / 499.7 MB, free: 8.93 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 () * 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.0001482/0.548, allocations: 99.23 kB / 499.8 MB, free: 8.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004341/0.5485, allocations: 221.4 kB / 0.4883 GB, free: 8.598 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5485, allocations: 0 / 0.4883 GB, free: 8.598 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002665/0.5488, allocations: 177.9 kB / 0.4885 GB, free: 8.414 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.5491, allocations: 32.17 kB / 0.4885 GB, free: 8.383 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008927/0.55, allocations: 479.6 kB / 0.489 GB, free: 7.895 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.5504, allocations: 0.7672 MB / 0.4897 GB, free: 7.098 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.516e-05/0.5505, allocations: 21.84 kB / 0.4897 GB, free: 7.078 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.63e-05/0.5506, allocations: 15.44 kB / 0.4898 GB, free: 7.062 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5506, allocations: 0 / 0.4898 GB, free: 7.062 MB / 362.7 MB Notification: Performance of Templates: time 0.005145/0.5558, allocations: 1.794 MB / 0.4915 GB, free: 5.332 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)