Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.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) 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(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001689/0.00169, allocations: 110.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002002/0.002002, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 63.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2248, allocations: 50.55 MB / 410 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive): time 0.02375/0.2486, allocations: 23.4 MB / 433.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01371/0.2623, allocations: 6.831 MB / 440.2 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00429/0.2666, allocations: 99.69 kB / 440.3 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002712/0.2694, allocations: 0.8181 MB / 441.1 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003296/0.2727, allocations: 0.8677 MB / 442 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001932/0.2747, allocations: 0.8115 MB / 442.8 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003996/0.2787, allocations: 3.472 MB / 446.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00259/0.2813, allocations: 1.97 MB / 448.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001662/0.283, allocations: 1.308 MB / 449.5 MB, free: 9.816 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/0.2843, allocations: 1.4 MB / 450.9 MB, free: 8.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004126/0.2847, allocations: 380 kB / 451.3 MB, free: 8.039 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005962/0.2853, allocations: 424 kB / 451.7 MB, free: 7.625 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004924/0.2858, allocations: 0.7086 MB / 452.4 MB, free: 6.914 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001346/0.2872, allocations: 1.618 MB / 454 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003868/0.2911, allocations: 4.501 MB / 458.5 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.2911, allocations: 4 kB / 458.5 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2911, allocations: 0 / 458.5 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.085e-05/0.2911, allocations: 0 / 458.5 MB, free: 0.7695 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.004919/0.2961, allocations: 3.051 MB / 461.6 MB, free: 13.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.2961, allocations: 12.03 kB / 461.6 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009338/0.2971, allocations: 369.2 kB / 462 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/0.2993, allocations: 1.485 MB / 463.4 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.2994, allocations: 193.5 kB / 463.6 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003103/0.2998, allocations: 271.8 kB / 463.9 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003831/0.3036, allocations: 2.457 MB / 466.4 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.248e-05/0.3037, allocations: 7.906 kB / 466.4 MB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001905/0.3039, allocations: 116 kB / 466.5 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.342e-05/0.3039, allocations: 64 kB / 466.5 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003168/0.3071, allocations: 1.65 MB / 468.2 MB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01222/0.3194, allocations: 10.2 MB / 478.4 MB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.3211, allocations: 0.8549 MB / 479.2 MB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.3222, allocations: 0.5041 MB / 479.7 MB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.2e-05/0.3222, allocations: 9 kB / 479.8 MB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.747e-05/0.3223, allocations: 39.56 kB / 479.8 MB, free: 10.71 MB / 398.1 MB Notification: Performance of pre-optimization done (n=83): time 3.196e-06/0.3223, allocations: 0 / 479.8 MB, free: 10.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=89): time 0.004956/0.3273, allocations: 2.675 MB / 482.5 MB, free: 7.984 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.3273, allocations: 111.8 kB / 482.6 MB, free: 7.848 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001934/0.3293, allocations: 1.569 MB / 484.1 MB, free: 6.277 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.396e-05/0.3293, allocations: 49.7 kB / 484.2 MB, free: 6.223 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008363/0.3302, allocations: 1.288 MB / 485.5 MB, free: 4.918 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002437/0.3304, allocations: 331.4 kB / 485.8 MB, free: 4.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003812/0.3308, allocations: 303.2 kB / 486.1 MB, free: 4.285 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.685e-05/0.3309, allocations: 305.1 kB / 486.4 MB, free: 3.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008055/0.3317, allocations: 420.7 kB / 486.8 MB, free: 3.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/0.333, allocations: 1.111 MB / 487.9 MB, free: 2.125 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002184/0.3352, allocations: 1.604 MB / 489.5 MB, free: 196 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.3352, allocations: 8 kB / 489.5 MB, free: 188 kB / 398.1 MB Notification: Performance of matching and sorting (n=213) (initialization): time 0.002879/0.3381, allocations: 1.68 MB / 491.2 MB, free: 14.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.3381, allocations: 16 kB / 491.2 MB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.85e-05/0.3382, allocations: 24 kB / 491.3 MB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000177/0.3384, allocations: 57.44 kB / 491.3 MB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.3396, allocations: 403.3 kB / 491.7 MB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/0.3408, allocations: 1.426 MB / 493.1 MB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.3419, allocations: 83.97 kB / 493.2 MB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.342, allocations: 87.94 kB / 493.3 MB, free: 12.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001331/0.3434, allocations: 0.7421 MB / 494 MB, free: 11.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001113/0.3445, allocations: 1.08 MB / 495.1 MB, free: 10.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001965/0.3465, allocations: 1.565 MB / 496.7 MB, free: 8.215 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.22e-05/0.3465, allocations: 4 kB / 496.7 MB, free: 8.211 MB / 414.1 MB Notification: Performance of matching and sorting (n=213) (initialization_lambda0): time 0.002673/0.3492, allocations: 1.63 MB / 498.3 MB, free: 6.574 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.3492, allocations: 16 kB / 498.3 MB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.491e-05/0.3493, allocations: 27.94 kB / 498.4 MB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001148/0.3494, allocations: 56.84 kB / 498.4 MB, free: 6.473 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.3506, allocations: 387.3 kB / 498.8 MB, free: 6.094 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009842/0.3516, allocations: 1.426 MB / 0.4885 GB, free: 4.523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.3527, allocations: 75.88 kB / 0.4886 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.91e-05/0.3528, allocations: 80 kB / 0.4886 GB, free: 4.371 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 3 (switch.control,dcdcInverter2.idealDcDc.powerController.local_reset,dcdcInverter1.idealDcDc.powerController.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 211 * 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.0002853/0.3531, allocations: 303.5 kB / 0.4889 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002468/0.3533, allocations: 177.8 kB / 0.4891 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001801/0.3551, allocations: 0.9031 MB / 0.49 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.3552, allocations: 3.984 kB / 0.49 GB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.3552, allocations: 3.984 kB / 0.49 GB, free: 2.969 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005439/0.3557, allocations: 318.8 kB / 0.4903 GB, free: 2.637 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002413/0.356, allocations: 24 kB / 0.4903 GB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007648/0.3568, allocations: 51.94 kB / 0.4904 GB, free: 2.562 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.3569, allocations: 52.86 kB / 0.4904 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002525/0.3595, allocations: 0.9902 MB / 0.4914 GB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002269/0.3617, allocations: 1.43 MB / 0.4928 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006444/0.3624, allocations: 347.8 kB / 0.4931 GB, free: 15.72 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001444/0.3638, allocations: 1.035 MB / 0.4941 GB, free: 14.7 MB / 430.1 MB Notification: Performance of Backend: time 5.91e-07/0.3639, allocations: 4 kB / 0.4941 GB, free: 14.69 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003496/0.3674, allocations: 1.842 MB / 0.4959 GB, free: 12.82 MB / 430.1 MB Notification: Performance of SimCode: time 0.006477/0.3738, allocations: 4.42 MB / 0.5002 GB, free: 8.359 MB / 430.1 MB Notification: Performance of Templates: time 0.04335/0.4172, allocations: 25.54 MB / 0.5252 GB, free: 14.99 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe 2>&1)