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.007116/0.007116, allocations: 173.4 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05135/0.05135, allocations: 8.797 MB / 24.65 MB, free: 4.098 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.201/1.201, allocations: 223.2 MB / 250.7 MB, free: 6.562 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.0008576/0.0008576, allocations: 101.3 kB / 304 MB, free: 4.023 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003207, allocations: 8 kB / 367.1 MB, free: 4.973 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2125, allocations: 52.55 MB / 419.6 MB, free: 48.19 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08708/0.2997, allocations: 82.12 MB / 0.49 GB, free: 6.992 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001774/0.2999, allocations: 63.97 kB / 0.49 GB, free: 6.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01252/0.3124, allocations: 5.133 MB / 0.495 GB, free: 1.797 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3124, allocations: 0 / 0.495 GB, free: 1.797 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.3125, allocations: 4 kB / 0.495 GB, free: 1.793 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.0007097/0.3132, allocations: 0.5576 MB / 0.4956 GB, free: 1.188 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.3132, allocations: 8.562 kB / 0.4956 GB, free: 1.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.379e-05/0.3133, allocations: 31.62 kB / 0.4956 GB, free: 1.148 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.3136, allocations: 255.3 kB / 0.4959 GB, free: 0.8594 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.3136, allocations: 24.66 kB / 0.4959 GB, free: 0.8359 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.023e-05/0.3137, allocations: 35.91 kB / 0.4959 GB, free: 0.8008 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/0.3141, allocations: 270 kB / 0.4962 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.3142, allocations: 4 kB / 0.4962 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.3142, allocations: 19.95 kB / 0.4962 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.3142, allocations: 8 kB / 0.4962 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004328/0.3147, allocations: 218.5 kB / 0.4964 GB, free: 292 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.3162, allocations: 1.094 MB / 0.4975 GB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003304/0.3166, allocations: 158.5 kB / 0.4976 GB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.3166, allocations: 0 / 0.4976 GB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.3166, allocations: 34.5 kB / 0.4977 GB, free: 14.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 9.72e-07/0.3166, allocations: 0 / 0.4977 GB, free: 14.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001308/0.318, allocations: 0.7123 MB / 0.4984 GB, free: 14.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.318, allocations: 55.36 kB / 0.4984 GB, free: 14.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.3182, allocations: 174.4 kB / 0.4986 GB, free: 13.87 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.3182, allocations: 29.7 kB / 0.4986 GB, free: 13.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.506e-05/0.3183, allocations: 188.1 kB / 0.4988 GB, free: 13.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.3183, allocations: 55.2 kB / 0.4988 GB, free: 13.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-06/0.3184, allocations: 4 kB / 0.4989 GB, free: 13.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.991e-05/0.3185, allocations: 326.8 kB / 0.4992 GB, free: 13.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.3186, allocations: 67.95 kB / 0.4992 GB, free: 13.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.3188, allocations: 100.2 kB / 0.4993 GB, free: 13.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.319, allocations: 76.7 kB / 0.4994 GB, free: 13.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.319, allocations: 4 kB / 0.4994 GB, free: 13 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004469/0.3195, allocations: 236.3 kB / 0.4996 GB, free: 12.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3195, allocations: 4 kB / 0.4996 GB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3195, allocations: 8.125 kB / 0.4996 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001144/0.3196, allocations: 20.84 kB / 0.4997 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.3198, allocations: 55.8 kB / 0.4997 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008676/0.3207, allocations: 1.272 MB / 0.501 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.3208, allocations: 19.95 kB / 0.501 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.3209, allocations: 11.94 kB / 0.501 GB, free: 11.24 MB / 378.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.0001357/0.321, allocations: 150.2 kB / 0.5011 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.321, allocations: 15.81 kB / 0.5011 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.175e-05/0.3211, allocations: 17.88 kB / 0.5012 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3211, allocations: 7.938 kB / 0.5012 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3211, allocations: 4 kB / 0.5012 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3211, allocations: 0 / 0.5012 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008027/0.3219, allocations: 0.6116 MB / 0.5018 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3219, allocations: 4 kB / 0.5018 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.3221, allocations: 31.98 kB / 0.5018 GB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.105e-05/0.3222, allocations: 28.91 kB / 0.5018 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.3222, allocations: 8 kB / 0.5018 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008371/0.3231, allocations: 1.28 MB / 0.5031 GB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3231, allocations: 0 / 0.5031 GB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005753/0.3237, allocations: 410.2 kB / 0.5035 GB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/0.3237, allocations: 92.92 kB / 0.5036 GB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.3238, allocations: 0 / 0.5036 GB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.3239, allocations: 27.98 kB / 0.5036 GB, free: 8.305 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.324, allocations: 11.92 kB / 0.5036 GB, free: 8.293 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.324, allocations: 11.98 kB / 0.5036 GB, free: 8.281 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001072/0.3241, allocations: 141.4 kB / 0.5038 GB, free: 8.145 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3241, allocations: 0 / 0.5038 GB, free: 8.145 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002981/0.3244, allocations: 52 kB / 0.5038 GB, free: 8.094 MB / 378.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.0001281/0.3246, allocations: 107.2 kB / 0.5039 GB, free: 7.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005622/0.3251, allocations: 284.7 kB / 0.5042 GB, free: 7.691 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3251, allocations: 256 / 0.5042 GB, free: 7.691 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002881/0.3254, allocations: 198.6 kB / 0.5044 GB, free: 7.484 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.3258, allocations: 30.36 kB / 0.5044 GB, free: 7.453 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.327, allocations: 0.857 MB / 0.5052 GB, free: 6.559 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.3273, allocations: 0.7596 MB / 0.506 GB, free: 5.773 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.268e-05/0.3274, allocations: 25.53 kB / 0.506 GB, free: 5.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.473e-05/0.3275, allocations: 15.44 kB / 0.506 GB, free: 5.734 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3275, allocations: 0 / 0.506 GB, free: 5.734 MB / 378.7 MB Notification: Performance of Templates: time 0.004444/0.3319, allocations: 2.012 MB / 0.508 GB, free: 3.75 MB / 378.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)