Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008511/0.008511, allocations: 165.8 kB / 15.11 MB, free: 5.973 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.276/1.276, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.00169/0.00169, allocations: 118.5 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004767, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.22, allocations: 38.77 MB / 312.9 MB, free: 38.79 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1035/0.3235, allocations: 88.1 MB / 401 MB, free: 2.387 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.3239, allocations: 87.94 kB / 401.1 MB, free: 2.301 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2547/0.5786, allocations: 28.2 MB / 429.3 MB, free: 80.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.5787, allocations: 2.531 kB / 429.3 MB, free: 80.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001253/0.5788, allocations: 25.28 kB / 429.3 MB, free: 80.86 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.00344/0.5822, allocations: 1.249 MB / 430.6 MB, free: 80.13 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.5823, allocations: 9.688 kB / 430.6 MB, free: 80.13 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.5834, allocations: 202.7 kB / 430.8 MB, free: 80.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001981/0.5854, allocations: 0.7899 MB / 431.6 MB, free: 79.74 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.887e-05/0.5855, allocations: 79.38 kB / 431.6 MB, free: 79.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/0.5857, allocations: 97.81 kB / 431.7 MB, free: 79.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.5874, allocations: 0.9225 MB / 432.7 MB, free: 79.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.646e-05/0.5875, allocations: 10.34 kB / 432.7 MB, free: 79.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.034e-05/0.5876, allocations: 40.92 kB / 432.7 MB, free: 79.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.5876, allocations: 24.34 kB / 432.7 MB, free: 79.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.5889, allocations: 0.6441 MB / 433.4 MB, free: 79.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005557/0.5945, allocations: 3.917 MB / 437.3 MB, free: 76.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006851/0.5952, allocations: 457.1 kB / 437.7 MB, free: 76.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.5953, allocations: 3.938 kB / 437.7 MB, free: 76.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.5953, allocations: 38.53 kB / 437.8 MB, free: 76.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 2.595e-06/0.5953, allocations: 0 / 437.8 MB, free: 76.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.003022/0.5983, allocations: 1.452 MB / 439.2 MB, free: 75.61 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.5984, allocations: 81.45 kB / 439.3 MB, free: 75.51 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.5994, allocations: 0.6974 MB / 440 MB, free: 75.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.5994, allocations: 41.52 kB / 440 MB, free: 75.15 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002912/0.5997, allocations: 0.5475 MB / 440.6 MB, free: 74.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.5999, allocations: 170.4 kB / 440.8 MB, free: 74.59 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-05/0.5999, allocations: 11.84 kB / 440.8 MB, free: 74.58 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.019e-05/0.6, allocations: 342.9 kB / 441.1 MB, free: 74.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.6003, allocations: 173.8 kB / 441.3 MB, free: 74.19 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004433/0.6007, allocations: 469.6 kB / 441.7 MB, free: 73.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004666/0.6012, allocations: 243.7 kB / 442 MB, free: 73.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.6012, allocations: 3.281 kB / 442 MB, free: 73.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001362/0.6026, allocations: 0.7806 MB / 442.8 MB, free: 73.28 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.6026, allocations: 11.66 kB / 442.8 MB, free: 73.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/0.6027, allocations: 13.56 kB / 442.8 MB, free: 73.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002878/0.603, allocations: 83.94 kB / 442.9 MB, free: 73.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005122/0.6035, allocations: 161.7 kB / 443 MB, free: 73.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/0.6054, allocations: 2.93 MB / 445.9 MB, free: 70.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007341/0.6062, allocations: 48.22 kB / 446 MB, free: 70.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-05/0.6062, allocations: 31.84 kB / 446 MB, free: 70.36 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 (86): * Single equations (assignments): 84 * 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.0004724/0.6067, allocations: 255.2 kB / 446.3 MB, free: 70.15 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.6069, allocations: 86.62 kB / 446.4 MB, free: 70.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009035/0.6078, allocations: 0.5028 MB / 446.9 MB, free: 69.87 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.6078, allocations: 6.656 kB / 446.9 MB, free: 69.87 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6078, allocations: 0 / 446.9 MB, free: 69.87 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.6078, allocations: 7.094 kB / 446.9 MB, free: 69.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.61, allocations: 1.429 MB / 448.3 MB, free: 69.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.61, allocations: 256 / 448.3 MB, free: 69.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003062/0.6104, allocations: 82.44 kB / 448.4 MB, free: 69.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002107/0.6106, allocations: 75.8 kB / 448.5 MB, free: 69.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.654e-05/0.6107, allocations: 11.78 kB / 448.5 MB, free: 69.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.6126, allocations: 2.914 MB / 451.4 MB, free: 66.17 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6126, allocations: 3.906 kB / 451.4 MB, free: 66.17 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.6139, allocations: 0.8814 MB / 452.3 MB, free: 65.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004246/0.6144, allocations: 197.5 kB / 452.5 MB, free: 65.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.6145, allocations: 14.41 kB / 452.5 MB, free: 65.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004912/0.615, allocations: 28.09 kB / 452.5 MB, free: 65.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.978e-05/0.6151, allocations: 35.39 kB / 452.5 MB, free: 65.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/0.6152, allocations: 15.78 kB / 452.6 MB, free: 65.38 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000804/0.616, allocations: 0.5282 MB / 453.1 MB, free: 65.14 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.616, allocations: 0 / 453.1 MB, free: 65.14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001341/0.6173, allocations: 245.7 kB / 453.3 MB, free: 65.11 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 (40): * Single equations (assignments): 38 * 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.0006226/0.618, allocations: 303.8 kB / 453.6 MB, free: 64.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001399/0.6194, allocations: 0.7138 MB / 454.3 MB, free: 64.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.6194, allocations: 4.125 kB / 454.3 MB, free: 64.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006229/0.62, allocations: 457.5 kB / 454.8 MB, free: 64.26 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.6212, allocations: 209.3 kB / 455 MB, free: 64.19 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0046/0.6258, allocations: 2.11 MB / 457.1 MB, free: 62.85 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008776/0.6267, allocations: 1.031 MB / 458.1 MB, free: 62.13 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005894/0.6273, allocations: 108.5 kB / 458.2 MB, free: 62.1 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.6275, allocations: 64.44 kB / 458.3 MB, free: 62.05 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6275, allocations: 0 / 458.3 MB, free: 62.05 MB / 314.7 MB Notification: Performance of Templates: time 0.0205/0.648, allocations: 11.87 MB / 470.2 MB, free: 50.71 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1)