Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.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_SpeedControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled") translateModel(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001131/0.001131, allocations: 115.4 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001226/0.001226, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2144/0.2144, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 83.84 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3191, allocations: 62.43 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled): time 0.006083/0.3253, allocations: 4.546 MB / 0.5361 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003038/0.3283, allocations: 1.644 MB / 0.5377 GB, free: 8.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007268/0.3291, allocations: 17.31 kB / 0.5377 GB, free: 8.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000999/0.3301, allocations: 303.2 kB / 0.538 GB, free: 8.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006761/0.3308, allocations: 160.4 kB / 0.5382 GB, free: 8.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006624/0.3315, allocations: 264.6 kB / 0.5384 GB, free: 8.074 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001249/0.3327, allocations: 0.8528 MB / 0.5392 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000642/0.3334, allocations: 393.4 kB / 0.5396 GB, free: 7.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005581/0.3339, allocations: 310.3 kB / 0.5399 GB, free: 7.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005421/0.3345, allocations: 336 kB / 0.5402 GB, free: 6.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001913/0.3347, allocations: 84.47 kB / 0.5403 GB, free: 6.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002058/0.3349, allocations: 79.97 kB / 0.5404 GB, free: 6.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.3351, allocations: 182.7 kB / 0.5406 GB, free: 6.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004535/0.3355, allocations: 366 kB / 0.5409 GB, free: 6.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009603/0.3365, allocations: 0.9344 MB / 0.5418 GB, free: 5.648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3365, allocations: 0 / 0.5418 GB, free: 5.648 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3365, allocations: 0 / 0.5418 GB, free: 5.648 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.183e-05/0.3366, allocations: 0 / 0.5418 GB, free: 5.648 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001697/0.3383, allocations: 1.012 MB / 0.5428 GB, free: 4.828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3383, allocations: 8.688 kB / 0.5428 GB, free: 4.828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.3385, allocations: 84.69 kB / 0.5429 GB, free: 4.785 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006714/0.3391, allocations: 0.506 MB / 0.5434 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.1e-05/0.3392, allocations: 42.47 kB / 0.5434 GB, free: 4.324 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.949e-05/0.3393, allocations: 68.34 kB / 0.5435 GB, free: 4.297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009499/0.3402, allocations: 0.5968 MB / 0.5441 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.3403, allocations: 5.969 kB / 0.5441 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.893e-05/0.3403, allocations: 25.59 kB / 0.5441 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.3403, allocations: 13.78 kB / 0.5441 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008094/0.3412, allocations: 428 kB / 0.5445 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002824/0.344, allocations: 2.135 MB / 0.5466 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.3451, allocations: 0.5611 MB / 0.5472 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.3454, allocations: 175 kB / 0.5473 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.3454, allocations: 11.92 kB / 0.5473 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.3455, allocations: 38.56 kB / 0.5474 GB, free: 1.312 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.603e-06/0.3455, allocations: 0 / 0.5474 GB, free: 1.312 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.002063/0.3475, allocations: 1.126 MB / 0.5485 GB, free: 112 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.3476, allocations: 55.41 kB / 0.5485 GB, free: 44 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005769/0.3482, allocations: 0.5223 MB / 0.549 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.3482, allocations: 29.7 kB / 0.5491 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/0.3484, allocations: 344.2 kB / 0.5494 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.425e-05/0.3485, allocations: 122.1 kB / 0.5495 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.3486, allocations: 82.08 kB / 0.5496 GB, free: 14.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3488, allocations: 362.8 kB / 0.5499 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.3491, allocations: 146.5 kB / 0.5501 GB, free: 14.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/0.3494, allocations: 220.9 kB / 0.5503 GB, free: 14.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006096/0.35, allocations: 364.2 kB / 0.5506 GB, free: 13.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.35, allocations: 0 / 0.5506 GB, free: 13.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008389/0.3509, allocations: 489.1 kB / 0.5511 GB, free: 13.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3509, allocations: 4 kB / 0.5511 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.3509, allocations: 7.938 kB / 0.5511 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001468/0.3511, allocations: 24.84 kB / 0.5511 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/0.3515, allocations: 99.88 kB / 0.5512 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009944/0.3525, allocations: 1.38 MB / 0.5526 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002454/0.3527, allocations: 27.92 kB / 0.5526 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.3528, allocations: 16 kB / 0.5526 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003554/0.3531, allocations: 257 kB / 0.5529 GB, free: 11.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002557/0.3534, allocations: 203 kB / 0.5531 GB, free: 11.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004553/0.3539, allocations: 328 kB / 0.5534 GB, free: 10.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/0.3539, allocations: 4 kB / 0.5534 GB, free: 10.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization_lambda0): time 0.0006705/0.3546, allocations: 442.3 kB / 0.5538 GB, free: 10.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.3546, allocations: 11.94 kB / 0.5538 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-06/0.3546, allocations: 3.938 kB / 0.5538 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.024e-05/0.3547, allocations: 33.19 kB / 0.5538 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.355, allocations: 95.83 kB / 0.5539 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008941/0.3559, allocations: 1.372 MB / 0.5553 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.3562, allocations: 16 kB / 0.5553 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.3562, allocations: 15.94 kB / 0.5553 GB, free: 8.625 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (speedController.integrator.local_reset,currentController.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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.0001472/0.3563, allocations: 206 kB / 0.5555 GB, free: 8.418 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.95e-05/0.3564, allocations: 55.44 kB / 0.5556 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.3565, allocations: 61.28 kB / 0.5556 GB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3566, allocations: 3.984 kB / 0.5556 GB, free: 8.297 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3566, allocations: 0 / 0.5556 GB, free: 8.297 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.3567, allocations: 136.4 kB / 0.5558 GB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.609e-05/0.3567, allocations: 8 kB / 0.5558 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.357, allocations: 23.97 kB / 0.5558 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/0.3571, allocations: 19.97 kB / 0.5558 GB, free: 8.094 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001034/0.3581, allocations: 481.3 kB / 0.5563 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009917/0.3591, allocations: 0.6976 MB / 0.5569 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002903/0.3594, allocations: 151.9 kB / 0.5571 GB, free: 6.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000504/0.3599, allocations: 370.8 kB / 0.5574 GB, free: 6.391 MB / 414.1 MB Notification: Performance of Backend: time 1.042e-06/0.3599, allocations: 0 / 0.5574 GB, free: 6.391 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001545/0.3615, allocations: 0.6951 MB / 0.5581 GB, free: 5.66 MB / 414.1 MB Notification: Performance of SimCode: time 0.002362/0.3639, allocations: 1.738 MB / 0.5598 GB, free: 3.883 MB / 414.1 MB Notification: Performance of Templates: time 0.01384/0.3777, allocations: 7.218 MB / 0.5669 GB, free: 12.69 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.pipe 2>&1)