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.001708/0.001708, allocations: 111.7 kB / 19.12 MB, free: 3.945 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.002034/0.002034, allocations: 212.9 kB / 22.08 MB, free: 0.9922 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.524/1.524, allocations: 227.4 MB / 252.3 MB, free: 120 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.2322/0.2322, allocations: 46.17 MB / 351.8 MB, free: 14.32 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.002275/0.002275, allocations: 73.25 kB / 490.8 MB, free: 28.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.137, allocations: 62.46 MB / 0.5403 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.DCPM_CurrentControlled): time 0.006022/0.1431, allocations: 4.029 MB / 0.5443 GB, free: 240 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00268/0.1458, allocations: 1.495 MB / 0.5457 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000297/0.1461, allocations: 11.94 kB / 0.5457 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007217/0.1469, allocations: 262.3 kB / 0.546 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002867/0.1472, allocations: 134.8 kB / 0.5461 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.1476, allocations: 191.7 kB / 0.5463 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006839/0.1483, allocations: 0.631 MB / 0.5469 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004324/0.1487, allocations: 272.2 kB / 0.5472 GB, free: 13.24 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003814/0.1491, allocations: 239 kB / 0.5474 GB, free: 13.01 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003021/0.1494, allocations: 258.7 kB / 0.5477 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.67e-05/0.1495, allocations: 64 kB / 0.5477 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.878e-05/0.1496, allocations: 60 kB / 0.5478 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.1498, allocations: 131.5 kB / 0.5479 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002507/0.15, allocations: 294.4 kB / 0.5482 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007876/0.1508, allocations: 0.708 MB / 0.5489 GB, free: 11.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1508, allocations: 0 / 0.5489 GB, free: 11.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1508, allocations: 0 / 0.5489 GB, free: 11.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.1508, allocations: 4 kB / 0.5489 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.001452/0.1523, allocations: 0.8528 MB / 0.5497 GB, free: 10.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.1524, allocations: 12.03 kB / 0.5497 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.1525, allocations: 68.52 kB / 0.5498 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007482/0.1533, allocations: 423.8 kB / 0.5502 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.1533, allocations: 33.38 kB / 0.5502 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.4e-05/0.1534, allocations: 52.33 kB / 0.5503 GB, free: 9.984 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008374/0.1542, allocations: 455.3 kB / 0.5507 GB, free: 9.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.1543, allocations: 4 kB / 0.5507 GB, free: 9.516 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.394e-05/0.1543, allocations: 23.98 kB / 0.5507 GB, free: 9.492 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.1544, allocations: 12 kB / 0.5507 GB, free: 9.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006286/0.155, allocations: 307.8 kB / 0.551 GB, free: 9.184 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002408/0.1574, allocations: 1.654 MB / 0.5526 GB, free: 7.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008633/0.1583, allocations: 383.6 kB / 0.553 GB, free: 7.027 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.1585, allocations: 108.8 kB / 0.5531 GB, free: 6.918 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.1586, allocations: 4.406 kB / 0.5531 GB, free: 6.914 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.1586, allocations: 34.56 kB / 0.5532 GB, free: 6.871 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.472e-06/0.1586, allocations: 0 / 0.5532 GB, free: 6.871 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.001735/0.1603, allocations: 0.902 MB / 0.554 GB, free: 5.895 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.1604, allocations: 55.41 kB / 0.5541 GB, free: 5.828 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004622/0.1609, allocations: 401.6 kB / 0.5545 GB, free: 5.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.1609, allocations: 33.7 kB / 0.5545 GB, free: 5.391 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.1611, allocations: 284.4 kB / 0.5548 GB, free: 5.105 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.564e-05/0.1612, allocations: 91.17 kB / 0.5549 GB, free: 5.016 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.651e-05/0.1613, allocations: 61.45 kB / 0.5549 GB, free: 4.949 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1615, allocations: 346.8 kB / 0.5553 GB, free: 4.602 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.1617, allocations: 96.81 kB / 0.5553 GB, free: 4.504 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.162, allocations: 150.8 kB / 0.5555 GB, free: 4.332 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004535/0.1625, allocations: 259.9 kB / 0.5557 GB, free: 4.055 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1625, allocations: 4 kB / 0.5557 GB, free: 4.051 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006225/0.1631, allocations: 354 kB / 0.5561 GB, free: 3.695 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1631, allocations: 11.94 kB / 0.5561 GB, free: 3.684 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1631, allocations: 0 / 0.5561 GB, free: 3.684 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001492/0.1633, allocations: 28.83 kB / 0.5561 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.1636, allocations: 72.12 kB / 0.5562 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/0.1647, allocations: 1.38 MB / 0.5575 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.1649, allocations: 19.95 kB / 0.5576 GB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.1649, allocations: 11.94 kB / 0.5576 GB, free: 2.027 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003192/0.1653, allocations: 208.1 kB / 0.5578 GB, free: 1.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002046/0.1655, allocations: 152.7 kB / 0.5579 GB, free: 1.645 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003683/0.1659, allocations: 243.6 kB / 0.5581 GB, free: 1.379 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.303e-06/0.1659, allocations: 0 / 0.5581 GB, free: 1.379 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005342/0.1664, allocations: 330.3 kB / 0.5585 GB, free: 1.047 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.1664, allocations: 8.25 kB / 0.5585 GB, free: 1.039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1664, allocations: 4 kB / 0.5585 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.749e-05/0.1665, allocations: 24.84 kB / 0.5585 GB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.1668, allocations: 63.91 kB / 0.5585 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/0.1678, allocations: 1.379 MB / 0.5599 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.168, allocations: 8 kB / 0.5599 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.168, allocations: 16 kB / 0.5599 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.0001467/0.1681, allocations: 203.2 kB / 0.5601 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.587e-05/0.1682, allocations: 39.72 kB / 0.5602 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.187e-05/0.1683, allocations: 47.5 kB / 0.5602 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1683, allocations: 0 / 0.5602 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.1683, allocations: 7.984 kB / 0.5602 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1683, allocations: 0 / 0.5602 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.1696, allocations: 0.848 MB / 0.561 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1696, allocations: 0 / 0.561 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.1699, allocations: 55.91 kB / 0.5611 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.656e-05/0.17, allocations: 16.84 kB / 0.5611 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.17, allocations: 11.94 kB / 0.5611 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001004/0.171, allocations: 1.383 MB / 0.5625 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.171, allocations: 0 / 0.5625 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000769/0.1718, allocations: 498.5 kB / 0.5629 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.793e-05/0.1719, allocations: 120.9 kB / 0.5631 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.1719, allocations: 4 kB / 0.5631 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.1721, allocations: 15.98 kB / 0.5631 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.1722, allocations: 19.92 kB / 0.5631 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.1722, allocations: 8 kB / 0.5631 GB, free: 11.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003137/0.1726, allocations: 283.2 kB / 0.5634 GB, free: 11.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1726, allocations: 0 / 0.5634 GB, free: 11.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005374/0.1731, allocations: 144 kB / 0.5635 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.0001301/0.1732, allocations: 107.1 kB / 0.5636 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.1743, allocations: 0.5989 MB / 0.5642 GB, free: 10.74 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1743, allocations: 0 / 0.5642 GB, free: 10.74 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003326/0.1747, allocations: 222.6 kB / 0.5644 GB, free: 10.51 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005078/0.1752, allocations: 74.8 kB / 0.5645 GB, free: 10.44 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.1769, allocations: 1.068 MB / 0.5655 GB, free: 9.324 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004707/0.1774, allocations: 0.8347 MB / 0.5663 GB, free: 8.461 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.504e-05/0.1775, allocations: 35.44 kB / 0.5664 GB, free: 8.426 MB / 430.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1775, allocations: 0 / 0.5664 GB, free: 8.426 MB / 430.1 MB Notification: Performance of Templates: time 0.009896/0.1874, allocations: 7.218 MB / 0.5734 GB, free: 1.211 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: 8.332470673019998] Failed to read output from testmodel.py, exit status != 0: 0.19445614400319755 0.20679840500000002 0.053535150000000004 Calling exit ...