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.001465/0.001465, allocations: 164.4 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.196/1.196, allocations: 170.7 MB / 178.7 MB, free: 15.64 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.00158/0.00158, allocations: 107.5 kB / 218 MB, free: 8.414 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.473e-05/1.484e-05, allocations: 4 kB / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06193/0.06197, allocations: 38.78 MB / 301 MB, free: 3.629 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2507/0.3127, allocations: 87.34 MB / 388.3 MB, free: 13.39 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.313, allocations: 80.27 kB / 388.4 MB, free: 13.35 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07321/0.3862, allocations: 27.85 MB / 416.3 MB, free: 6.605 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3862, allocations: 4 kB / 416.3 MB, free: 6.602 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.62e-05/0.3863, allocations: 20 kB / 416.3 MB, free: 6.582 MB / 298.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.002083/0.3884, allocations: 1.109 MB / 417.4 MB, free: 5.492 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3884, allocations: 12.02 kB / 417.4 MB, free: 5.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007536/0.3892, allocations: 190.3 kB / 417.6 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/0.3908, allocations: 0.7943 MB / 418.4 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/0.3908, allocations: 32 kB / 418.4 MB, free: 4.598 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.391, allocations: 61.16 kB / 418.5 MB, free: 4.539 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009855/0.3919, allocations: 0.5369 MB / 419 MB, free: 4.219 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.3932, allocations: 0.7549 MB / 419.8 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/0.3932, allocations: 0 / 419.8 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.1e-05/0.3933, allocations: 4 kB / 419.8 MB, free: 3.652 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.3933, allocations: 24 kB / 419.8 MB, free: 3.629 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004551/0.3979, allocations: 3.727 MB / 423.5 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005456/0.3984, allocations: 417.6 kB / 423.9 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004395/0.3989, allocations: 230 kB / 424.2 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/0.3989, allocations: 15.98 kB / 424.2 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.399, allocations: 34.56 kB / 424.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 2.154e-06/0.399, allocations: 0 / 424.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.001863/0.4008, allocations: 1.104 MB / 425.3 MB, free: 13.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.4009, allocations: 85.53 kB / 425.4 MB, free: 13.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007085/0.4016, allocations: 0.5741 MB / 426 MB, free: 13.14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.4017, allocations: 25.7 kB / 426 MB, free: 13.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003487/0.402, allocations: 0.5641 MB / 426.6 MB, free: 12.53 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.4021, allocations: 161.7 kB / 426.7 MB, free: 12.37 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.4022, allocations: 0 / 426.7 MB, free: 12.37 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.4023, allocations: 390.8 kB / 427.1 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.4026, allocations: 133.6 kB / 427.2 MB, free: 11.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000389/0.403, allocations: 424.4 kB / 427.6 MB, free: 11.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/0.4033, allocations: 220.6 kB / 427.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.4033, allocations: 4 kB / 427.9 MB, free: 11.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001036/0.4044, allocations: 0.6611 MB / 428.5 MB, free: 10.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.4044, allocations: 8 kB / 428.5 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.4044, allocations: 19.98 kB / 428.5 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000264/0.4047, allocations: 97.89 kB / 428.6 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004899/0.4052, allocations: 155.7 kB / 428.8 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/0.4074, allocations: 2.871 MB / 431.7 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000479/0.4079, allocations: 27.95 kB / 431.7 MB, free: 7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-05/0.4079, allocations: 32 kB / 431.7 MB, free: 6.969 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 () * 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.0001306/0.4081, allocations: 132.6 kB / 431.9 MB, free: 6.832 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.4082, allocations: 83.05 kB / 431.9 MB, free: 6.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007438/0.4089, allocations: 445.7 kB / 432.4 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.409, allocations: 11.92 kB / 432.4 MB, free: 6.285 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.409, allocations: 4 kB / 432.4 MB, free: 6.281 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.409, allocations: 3.984 kB / 432.4 MB, free: 6.277 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.4107, allocations: 1.256 MB / 433.6 MB, free: 4.949 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.4107, allocations: 4.062 kB / 433.6 MB, free: 4.945 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/0.411, allocations: 75.91 kB / 433.7 MB, free: 4.871 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002196/0.4113, allocations: 81.73 kB / 433.8 MB, free: 4.785 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.4113, allocations: 4 kB / 433.8 MB, free: 4.781 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/0.4135, allocations: 2.859 MB / 436.7 MB, free: 1.684 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.4135, allocations: 4 kB / 436.7 MB, free: 1.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.4146, allocations: 0.8088 MB / 437.5 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003147/0.4149, allocations: 184.2 kB / 437.7 MB, free: 0.582 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.415, allocations: 4 kB / 437.7 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004539/0.4155, allocations: 32.03 kB / 437.7 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.532e-05/0.4156, allocations: 31.95 kB / 437.7 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.4156, allocations: 16 kB / 437.7 MB, free: 0.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006546/0.4163, allocations: 439.1 kB / 438.2 MB, free: 80 kB / 314.7 MB Notification: Performance of sort global known variables: time 2.225e-06/0.4163, allocations: 0 / 438.2 MB, free: 80 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009269/0.4172, allocations: 204 kB / 438.4 MB, free: 15.88 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.0004284/0.4177, allocations: 277.1 kB / 438.6 MB, free: 15.6 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.4188, allocations: 0.63 MB / 439.3 MB, free: 14.95 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.4188, allocations: 0 / 439.3 MB, free: 14.95 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005652/0.4194, allocations: 420.9 kB / 439.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008881/0.4203, allocations: 171.9 kB / 439.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/0.4229, allocations: 1.222 MB / 441.1 MB, free: 13.08 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007249/0.4236, allocations: 1.024 MB / 442.1 MB, free: 12.03 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004739/0.4241, allocations: 98.77 kB / 442.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.4243, allocations: 59.38 kB / 442.2 MB, free: 11.87 MB / 330.7 MB Notification: Performance of SimCode: time 2.786e-06/0.4243, allocations: 0 / 442.2 MB, free: 11.87 MB / 330.7 MB Notification: Performance of Templates: time 0.01649/0.4408, allocations: 8.947 MB / 451.2 MB, free: 2.906 MB / 330.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)