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.00106/0.00106, allocations: 164.2 kB / 12.72 MB, free: 2.59 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.265/1.265, allocations: 170.6 MB / 183.8 MB, free: 11.47 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.001647/0.001647, allocations: 102.8 kB / 223.2 MB, free: 4.102 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.136e-05/3.138e-05, allocations: 4 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07157/0.07161, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2518/0.3235, allocations: 88.02 MB / 395.7 MB, free: 4.492 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.3238, allocations: 82.64 kB / 395.7 MB, free: 4.449 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07912/0.4029, allocations: 28.24 MB / 424 MB, free: 12.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4029, allocations: 7.938 kB / 424 MB, free: 12.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.626e-05/0.403, allocations: 20 kB / 424 MB, free: 12.57 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.001802/0.4048, allocations: 1.115 MB / 425.1 MB, free: 11.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.4049, allocations: 8.031 kB / 425.1 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006457/0.4055, allocations: 186.3 kB / 425.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/0.4069, allocations: 0.7844 MB / 426.1 MB, free: 10.63 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.793e-05/0.407, allocations: 73.19 kB / 426.2 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.4072, allocations: 107.5 kB / 426.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.4086, allocations: 0.898 MB / 427.2 MB, free: 9.898 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/0.4087, allocations: 3.125 kB / 427.2 MB, free: 9.898 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-05/0.4088, allocations: 44.81 kB / 427.2 MB, free: 9.883 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.4088, allocations: 24 kB / 427.2 MB, free: 9.859 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.4098, allocations: 0.5886 MB / 427.8 MB, free: 9.492 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004744/0.4146, allocations: 3.912 MB / 431.7 MB, free: 5.723 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005752/0.4152, allocations: 436.1 kB / 432.2 MB, free: 5.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004586/0.4156, allocations: 240.8 kB / 432.4 MB, free: 5.031 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.4157, allocations: 4 kB / 432.4 MB, free: 5.027 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.4157, allocations: 42.5 kB / 432.4 MB, free: 4.977 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 2.524e-06/0.4157, allocations: 0 / 432.4 MB, free: 4.977 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.002005/0.4177, allocations: 1.209 MB / 433.7 MB, free: 3.707 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.92e-05/0.4178, allocations: 81.55 kB / 433.7 MB, free: 3.609 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008547/0.4187, allocations: 0.6763 MB / 434.4 MB, free: 2.926 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/0.4187, allocations: 41.69 kB / 434.4 MB, free: 2.879 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/0.4191, allocations: 0.5447 MB / 435 MB, free: 2.324 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.4192, allocations: 177.6 kB / 435.2 MB, free: 2.148 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.4193, allocations: 12 kB / 435.2 MB, free: 2.137 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.4194, allocations: 341.9 kB / 435.5 MB, free: 1.797 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.4197, allocations: 153.6 kB / 435.7 MB, free: 1.648 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004379/0.4201, allocations: 442 kB / 436.1 MB, free: 1.078 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.4205, allocations: 233.5 kB / 436.3 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.4205, allocations: 4 kB / 436.3 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00115/0.4217, allocations: 0.7546 MB / 437.1 MB, free: 80 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.4217, allocations: 12 kB / 437.1 MB, free: 68 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.4217, allocations: 8 kB / 437.1 MB, free: 60 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003138/0.422, allocations: 102 kB / 437.2 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004881/0.4225, allocations: 151.8 kB / 437.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002504/0.425, allocations: 2.997 MB / 440.3 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005763/0.4256, allocations: 43.95 kB / 440.4 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.041e-05/0.4257, allocations: 32 kB / 440.4 MB, free: 12.46 MB / 330.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * 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%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001645/0.4259, allocations: 156.7 kB / 440.6 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.426, allocations: 82.97 kB / 440.7 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008792/0.4269, allocations: 494.5 kB / 441.1 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.4269, allocations: 4 kB / 441.1 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4269, allocations: 7.953 kB / 441.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.4269, allocations: 3.984 kB / 441.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/0.429, allocations: 1.427 MB / 442.6 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.429, allocations: 3.938 kB / 442.6 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003228/0.4293, allocations: 75.91 kB / 442.7 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002311/0.4296, allocations: 77.67 kB / 442.7 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.4296, allocations: 20.02 kB / 442.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002345/0.432, allocations: 2.978 MB / 445.7 MB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.432, allocations: 11.92 kB / 445.7 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.4331, allocations: 0.8404 MB / 446.6 MB, free: 5.824 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003036/0.4334, allocations: 204 kB / 446.8 MB, free: 5.605 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.039e-05/0.4335, allocations: 11.95 kB / 446.8 MB, free: 5.594 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004322/0.434, allocations: 35.98 kB / 446.8 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.888e-05/0.4341, allocations: 31.95 kB / 446.9 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/0.4341, allocations: 12 kB / 446.9 MB, free: 5.516 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000707/0.4348, allocations: 0.5226 MB / 447.4 MB, free: 4.996 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4348, allocations: 0 / 447.4 MB, free: 4.996 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009143/0.4357, allocations: 247.9 kB / 447.6 MB, free: 4.754 MB / 330.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * 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%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004207/0.4362, allocations: 295.1 kB / 447.9 MB, free: 4.453 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.4372, allocations: 0.6826 MB / 448.6 MB, free: 3.746 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4372, allocations: 0 / 448.6 MB, free: 3.746 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005814/0.4378, allocations: 439 kB / 449 MB, free: 3.293 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008929/0.4387, allocations: 213.5 kB / 449.2 MB, free: 3.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.4409, allocations: 1.272 MB / 450.5 MB, free: 1.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005903/0.4415, allocations: 1.036 MB / 451.6 MB, free: 0.707 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004525/0.442, allocations: 103.5 kB / 451.7 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.4421, allocations: 59.44 kB / 451.7 MB, free: 0.543 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.4421, allocations: 0 / 451.7 MB, free: 0.543 MB / 330.7 MB Notification: Performance of Templates: time 0.02254/0.4646, allocations: 12.29 MB / 464 MB, free: 4.242 MB / 346.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)