Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.Machines.DCPM_CurrentControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled") translateModel(ModelicaTest.Electrical.Machines.DCPM_CurrentControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001531/0.001531, allocations: 118.1 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002133/0.002133, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.266/0.266, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 87.8 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.469/0.4704, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.DCPM_CurrentControlled): time 0.006578/0.4771, allocations: 4.022 MB / 0.5349 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003451/0.4806, allocations: 1.501 MB / 0.5364 GB, free: 9.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004564/0.4811, allocations: 13.03 kB / 0.5364 GB, free: 9.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008745/0.482, allocations: 253.6 kB / 0.5366 GB, free: 9.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003162/0.4823, allocations: 135.7 kB / 0.5368 GB, free: 8.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004795/0.4828, allocations: 190.8 kB / 0.5369 GB, free: 8.754 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007118/0.4835, allocations: 0.6413 MB / 0.5376 GB, free: 8.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004351/0.484, allocations: 267.9 kB / 0.5378 GB, free: 8.199 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004125/0.4844, allocations: 234.6 kB / 0.538 GB, free: 8.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003621/0.4848, allocations: 263.8 kB / 0.5383 GB, free: 7.852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.4849, allocations: 61.69 kB / 0.5384 GB, free: 7.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.485, allocations: 61.94 kB / 0.5384 GB, free: 7.852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.4851, allocations: 133.7 kB / 0.5385 GB, free: 7.734 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000282/0.4854, allocations: 293.3 kB / 0.5388 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009418/0.4863, allocations: 0.7115 MB / 0.5395 GB, free: 6.965 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.4864, allocations: 0 / 0.5395 GB, free: 6.965 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4864, allocations: 0 / 0.5395 GB, free: 6.965 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.4864, allocations: 1.531 kB / 0.5395 GB, free: 6.965 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001442/0.4878, allocations: 0.8519 MB / 0.5403 GB, free: 6.246 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.4879, allocations: 8.719 kB / 0.5404 GB, free: 6.246 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.488, allocations: 71.2 kB / 0.5404 GB, free: 6.207 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006589/0.4887, allocations: 409.3 kB / 0.5408 GB, free: 5.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.23e-05/0.4887, allocations: 35.38 kB / 0.5408 GB, free: 5.824 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.764e-05/0.4888, allocations: 54.8 kB / 0.5409 GB, free: 5.801 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009019/0.4897, allocations: 465.3 kB / 0.5413 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.4898, allocations: 1.25 kB / 0.5413 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.399e-05/0.4898, allocations: 15.72 kB / 0.5414 GB, free: 5.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.4898, allocations: 11.91 kB / 0.5414 GB, free: 5.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006735/0.4905, allocations: 307.2 kB / 0.5417 GB, free: 5.355 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002604/0.4931, allocations: 1.656 MB / 0.5433 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009201/0.4941, allocations: 382.1 kB / 0.5436 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002452/0.4943, allocations: 118.6 kB / 0.5438 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.794e-05/0.4944, allocations: 10.58 kB / 0.5438 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.4944, allocations: 40.88 kB / 0.5438 GB, free: 3.617 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.513e-06/0.4944, allocations: 0 / 0.5438 GB, free: 3.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.001843/0.4963, allocations: 0.9034 MB / 0.5447 GB, free: 2.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.4963, allocations: 57.77 kB / 0.5447 GB, free: 2.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004968/0.4968, allocations: 398.4 kB / 0.5451 GB, free: 2.617 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.4969, allocations: 30.83 kB / 0.5452 GB, free: 2.582 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.4971, allocations: 279 kB / 0.5454 GB, free: 2.332 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.185e-05/0.4972, allocations: 93.58 kB / 0.5455 GB, free: 2.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.4973, allocations: 58.2 kB / 0.5456 GB, free: 2.207 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.4975, allocations: 359.5 kB / 0.5459 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.4977, allocations: 97.25 kB / 0.546 GB, free: 1.805 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/0.498, allocations: 156.8 kB / 0.5462 GB, free: 1.684 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005117/0.4986, allocations: 253.7 kB / 0.5464 GB, free: 1.516 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4986, allocations: 1.5 kB / 0.5464 GB, free: 1.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006086/0.4992, allocations: 352.7 kB / 0.5467 GB, free: 1.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.4992, allocations: 12.16 kB / 0.5467 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.4992, allocations: 4 kB / 0.5467 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001605/0.4994, allocations: 20.86 kB / 0.5468 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.4997, allocations: 75.89 kB / 0.5468 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.501, allocations: 1.372 MB / 0.5482 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.5012, allocations: 12.03 kB / 0.5482 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.5013, allocations: 15.94 kB / 0.5482 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003384/0.5016, allocations: 212 kB / 0.5484 GB, free: 15.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001996/0.5018, allocations: 156.5 kB / 0.5486 GB, free: 15.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003666/0.5022, allocations: 239.6 kB / 0.5488 GB, free: 14.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.5022, allocations: 0 / 0.5488 GB, free: 14.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005921/0.5028, allocations: 338.3 kB / 0.5491 GB, free: 14.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.5028, allocations: 4 kB / 0.5491 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.5029, allocations: 4 kB / 0.5491 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.443e-05/0.503, allocations: 24.84 kB / 0.5491 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.5032, allocations: 59.91 kB / 0.5492 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.5043, allocations: 1.388 MB / 0.5506 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.5045, allocations: 11.98 kB / 0.5506 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.5046, allocations: 8 kB / 0.5506 GB, free: 12.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (currentController.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001655/0.5047, allocations: 216 kB / 0.5508 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.015e-05/0.5048, allocations: 39.72 kB / 0.5508 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.785e-05/0.5049, allocations: 43.52 kB / 0.5509 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.5049, allocations: 0 / 0.5509 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.5049, allocations: 4 kB / 0.5509 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.5049, allocations: 8.047 kB / 0.5509 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.5066, allocations: 0.8431 MB / 0.5517 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.5066, allocations: 0 / 0.5517 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/0.5069, allocations: 55.97 kB / 0.5517 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.887e-05/0.507, allocations: 20.84 kB / 0.5518 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.507, allocations: 11.94 kB / 0.5518 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/0.5082, allocations: 1.371 MB / 0.5531 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5082, allocations: 0 / 0.5531 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009126/0.5091, allocations: 489.7 kB / 0.5536 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.5093, allocations: 120.9 kB / 0.5537 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/0.5093, allocations: 8 kB / 0.5537 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.5095, allocations: 15.98 kB / 0.5537 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/0.5096, allocations: 27.91 kB / 0.5537 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.5096, allocations: 8 kB / 0.5538 GB, free: 9.379 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003381/0.5099, allocations: 283.2 kB / 0.554 GB, free: 9.105 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.51, allocations: 0 / 0.554 GB, free: 9.105 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006759/0.5106, allocations: 140 kB / 0.5542 GB, free: 8.969 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcpm.inductor.i,dcpm.inertia.w,torqueLoad.phi,deadTime.y,currentController.integrator.y) * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001544/0.5108, allocations: 103.1 kB / 0.5543 GB, free: 8.859 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.512, allocations: 0.5984 MB / 0.5548 GB, free: 8.234 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.512, allocations: 0.9375 kB / 0.5548 GB, free: 8.234 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004475/0.5124, allocations: 230.6 kB / 0.5551 GB, free: 7.996 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005732/0.513, allocations: 69.64 kB / 0.5551 GB, free: 7.926 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.5151, allocations: 1.027 MB / 0.5561 GB, free: 6.859 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005785/0.5157, allocations: 0.8347 MB / 0.5569 GB, free: 5.996 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002214/0.516, allocations: 47.25 kB / 0.557 GB, free: 5.949 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.362e-05/0.5161, allocations: 27.44 kB / 0.557 GB, free: 5.922 MB / 414.1 MB Notification: Performance of SimCode: time 1.162e-06/0.5161, allocations: 0 / 0.557 GB, free: 5.922 MB / 414.1 MB Notification: Performance of Templates: time 0.01113/0.5272, allocations: 4.151 MB / 0.5611 GB, free: 1.797 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.pipe 2>&1)