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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00145/0.00145, allocations: 122.7 kB / 18.46 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001682/0.001682, allocations: 211.3 kB / 21.41 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.523/1.523, allocations: 227.4 MB / 251.6 MB, free: 68 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2453/0.2453, allocations: 46.16 MB / 351.1 MB, free: 14.31 MB / 286.1 MB " [Timeout remaining time 180] 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=10000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled") translateModel(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003026/0.003027, allocations: 77.06 kB / 490.2 MB, free: 28.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1703, allocations: 62.45 MB / 0.5397 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled): time 0.007531/0.1779, allocations: 4.548 MB / 0.5441 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003575/0.1815, allocations: 1.655 MB / 0.5457 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003249/0.1819, allocations: 15.94 kB / 0.5457 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007289/0.1826, allocations: 294 kB / 0.546 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003497/0.183, allocations: 158.5 kB / 0.5462 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005604/0.1836, allocations: 275.6 kB / 0.5464 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008861/0.1845, allocations: 0.8418 MB / 0.5473 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000592/0.1851, allocations: 398.2 kB / 0.5476 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005074/0.1856, allocations: 302.7 kB / 0.5479 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004802/0.1861, allocations: 346.3 kB / 0.5483 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.1862, allocations: 80 kB / 0.5483 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.1863, allocations: 80 kB / 0.5484 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.1865, allocations: 167.3 kB / 0.5486 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003614/0.1869, allocations: 370 kB / 0.5489 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.1881, allocations: 0.9452 MB / 0.5498 GB, free: 9.781 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1881, allocations: 4 kB / 0.5498 GB, free: 9.777 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1881, allocations: 0 / 0.5498 GB, free: 9.777 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.1881, allocations: 0 / 0.5498 GB, free: 9.777 MB / 414.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.001899/0.19, allocations: 1.039 MB / 0.5509 GB, free: 8.684 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.1901, allocations: 12.03 kB / 0.5509 GB, free: 8.672 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.1903, allocations: 84.42 kB / 0.5509 GB, free: 8.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009902/0.1913, allocations: 0.4979 MB / 0.5514 GB, free: 8.055 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.177e-05/0.1914, allocations: 49.69 kB / 0.5515 GB, free: 8.008 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.1915, allocations: 64.33 kB / 0.5515 GB, free: 7.945 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.1926, allocations: 0.5953 MB / 0.5521 GB, free: 7.328 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.1927, allocations: 4 kB / 0.5521 GB, free: 7.324 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.224e-05/0.1927, allocations: 24 kB / 0.5522 GB, free: 7.301 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.1927, allocations: 15.94 kB / 0.5522 GB, free: 7.285 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009109/0.1937, allocations: 428.9 kB / 0.5526 GB, free: 6.867 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003416/0.1971, allocations: 2.137 MB / 0.5547 GB, free: 4.633 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.1983, allocations: 0.565 MB / 0.5552 GB, free: 4.023 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000355/0.1987, allocations: 176.6 kB / 0.5554 GB, free: 3.848 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/0.1987, allocations: 4 kB / 0.5554 GB, free: 3.844 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/0.1988, allocations: 42.55 kB / 0.5554 GB, free: 3.793 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 1.784e-06/0.1988, allocations: 0 / 0.5554 GB, free: 3.793 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.002594/0.2014, allocations: 1.146 MB / 0.5565 GB, free: 2.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.2015, allocations: 55.41 kB / 0.5566 GB, free: 2.504 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007232/0.2022, allocations: 0.5184 MB / 0.5571 GB, free: 1.977 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.532e-05/0.2023, allocations: 29.7 kB / 0.5571 GB, free: 1.941 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/0.2026, allocations: 360.7 kB / 0.5575 GB, free: 1.586 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.2027, allocations: 126.9 kB / 0.5576 GB, free: 1.461 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.2029, allocations: 74.09 kB / 0.5577 GB, free: 1.379 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003194/0.2032, allocations: 366.8 kB / 0.558 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.2035, allocations: 138.6 kB / 0.5582 GB, free: 0.875 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004235/0.204, allocations: 228.8 kB / 0.5584 GB, free: 0.625 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007178/0.2047, allocations: 364.2 kB / 0.5587 GB, free: 244 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2047, allocations: 3.938 kB / 0.5587 GB, free: 240 kB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000991/0.2057, allocations: 485.5 kB / 0.5592 GB, free: 15.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.2057, allocations: 4 kB / 0.5592 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.2058, allocations: 4 kB / 0.5592 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001816/0.2059, allocations: 24.84 kB / 0.5592 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004206/0.2064, allocations: 95.89 kB / 0.5593 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.2078, allocations: 1.383 MB / 0.5607 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002627/0.2081, allocations: 32.05 kB / 0.5607 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.2081, allocations: 16 kB / 0.5607 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004201/0.2085, allocations: 253 kB / 0.5609 GB, free: 13.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003057/0.2089, allocations: 206.9 kB / 0.5611 GB, free: 13.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005526/0.2094, allocations: 332 kB / 0.5615 GB, free: 13.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.793e-06/0.2094, allocations: 0 / 0.5615 GB, free: 13.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization_lambda0): time 0.0007502/0.2102, allocations: 446.6 kB / 0.5619 GB, free: 12.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.2102, allocations: 13.97 kB / 0.5619 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2102, allocations: 4 kB / 0.5619 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-05/0.2103, allocations: 29.19 kB / 0.5619 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/0.2107, allocations: 91.89 kB / 0.562 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.2119, allocations: 1.379 MB / 0.5634 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.2121, allocations: 19.92 kB / 0.5634 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.2122, allocations: 16 kB / 0.5634 GB, free: 11.07 MB / 430.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.0002167/0.2124, allocations: 212.9 kB / 0.5636 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.44e-05/0.2125, allocations: 51.67 kB / 0.5637 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.2126, allocations: 65.38 kB / 0.5637 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.2126, allocations: 4 kB / 0.5637 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.2127, allocations: 3.938 kB / 0.5637 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.2127, allocations: 3.984 kB / 0.5637 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.2145, allocations: 1.059 MB / 0.5648 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.2145, allocations: 0 / 0.5648 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003535/0.2149, allocations: 67.91 kB / 0.5648 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.997e-05/0.215, allocations: 20.84 kB / 0.5648 GB, free: 9.512 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.215, allocations: 12 kB / 0.5649 GB, free: 9.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/0.2163, allocations: 1.39 MB / 0.5662 GB, free: 7.969 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2163, allocations: 0 / 0.5662 GB, free: 7.969 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.2175, allocations: 0.6358 MB / 0.5668 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.2176, allocations: 140.7 kB / 0.567 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.484e-05/0.2177, allocations: 8 kB / 0.567 GB, free: 7.145 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/0.2179, allocations: 23.97 kB / 0.567 GB, free: 7.121 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/0.218, allocations: 27.97 kB / 0.567 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.218, allocations: 8 kB / 0.567 GB, free: 7.086 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004718/0.2185, allocations: 362.9 kB / 0.5674 GB, free: 6.734 MB / 430.1 MB Notification: Performance of sort global known variables: time 3e-07/0.2185, allocations: 0 / 0.5674 GB, free: 6.734 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006179/0.2192, allocations: 180 kB / 0.5676 GB, free: 6.559 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (dcpm.inductor.i,dcpm.inertia.w,inertiaLoad.phi,deadTime.y,currentController.integrator.y,preFilter.y,speedController.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 (32): * Single equations (assignments): 31 * 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.0001492/0.2193, allocations: 107.2 kB / 0.5677 GB, free: 6.441 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.2208, allocations: 0.7285 MB / 0.5684 GB, free: 5.688 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2208, allocations: 4.062 kB / 0.5684 GB, free: 5.684 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004543/0.2212, allocations: 278.4 kB / 0.5686 GB, free: 5.398 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006671/0.2219, allocations: 103.5 kB / 0.5687 GB, free: 5.301 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.2242, allocations: 1.299 MB / 0.57 GB, free: 3.965 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006109/0.2249, allocations: 0.8902 MB / 0.5709 GB, free: 3.043 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002423/0.2251, allocations: 68.5 kB / 0.5709 GB, free: 2.977 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.2252, allocations: 39.44 kB / 0.571 GB, free: 2.938 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2252, allocations: 4 kB / 0.571 GB, free: 2.934 MB / 430.1 MB Notification: Performance of Templates: time 0.01258/0.2378, allocations: 5.581 MB / 0.5764 GB, free: 13.38 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4355009170249104]