Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001502/0.001502, allocations: 185.8 kB / 8.352 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.329/1.329, allocations: 194.3 MB / 203.1 MB, free: 13.03 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001649/0.001649, allocations: 105.6 kB / 248.1 MB, free: 28 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.487e-05/1.491e-05, allocations: 11.94 kB / 298.1 MB, free: 35.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06666/0.06669, allocations: 44.5 MB / 342.6 MB, free: 6.98 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2752/0.3419, allocations: 87.94 MB / 430.5 MB, free: 8.531 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.3422, allocations: 85.33 kB / 430.6 MB, free: 8.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05477/0.397, allocations: 22.64 MB / 453.3 MB, free: 13.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.397, allocations: 0 / 453.3 MB, free: 13.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.645e-05/0.3971, allocations: 20 kB / 453.3 MB, free: 13 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002143/0.3993, allocations: 0.9689 MB / 454.2 MB, free: 12.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.3993, allocations: 16.02 kB / 454.3 MB, free: 12.03 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006129/0.3999, allocations: 150.5 kB / 454.4 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.4013, allocations: 0.6872 MB / 455.1 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/0.4014, allocations: 24 kB / 455.1 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.4015, allocations: 44 kB / 455.2 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008389/0.4023, allocations: 435.5 kB / 455.6 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.4034, allocations: 0.6315 MB / 456.2 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/0.4035, allocations: 7.906 kB / 456.2 MB, free: 10.49 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.257e-05/0.4035, allocations: 0 / 456.2 MB, free: 10.49 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.731e-05/0.4035, allocations: 20 kB / 456.2 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004275/0.4078, allocations: 3.299 MB / 459.5 MB, free: 7.633 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.4082, allocations: 197.5 kB / 459.7 MB, free: 7.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.4084, allocations: 85.61 kB / 459.8 MB, free: 7.445 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.4084, allocations: 4 kB / 459.8 MB, free: 7.441 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.4084, allocations: 37.75 kB / 459.9 MB, free: 7.398 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 2.094e-06/0.4084, allocations: 0 / 459.9 MB, free: 7.398 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.001383/0.4098, allocations: 0.763 MB / 460.6 MB, free: 6.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.4099, allocations: 81.34 kB / 460.7 MB, free: 6.582 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000648/0.4105, allocations: 0.5168 MB / 461.2 MB, free: 6.191 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.4106, allocations: 25.7 kB / 461.2 MB, free: 6.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/0.4108, allocations: 0.4985 MB / 461.7 MB, free: 5.781 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.515e-05/0.4109, allocations: 104 kB / 461.8 MB, free: 5.691 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.536e-05/0.4109, allocations: 0 / 461.8 MB, free: 5.691 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.4111, allocations: 373.5 kB / 462.2 MB, free: 5.344 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.4112, allocations: 98.38 kB / 462.3 MB, free: 5.289 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/0.4115, allocations: 375 kB / 462.7 MB, free: 4.836 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.4118, allocations: 164 kB / 462.8 MB, free: 4.727 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4118, allocations: 3.938 kB / 462.8 MB, free: 4.723 MB / 314.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007138/0.4125, allocations: 0.5054 MB / 463.3 MB, free: 4.293 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.4125, allocations: 8 kB / 463.3 MB, free: 4.285 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.4126, allocations: 12 kB / 463.4 MB, free: 4.273 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001282/0.4127, allocations: 40.59 kB / 463.4 MB, free: 4.234 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004338/0.4131, allocations: 143.7 kB / 463.5 MB, free: 4.098 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008507/0.414, allocations: 1.242 MB / 464.8 MB, free: 2.777 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004173/0.4144, allocations: 19.95 kB / 464.8 MB, free: 2.758 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.4145, allocations: 39.11 kB / 464.8 MB, free: 2.727 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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.0001174/0.4146, allocations: 132.5 kB / 465 MB, free: 2.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.159e-05/0.4147, allocations: 67.16 kB / 465 MB, free: 2.523 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004129/0.4151, allocations: 258.4 kB / 465.3 MB, free: 2.328 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.4151, allocations: 4 kB / 465.3 MB, free: 2.324 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.4152, allocations: 3.953 kB / 465.3 MB, free: 2.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.4152, allocations: 3.984 kB / 465.3 MB, free: 2.316 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.4164, allocations: 0.913 MB / 466.2 MB, free: 1.559 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.4164, allocations: 7.984 kB / 466.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002986/0.4167, allocations: 64.12 kB / 466.3 MB, free: 1.488 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.826e-05/0.4168, allocations: 22.42 kB / 466.3 MB, free: 1.469 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.4168, allocations: 3.984 kB / 466.3 MB, free: 1.465 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008465/0.4177, allocations: 1.228 MB / 467.5 MB, free: 164 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.4177, allocations: 0 / 467.5 MB, free: 164 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008051/0.4185, allocations: 0.5589 MB / 468.1 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002249/0.4187, allocations: 156.7 kB / 468.2 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.869e-05/0.4188, allocations: 4 kB / 468.3 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/0.4192, allocations: 22.98 kB / 468.3 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.491e-05/0.4193, allocations: 30.67 kB / 468.3 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.4193, allocations: 8 kB / 468.3 MB, free: 15.39 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005241/0.4199, allocations: 396.5 kB / 468.7 MB, free: 15.12 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4199, allocations: 0 / 468.7 MB, free: 15.12 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007861/0.4207, allocations: 150.9 kB / 468.8 MB, free: 14.98 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * 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.0004016/0.4211, allocations: 258.8 kB / 469.1 MB, free: 14.74 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006109/0.4217, allocations: 391.1 kB / 469.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4217, allocations: 0 / 469.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002664/0.422, allocations: 206.8 kB / 469.7 MB, free: 14.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007744/0.4228, allocations: 162.7 kB / 469.8 MB, free: 14.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.4247, allocations: 0.9886 MB / 470.8 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005401/0.4252, allocations: 0.9565 MB / 471.8 MB, free: 12.17 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003431/0.4256, allocations: 85.55 kB / 471.9 MB, free: 12.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.684e-05/0.4257, allocations: 52.81 kB / 471.9 MB, free: 12.04 MB / 330.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4257, allocations: 0 / 471.9 MB, free: 12.04 MB / 330.7 MB Notification: Performance of Templates: time 0.01329/0.439, allocations: 7.015 MB / 478.9 MB, free: 5.035 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1)