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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00142/0.00142, allocations: 118 kB / 18.46 MB, free: 4.613 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.001569/0.001568, allocations: 207.4 kB / 21.4 MB, free: 1.668 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.516/1.516, allocations: 227.4 MB / 251.6 MB, free: 300 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.2505/0.2505, allocations: 46.16 MB / 351.1 MB, free: 14.35 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_CurrentControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled") translateModel(ModelicaTest.Electrical.Machines.DCPM_CurrentControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002367/0.002367, allocations: 81.62 kB / 490.2 MB, free: 28.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.159, allocations: 62.45 MB / 0.5397 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.DCPM_CurrentControlled): time 0.00708/0.1662, allocations: 4.031 MB / 0.5436 GB, free: 244 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003171/0.1694, allocations: 1.491 MB / 0.5451 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003307/0.1697, allocations: 11.94 kB / 0.5451 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008173/0.1706, allocations: 258.3 kB / 0.5453 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003533/0.171, allocations: 138.8 kB / 0.5454 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.1715, allocations: 195.7 kB / 0.5456 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007433/0.1722, allocations: 0.6349 MB / 0.5463 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004405/0.1727, allocations: 272.2 kB / 0.5465 GB, free: 13.24 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003632/0.173, allocations: 231 kB / 0.5467 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003686/0.1734, allocations: 270.7 kB / 0.547 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.885e-05/0.1735, allocations: 64 kB / 0.5471 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.185e-05/0.1736, allocations: 63.94 kB / 0.5471 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.1738, allocations: 127.5 kB / 0.5472 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002913/0.1741, allocations: 286.5 kB / 0.5475 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.1751, allocations: 0.7119 MB / 0.5482 GB, free: 11.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.1751, allocations: 0 / 0.5482 GB, free: 11.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.1752, allocations: 4 kB / 0.5482 GB, free: 11.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.1752, allocations: 0 / 0.5482 GB, free: 11.5 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001677/0.1768, allocations: 0.8606 MB / 0.549 GB, free: 10.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.41e-05/0.1769, allocations: 8.031 kB / 0.5491 GB, free: 10.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.1771, allocations: 64.52 kB / 0.5491 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009599/0.178, allocations: 415.8 kB / 0.5495 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.545e-05/0.1781, allocations: 33.38 kB / 0.5495 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.1782, allocations: 56.33 kB / 0.5496 GB, free: 9.988 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.1793, allocations: 455.3 kB / 0.55 GB, free: 9.523 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/0.1793, allocations: 4 kB / 0.55 GB, free: 9.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.468e-05/0.1794, allocations: 20 kB / 0.5501 GB, free: 9.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.1794, allocations: 12 kB / 0.5501 GB, free: 9.488 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007289/0.1801, allocations: 307.8 kB / 0.5504 GB, free: 9.191 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003156/0.1833, allocations: 1.654 MB / 0.552 GB, free: 7.438 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008692/0.1842, allocations: 379.6 kB / 0.5523 GB, free: 7.039 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.1844, allocations: 112.8 kB / 0.5524 GB, free: 6.926 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.618e-05/0.1845, allocations: 4.406 kB / 0.5525 GB, free: 6.922 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.1845, allocations: 42.55 kB / 0.5525 GB, free: 6.871 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 2.064e-06/0.1845, allocations: 4 kB / 0.5525 GB, free: 6.867 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.001992/0.1865, allocations: 0.8942 MB / 0.5534 GB, free: 5.898 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.1866, allocations: 59.34 kB / 0.5534 GB, free: 5.828 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005208/0.1871, allocations: 397.6 kB / 0.5538 GB, free: 5.434 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.1872, allocations: 29.7 kB / 0.5538 GB, free: 5.398 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002561/0.1874, allocations: 284.4 kB / 0.5541 GB, free: 5.113 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.206e-05/0.1875, allocations: 91.17 kB / 0.5542 GB, free: 5.023 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.1877, allocations: 65.44 kB / 0.5543 GB, free: 4.953 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002801/0.188, allocations: 350.8 kB / 0.5546 GB, free: 4.602 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.1882, allocations: 96.81 kB / 0.5547 GB, free: 4.504 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/0.1885, allocations: 150.8 kB / 0.5548 GB, free: 4.332 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004682/0.1889, allocations: 256 kB / 0.5551 GB, free: 4.059 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.189, allocations: 4 kB / 0.5551 GB, free: 4.055 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006933/0.1896, allocations: 354 kB / 0.5554 GB, free: 3.699 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.1897, allocations: 12.03 kB / 0.5554 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.1897, allocations: 8.156 kB / 0.5554 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001923/0.1899, allocations: 20.84 kB / 0.5554 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002918/0.1902, allocations: 75.91 kB / 0.5555 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.1915, allocations: 1.376 MB / 0.5569 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.1917, allocations: 16.03 kB / 0.5569 GB, free: 2.047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.1918, allocations: 15.92 kB / 0.5569 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003236/0.1921, allocations: 204.1 kB / 0.5571 GB, free: 1.828 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002253/0.1923, allocations: 152.8 kB / 0.5572 GB, free: 1.652 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003748/0.1927, allocations: 243.6 kB / 0.5575 GB, free: 1.387 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.1927, allocations: 0 / 0.5575 GB, free: 1.387 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005568/0.1933, allocations: 338.2 kB / 0.5578 GB, free: 1.047 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1933, allocations: 4 kB / 0.5578 GB, free: 1.043 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.1933, allocations: 4 kB / 0.5578 GB, free: 1.039 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.972e-05/0.1934, allocations: 24.84 kB / 0.5578 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.1937, allocations: 63.91 kB / 0.5579 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.1948, allocations: 1.383 MB / 0.5592 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.195, allocations: 8 kB / 0.5592 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.195, allocations: 16 kB / 0.5593 GB, free: 15.41 MB / 430.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.0001658/0.1952, allocations: 196.1 kB / 0.5594 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.978e-05/0.1952, allocations: 39.72 kB / 0.5595 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.897e-05/0.1953, allocations: 43.52 kB / 0.5595 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1953, allocations: 0 / 0.5595 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.1954, allocations: 4 kB / 0.5595 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.1954, allocations: 8.047 kB / 0.5595 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.1967, allocations: 0.848 MB / 0.5604 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.1967, allocations: 0 / 0.5604 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/0.197, allocations: 55.97 kB / 0.5604 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.218e-05/0.1971, allocations: 20.84 kB / 0.5604 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.1971, allocations: 15.92 kB / 0.5604 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.1982, allocations: 1.379 MB / 0.5618 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.1982, allocations: 0 / 0.5618 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007713/0.199, allocations: 494.5 kB / 0.5623 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.1991, allocations: 116.9 kB / 0.5624 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.305e-05/0.1992, allocations: 11.98 kB / 0.5624 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.1994, allocations: 12 kB / 0.5624 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.922e-05/0.1995, allocations: 27.91 kB / 0.5624 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.1995, allocations: 8 kB / 0.5624 GB, free: 11.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003387/0.1998, allocations: 283.2 kB / 0.5627 GB, free: 11.61 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1998, allocations: 0 / 0.5627 GB, free: 11.61 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006169/0.2005, allocations: 140 kB / 0.5628 GB, free: 11.48 MB / 430.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.0001858/0.2006, allocations: 107.1 kB / 0.5629 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001197/0.2019, allocations: 0.6024 MB / 0.5635 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2019, allocations: 0.9375 kB / 0.5635 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003505/0.2022, allocations: 222.7 kB / 0.5637 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005818/0.2028, allocations: 70.2 kB / 0.5638 GB, free: 10.44 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.2047, allocations: 1.039 MB / 0.5648 GB, free: 9.359 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.2052, allocations: 0.827 MB / 0.5656 GB, free: 8.504 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001627/0.2053, allocations: 47.25 kB / 0.5657 GB, free: 8.457 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.737e-05/0.2054, allocations: 27.44 kB / 0.5657 GB, free: 8.43 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2054, allocations: 0 / 0.5657 GB, free: 8.43 MB / 430.1 MB Notification: Performance of Templates: time 0.01005/0.2155, allocations: 4.162 MB / 0.5698 GB, free: 4.297 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.268822658807039]