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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,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=40000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 194.6 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.767/1.767, allocations: 205.1 MB / 222 MB, free: 4.727 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 51.92 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.421, allocations: 46.62 MB / 324.7 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01341/0.4345, allocations: 8.006 MB / 332.7 MB, free: 11.61 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007985/0.4426, allocations: 2.652 MB / 335.3 MB, free: 9.398 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002168/0.4449, allocations: 23.97 kB / 335.4 MB, free: 9.395 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002115/0.447, allocations: 0.4944 MB / 335.9 MB, free: 8.941 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002141/0.4492, allocations: 405.1 kB / 336.3 MB, free: 8.543 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006608/0.4498, allocations: 219.8 kB / 336.5 MB, free: 8.328 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001804/0.4517, allocations: 1.385 MB / 337.9 MB, free: 6.938 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008545/0.4525, allocations: 0.5045 MB / 338.4 MB, free: 6.41 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008098/0.4533, allocations: 0.4977 MB / 338.9 MB, free: 5.91 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006603/0.454, allocations: 0.5637 MB / 339.4 MB, free: 5.344 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.4542, allocations: 84 kB / 339.5 MB, free: 5.262 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000409/0.4546, allocations: 124 kB / 339.6 MB, free: 5.141 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002263/0.4548, allocations: 227 kB / 339.8 MB, free: 4.918 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006558/0.4555, allocations: 0.614 MB / 340.5 MB, free: 4.301 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001541/0.457, allocations: 1.658 MB / 342.1 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.457, allocations: 0 / 342.1 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.457, allocations: 0 / 342.1 MB, free: 2.637 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.4571, allocations: 0 / 342.1 MB, free: 2.637 MB / 270.1 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.002649/0.4597, allocations: 1.445 MB / 343.6 MB, free: 1.137 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.4598, allocations: 8.031 kB / 343.6 MB, free: 1.129 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007156/0.4605, allocations: 187.3 kB / 343.8 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.4617, allocations: 0.7339 MB / 344.5 MB, free: 172 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.491e-05/0.4617, allocations: 73.94 kB / 344.6 MB, free: 96 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.4619, allocations: 104 kB / 344.7 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.4636, allocations: 0.9308 MB / 345.6 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.532e-05/0.4636, allocations: 7.938 kB / 345.6 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-05/0.4637, allocations: 40 kB / 345.6 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/0.4637, allocations: 24 kB / 345.7 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.4649, allocations: 0.6364 MB / 346.3 MB, free: 14.33 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005808/0.4708, allocations: 3.926 MB / 350.2 MB, free: 10.18 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007281/0.4715, allocations: 436.6 kB / 350.7 MB, free: 9.727 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005649/0.4721, allocations: 261.3 kB / 350.9 MB, free: 9.469 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.87e-05/0.4722, allocations: 8.312 kB / 350.9 MB, free: 9.461 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.4722, allocations: 42.89 kB / 351 MB, free: 9.41 MB / 286.1 MB Notification: Performance of pre-optimization done (n=40): time 2.795e-06/0.4722, allocations: 0 / 351 MB, free: 9.41 MB / 286.1 MB Notification: Performance of matching and sorting (n=44): time 0.002811/0.475, allocations: 1.387 MB / 352.3 MB, free: 7.945 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.374e-05/0.4751, allocations: 89.11 kB / 352.4 MB, free: 7.84 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.4764, allocations: 0.8175 MB / 353.2 MB, free: 7.012 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.4765, allocations: 33.7 kB / 353.3 MB, free: 6.973 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004776/0.477, allocations: 0.5564 MB / 353.8 MB, free: 6.406 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.4771, allocations: 161.7 kB / 354 MB, free: 6.246 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.4773, allocations: 134.6 kB / 354.1 MB, free: 6.105 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4774, allocations: 330 kB / 354.4 MB, free: 5.777 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003252/0.4778, allocations: 165.9 kB / 354.6 MB, free: 5.617 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005462/0.4783, allocations: 456 kB / 355.1 MB, free: 5.039 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009256/0.4793, allocations: 0.6661 MB / 355.7 MB, free: 4.238 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/0.4793, allocations: 8 kB / 355.7 MB, free: 4.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001477/0.4808, allocations: 0.7666 MB / 356.5 MB, free: 3.453 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.302e-05/0.4808, allocations: 12.62 kB / 356.5 MB, free: 3.441 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.4809, allocations: 8 kB / 356.5 MB, free: 3.434 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000353/0.4812, allocations: 85.86 kB / 356.6 MB, free: 3.344 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005191/0.4817, allocations: 155.7 kB / 356.8 MB, free: 3.191 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002892/0.4847, allocations: 2.88 MB / 359.6 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007119/0.4854, allocations: 35.92 kB / 359.7 MB, free: 12 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-05/0.4855, allocations: 32.08 kB / 359.7 MB, free: 15.98 MB / 302.1 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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006261/0.4861, allocations: 264.2 kB / 360 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.4862, allocations: 82.97 kB / 360 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.4874, allocations: 495.5 kB / 360.5 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.4875, allocations: 8 kB / 360.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.4875, allocations: 7.938 kB / 360.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.4875, allocations: 3.938 kB / 360.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002294/0.4898, allocations: 1.434 MB / 362 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.4898, allocations: 4 kB / 362 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003079/0.4901, allocations: 68.12 kB / 362 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002356/0.4904, allocations: 77.61 kB / 362.1 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.4904, allocations: 8 kB / 362.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002516/0.4929, allocations: 2.864 MB / 365 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.4929, allocations: 0 / 365 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.4943, allocations: 0.7536 MB / 365.7 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000394/0.4947, allocations: 196 kB / 365.9 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.4949, allocations: 23.88 kB / 366 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004175/0.4953, allocations: 23.97 kB / 366 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.4954, allocations: 31.97 kB / 366 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.4954, allocations: 19.94 kB / 366 MB, free: 9.195 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009678/0.4964, allocations: 0.5615 MB / 366.6 MB, free: 8.641 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4964, allocations: 0 / 366.6 MB, free: 8.641 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001113/0.4975, allocations: 204 kB / 366.8 MB, free: 8.441 MB / 302.1 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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003094/0.4979, allocations: 131.1 kB / 366.9 MB, free: 8.301 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001425/0.4993, allocations: 0.6831 MB / 367.6 MB, free: 7.594 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.4993, allocations: 0 / 367.6 MB, free: 7.594 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000733/0.5001, allocations: 441.6 kB / 368 MB, free: 7.137 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.5015, allocations: 211.4 kB / 368.2 MB, free: 6.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003853/0.5054, allocations: 2.123 MB / 370.4 MB, free: 4.758 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007898/0.5062, allocations: 1.016 MB / 371.4 MB, free: 3.711 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005417/0.5068, allocations: 107.2 kB / 371.5 MB, free: 3.602 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.5069, allocations: 55.44 kB / 371.5 MB, free: 3.551 MB / 302.1 MB Notification: Performance of SimCode: time 9.21e-07/0.5069, allocations: 0 / 371.5 MB, free: 3.551 MB / 302.1 MB Notification: Performance of Templates: time 0.024/0.5309, allocations: 10.02 MB / 381.6 MB, free: 9.508 MB / 318.1 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)