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.001231/0.001231, allocations: 114.9 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2168/0.2168, allocations: 46.11 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 75.88 kB / 482 MB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3431, allocations: 62.44 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.DCPM_CurrentControlled): time 0.005789/0.349, allocations: 4.028 MB / 0.5356 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002744/0.3517, allocations: 1.485 MB / 0.537 GB, free: 9.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006743/0.3524, allocations: 13.03 kB / 0.537 GB, free: 9.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009382/0.3534, allocations: 269.3 kB / 0.5373 GB, free: 9.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006138/0.354, allocations: 139.4 kB / 0.5374 GB, free: 8.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005626/0.3546, allocations: 187 kB / 0.5376 GB, free: 8.758 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007761/0.3554, allocations: 0.6296 MB / 0.5382 GB, free: 8.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004299/0.3558, allocations: 282.9 kB / 0.5385 GB, free: 8.199 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000386/0.3562, allocations: 239.7 kB / 0.5387 GB, free: 8.047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002963/0.3565, allocations: 260.1 kB / 0.539 GB, free: 7.852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.549e-05/0.3566, allocations: 61.84 kB / 0.539 GB, free: 7.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.262e-05/0.3567, allocations: 61.78 kB / 0.5391 GB, free: 7.852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.662e-05/0.3569, allocations: 134.3 kB / 0.5392 GB, free: 7.734 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002237/0.3571, allocations: 288.7 kB / 0.5395 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006738/0.3578, allocations: 0.7101 MB / 0.5402 GB, free: 6.969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3578, allocations: 0 / 0.5402 GB, free: 6.969 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.3578, allocations: 0 / 0.5402 GB, free: 6.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.3578, allocations: 0.9688 kB / 0.5402 GB, free: 6.969 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.001213/0.359, allocations: 0.8299 MB / 0.541 GB, free: 6.273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.3591, allocations: 15.64 kB / 0.541 GB, free: 6.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.454e-05/0.3592, allocations: 62.88 kB / 0.5411 GB, free: 6.234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005775/0.3597, allocations: 412.8 kB / 0.5415 GB, free: 5.863 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.3598, allocations: 31.72 kB / 0.5415 GB, free: 5.852 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.337e-05/0.3599, allocations: 50.62 kB / 0.5415 GB, free: 5.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007675/0.3606, allocations: 469.7 kB / 0.542 GB, free: 5.539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.3607, allocations: 1.156 kB / 0.542 GB, free: 5.539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.965e-05/0.3607, allocations: 16.09 kB / 0.542 GB, free: 5.527 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.3607, allocations: 11.22 kB / 0.542 GB, free: 5.527 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006046/0.3613, allocations: 308.2 kB / 0.5423 GB, free: 5.383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.3637, allocations: 1.651 MB / 0.5439 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007885/0.3645, allocations: 387 kB / 0.5443 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.3648, allocations: 118.1 kB / 0.5444 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.3648, allocations: 6.672 kB / 0.5444 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.3648, allocations: 32.94 kB / 0.5444 GB, free: 3.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.733e-06/0.3648, allocations: 0 / 0.5444 GB, free: 3.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.001628/0.3665, allocations: 0.8931 MB / 0.5453 GB, free: 2.977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.3665, allocations: 57.3 kB / 0.5454 GB, free: 2.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004542/0.367, allocations: 397.9 kB / 0.5458 GB, free: 2.664 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.367, allocations: 31.86 kB / 0.5458 GB, free: 2.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.3672, allocations: 280.8 kB / 0.5461 GB, free: 2.375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.515e-05/0.3673, allocations: 86.33 kB / 0.5461 GB, free: 2.301 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.305e-05/0.3674, allocations: 66.2 kB / 0.5462 GB, free: 2.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3675, allocations: 354.6 kB / 0.5465 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.3677, allocations: 97.56 kB / 0.5466 GB, free: 1.852 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.368, allocations: 156.5 kB / 0.5468 GB, free: 1.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004303/0.3684, allocations: 254.6 kB / 0.547 GB, free: 1.562 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.3684, allocations: 0 / 0.547 GB, free: 1.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006422/0.3691, allocations: 349.4 kB / 0.5474 GB, free: 1.227 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.3691, allocations: 15.92 kB / 0.5474 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3691, allocations: 0 / 0.5474 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000135/0.3692, allocations: 20.86 kB / 0.5474 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.3695, allocations: 80.11 kB / 0.5475 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.3706, allocations: 1.376 MB / 0.5488 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.3709, allocations: 12.03 kB / 0.5488 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.3709, allocations: 12 kB / 0.5488 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002959/0.3712, allocations: 212 kB / 0.549 GB, free: 15.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002025/0.3714, allocations: 156.5 kB / 0.5492 GB, free: 15.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003472/0.3718, allocations: 235.7 kB / 0.5494 GB, free: 14.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.783e-06/0.3718, allocations: 3.938 kB / 0.5494 GB, free: 14.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005482/0.3723, allocations: 342.2 kB / 0.5497 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.3724, allocations: 10.19 kB / 0.5497 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3724, allocations: 4 kB / 0.5498 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.004e-05/0.3725, allocations: 20.86 kB / 0.5498 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.3727, allocations: 63.91 kB / 0.5498 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/0.3737, allocations: 1.375 MB / 0.5512 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.3739, allocations: 15.98 kB / 0.5512 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.374, allocations: 12 kB / 0.5512 GB, free: 12.93 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.0001361/0.3741, allocations: 208.2 kB / 0.5514 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.798e-05/0.3742, allocations: 39.53 kB / 0.5514 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.965e-05/0.3743, allocations: 39.52 kB / 0.5515 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3743, allocations: 0 / 0.5515 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3743, allocations: 3.984 kB / 0.5515 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.901e-05/0.3744, allocations: 112.6 kB / 0.5516 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.769e-05/0.3744, allocations: 11.98 kB / 0.5516 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.3746, allocations: 15.98 kB / 0.5516 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.3747, allocations: 23.92 kB / 0.5516 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007107/0.3754, allocations: 361.5 kB / 0.552 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006592/0.3761, allocations: 0.5376 MB / 0.5525 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001716/0.3763, allocations: 99.88 kB / 0.5526 GB, free: 11.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003111/0.3766, allocations: 283.2 kB / 0.5529 GB, free: 11.18 MB / 414.1 MB Notification: Performance of Backend: time 2.014e-06/0.3766, allocations: 4 kB / 0.5529 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.3777, allocations: 0.586 MB / 0.5534 GB, free: 10.55 MB / 414.1 MB Notification: Performance of SimCode: time 0.001806/0.3796, allocations: 1.458 MB / 0.5549 GB, free: 9.043 MB / 414.1 MB Notification: Performance of Templates: time 0.009763/0.3893, allocations: 5.29 MB / 0.56 GB, free: 3.777 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)