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.0009965/0.0009964, allocations: 171.5 kB / 7.638 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.348/1.348, 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.001592/0.001592, allocations: 111.4 kB / 218 MB, free: 8.402 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.181e-05/1.183e-05, allocations: 4 kB / 262.2 MB, free: 26.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06001/0.06003, allocations: 38.78 MB / 301 MB, free: 3.625 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2379/0.298, allocations: 88.13 MB / 389.1 MB, free: 12.54 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.2983, allocations: 82.95 kB / 389.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07323/0.3715, allocations: 28.31 MB / 417.5 MB, free: 5.383 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3716, allocations: 4 kB / 417.5 MB, free: 5.379 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.54e-05/0.3717, allocations: 28 kB / 417.5 MB, free: 5.352 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.00213/0.3738, allocations: 1.13 MB / 418.7 MB, free: 4.242 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3739, allocations: 16.03 kB / 418.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007442/0.3746, allocations: 186.3 kB / 418.9 MB, free: 4.043 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.3762, allocations: 0.8031 MB / 419.7 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.961e-05/0.3763, allocations: 32 kB / 419.7 MB, free: 3.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.3764, allocations: 65.28 kB / 419.8 MB, free: 3.277 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001014/0.3774, allocations: 0.5438 MB / 420.3 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.3788, allocations: 0.7575 MB / 421.1 MB, free: 2.367 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.548e-05/0.3788, allocations: 11.92 kB / 421.1 MB, free: 2.355 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.278e-05/0.3789, allocations: 3.938 kB / 421.1 MB, free: 2.352 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.3789, allocations: 24 kB / 421.1 MB, free: 2.328 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004967/0.3839, allocations: 3.768 MB / 424.9 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005608/0.3845, allocations: 424.5 kB / 425.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004462/0.3849, allocations: 234 kB / 425.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.957e-05/0.385, allocations: 4 kB / 425.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.385, allocations: 42.5 kB / 425.6 MB, free: 13.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 2.945e-06/0.385, allocations: 0 / 425.6 MB, free: 13.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.002098/0.3872, allocations: 1.128 MB / 426.7 MB, free: 12.44 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.3872, allocations: 81.55 kB / 426.8 MB, free: 12.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007933/0.388, allocations: 0.6016 MB / 427.4 MB, free: 11.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.388, allocations: 25.7 kB / 427.4 MB, free: 11.7 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003863/0.3884, allocations: 0.5681 MB / 428 MB, free: 11.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.3886, allocations: 161.7 kB / 428.1 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/0.3886, allocations: 4 kB / 428.1 MB, free: 10.96 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.3888, allocations: 386.7 kB / 428.5 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.389, allocations: 141.6 kB / 428.6 MB, free: 10.44 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003956/0.3894, allocations: 432.3 kB / 429.1 MB, free: 9.879 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.3898, allocations: 228.6 kB / 429.3 MB, free: 9.656 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.3898, allocations: 0 / 429.3 MB, free: 9.656 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001071/0.3909, allocations: 0.6726 MB / 430 MB, free: 8.973 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.3909, allocations: 8 kB / 430 MB, free: 8.965 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.3909, allocations: 12.41 kB / 430 MB, free: 8.953 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002604/0.3912, allocations: 97.61 kB / 430.1 MB, free: 8.852 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005089/0.3917, allocations: 159.7 kB / 430.2 MB, free: 8.695 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/0.3939, allocations: 2.879 MB / 433.1 MB, free: 5.582 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005625/0.3945, allocations: 27.95 kB / 433.1 MB, free: 5.555 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-05/0.3946, allocations: 43.95 kB / 433.2 MB, free: 5.512 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 (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%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001533/0.3947, allocations: 124.7 kB / 433.3 MB, free: 5.383 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.3949, allocations: 82.97 kB / 433.4 MB, free: 5.301 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008241/0.3957, allocations: 462.1 kB / 433.8 MB, free: 4.828 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3957, allocations: 4 kB / 433.8 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.3957, allocations: 0 / 433.8 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.3958, allocations: 3.984 kB / 433.8 MB, free: 4.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/0.3977, allocations: 1.283 MB / 435.1 MB, free: 3.461 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/0.3977, allocations: 7.984 kB / 435.1 MB, free: 3.453 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.398, allocations: 75.91 kB / 435.2 MB, free: 3.379 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002195/0.3983, allocations: 85.89 kB / 435.3 MB, free: 3.289 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.3983, allocations: 11.94 kB / 435.3 MB, free: 3.277 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/0.4004, allocations: 2.875 MB / 438.2 MB, free: 176 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.4005, allocations: 0 / 438.2 MB, free: 176 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.4015, allocations: 0.8247 MB / 439 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002762/0.4018, allocations: 192 kB / 439.2 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.402, allocations: 4 kB / 439.2 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004278/0.4024, allocations: 31.97 kB / 439.2 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.4025, allocations: 35.91 kB / 439.3 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.4025, allocations: 16.09 kB / 439.3 MB, free: 14.96 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006199/0.4031, allocations: 459.2 kB / 439.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4032, allocations: 0 / 439.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008527/0.404, allocations: 195.9 kB / 439.9 MB, free: 14.32 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 (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%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003703/0.4044, allocations: 276.1 kB / 440.2 MB, free: 14.04 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009891/0.4054, allocations: 0.6408 MB / 440.8 MB, free: 13.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4054, allocations: 2 kB / 440.8 MB, free: 13.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005571/0.406, allocations: 427.6 kB / 441.2 MB, free: 12.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000859/0.4068, allocations: 174.3 kB / 441.4 MB, free: 12.78 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.4092, allocations: 1.253 MB / 442.7 MB, free: 11.47 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006912/0.4099, allocations: 1.036 MB / 443.7 MB, free: 10.41 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004631/0.4104, allocations: 106.9 kB / 443.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.4105, allocations: 51.44 kB / 443.9 MB, free: 10.25 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.4105, allocations: 0 / 443.9 MB, free: 10.25 MB / 330.7 MB Notification: Performance of Templates: time 0.01678/0.4273, allocations: 9.105 MB / 453 MB, free: 1.129 MB / 330.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)