Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007577/0.007577, allocations: 164.5 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.175/1.175, allocations: 170.8 MB / 186.6 MB, free: 1.051 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001572/0.001572, allocations: 109.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003992/0.0003991, allocations: 11.98 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2466, allocations: 38.76 MB / 312.9 MB, free: 38.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1143/0.361, allocations: 88.89 MB / 401.8 MB, free: 1.605 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.3613, allocations: 83.95 kB / 401.9 MB, free: 1.523 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2673/0.6286, allocations: 28.67 MB / 430.5 MB, free: 81.19 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.6287, allocations: 0 / 430.5 MB, free: 81.19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.943e-05/0.6287, allocations: 24.88 kB / 430.6 MB, free: 81.19 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.002167/0.6309, allocations: 1.292 MB / 431.9 MB, free: 80.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.631, allocations: 8.641 kB / 431.9 MB, free: 80.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006276/0.6316, allocations: 195.2 kB / 432.1 MB, free: 80.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.633, allocations: 0.8111 MB / 432.9 MB, free: 80.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.693e-05/0.6331, allocations: 81.77 kB / 432.9 MB, free: 80.03 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.6332, allocations: 99.91 kB / 433 MB, free: 80.03 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.6347, allocations: 0.9341 MB / 434 MB, free: 79.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.6347, allocations: 3.938 kB / 434 MB, free: 79.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.172e-05/0.6348, allocations: 42.19 kB / 434 MB, free: 79.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.6348, allocations: 24.19 kB / 434 MB, free: 79.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.6359, allocations: 0.6601 MB / 434.7 MB, free: 79.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004352/0.6402, allocations: 3.957 MB / 438.7 MB, free: 76.85 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006277/0.6409, allocations: 466.5 kB / 439.1 MB, free: 76.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.969e-05/0.641, allocations: 7.781 kB / 439.1 MB, free: 76.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.641, allocations: 34.56 kB / 439.2 MB, free: 76.53 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 3.446e-06/0.641, allocations: 2.156 kB / 439.2 MB, free: 76.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.002656/0.6437, allocations: 1.526 MB / 440.7 MB, free: 75.6 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.6437, allocations: 81.36 kB / 440.8 MB, free: 75.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008072/0.6445, allocations: 0.7079 MB / 441.5 MB, free: 75.19 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.6446, allocations: 35.89 kB / 441.5 MB, free: 75.15 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002714/0.6449, allocations: 0.5588 MB / 442.1 MB, free: 74.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.276e-05/0.645, allocations: 177.6 kB / 442.2 MB, free: 74.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.43e-05/0.645, allocations: 15.53 kB / 442.3 MB, free: 74.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.416e-05/0.6451, allocations: 335.3 kB / 442.6 MB, free: 74.24 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/0.6454, allocations: 180.2 kB / 442.8 MB, free: 74.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003983/0.6458, allocations: 477.6 kB / 443.2 MB, free: 73.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/0.6462, allocations: 259.9 kB / 443.5 MB, free: 73.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.6462, allocations: 3.75 kB / 443.5 MB, free: 73.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001129/0.6473, allocations: 0.809 MB / 444.3 MB, free: 73.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.6473, allocations: 7.594 kB / 444.3 MB, free: 73.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.6474, allocations: 11.69 kB / 444.3 MB, free: 73.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002486/0.6476, allocations: 84.14 kB / 444.4 MB, free: 73.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005017/0.6481, allocations: 160.6 kB / 444.6 MB, free: 73.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/0.6498, allocations: 2.932 MB / 447.5 MB, free: 70.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006315/0.6505, allocations: 47.08 kB / 447.5 MB, free: 70.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.984e-05/0.6505, allocations: 31.44 kB / 447.6 MB, free: 70.34 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (87): * Single equations (assignments): 85 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004346/0.651, allocations: 268.3 kB / 447.8 MB, free: 70.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.958e-05/0.6511, allocations: 88.62 kB / 447.9 MB, free: 70.08 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009915/0.6521, allocations: 0.5309 MB / 448.4 MB, free: 69.82 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.6521, allocations: 6.75 kB / 448.4 MB, free: 69.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.6521, allocations: 3.594 kB / 448.5 MB, free: 69.82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.6521, allocations: 7.734 kB / 448.5 MB, free: 69.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/0.654, allocations: 1.479 MB / 449.9 MB, free: 68.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.654, allocations: 1.969 kB / 449.9 MB, free: 68.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/0.6543, allocations: 83.91 kB / 450 MB, free: 68.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000189/0.6545, allocations: 71.83 kB / 450.1 MB, free: 68.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.6546, allocations: 10.88 kB / 450.1 MB, free: 68.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001553/0.6561, allocations: 2.913 MB / 453 MB, free: 66.11 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.6561, allocations: 7.125 kB / 453 MB, free: 66.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.6573, allocations: 0.9188 MB / 453.9 MB, free: 65.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002926/0.6576, allocations: 197.3 kB / 454.1 MB, free: 65.33 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.74e-05/0.6577, allocations: 14.75 kB / 454.1 MB, free: 65.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003976/0.6581, allocations: 33.92 kB / 454.2 MB, free: 65.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.318e-05/0.6582, allocations: 38.48 kB / 454.2 MB, free: 65.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/0.6582, allocations: 24.97 kB / 454.2 MB, free: 65.3 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006535/0.6589, allocations: 0.5385 MB / 454.8 MB, free: 65.06 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6589, allocations: 0 / 454.8 MB, free: 65.06 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001154/0.66, allocations: 250 kB / 455 MB, free: 65.03 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * 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 (41): * Single equations (assignments): 39 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005777/0.6606, allocations: 295.7 kB / 455.3 MB, free: 64.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001392/0.662, allocations: 0.7344 MB / 456 MB, free: 64.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.662, allocations: 4.125 kB / 456.1 MB, free: 64.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006635/0.6627, allocations: 472 kB / 456.5 MB, free: 64.17 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009764/0.6637, allocations: 205.9 kB / 456.7 MB, free: 64.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/0.6665, allocations: 2.152 MB / 458.9 MB, free: 62.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.6669, allocations: 1.036 MB / 459.9 MB, free: 61.06 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000449/0.6673, allocations: 119.3 kB / 460 MB, free: 60.94 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.6675, allocations: 55.44 kB / 460.1 MB, free: 60.88 MB / 314.7 MB Notification: Performance of SimCode: time 7.62e-07/0.6675, allocations: 0 / 460.1 MB, free: 60.88 MB / 314.7 MB Notification: Performance of Templates: time 0.01859/0.6861, allocations: 11.98 MB / 472.1 MB, free: 48.94 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1)