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.001785/0.001785, allocations: 107 kB / 19.8 MB, free: 2.5 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.002187/0.002187, allocations: 215.8 kB / 23 MB, free: 5.57 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.531/1.531, allocations: 230.2 MB / 256.2 MB, free: 8.512 MB / 206.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.2514/0.2514, allocations: 46.91 MB / 359.4 MB, free: 4.82 MB / 286.1 MB " [Timeout remaining time 179] 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.002304/0.002304, allocations: 75.88 kB / 0.4946 GB, free: 8.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4487/0.451, allocations: 66 MB / 0.5591 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.DCPM_CurrentControlled): time 0.01009/0.4611, allocations: 4.073 MB / 0.5631 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005994/0.4671, allocations: 1.503 MB / 0.5645 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.4682, allocations: 8 kB / 0.5645 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001451/0.4696, allocations: 265.9 kB / 0.5648 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008891/0.4705, allocations: 150.8 kB / 0.5649 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009454/0.4715, allocations: 187.7 kB / 0.5651 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001512/0.473, allocations: 0.6349 MB / 0.5657 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006552/0.4736, allocations: 200.2 kB / 0.5659 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006369/0.4743, allocations: 239 kB / 0.5661 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005998/0.4749, allocations: 266.7 kB / 0.5664 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001859/0.4751, allocations: 60 kB / 0.5665 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.4753, allocations: 68 kB / 0.5665 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.4754, allocations: 123.5 kB / 0.5666 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004683/0.4759, allocations: 298.5 kB / 0.5669 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.4774, allocations: 0.7106 MB / 0.5676 GB, free: 12.2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4774, allocations: 3.938 kB / 0.5676 GB, free: 12.2 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4774, allocations: 0 / 0.5676 GB, free: 12.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.265e-05/0.4774, allocations: 0 / 0.5676 GB, free: 12.2 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.00244/0.4798, allocations: 0.8528 MB / 0.5685 GB, free: 11.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.4799, allocations: 8.031 kB / 0.5685 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002293/0.4801, allocations: 68.52 kB / 0.5685 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.4812, allocations: 407.9 kB / 0.5689 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.009e-05/0.4812, allocations: 37.38 kB / 0.569 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.4813, allocations: 48.33 kB / 0.569 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.4826, allocations: 459.3 kB / 0.5694 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.893e-05/0.4826, allocations: 7.922 kB / 0.5694 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.567e-05/0.4827, allocations: 24 kB / 0.5695 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.19e-05/0.4827, allocations: 16 kB / 0.5695 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009986/0.4837, allocations: 299.8 kB / 0.5698 GB, free: 9.898 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00419/0.4879, allocations: 1.658 MB / 0.5714 GB, free: 8.141 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.4891, allocations: 373.9 kB / 0.5717 GB, free: 7.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003269/0.4894, allocations: 115.7 kB / 0.5719 GB, free: 7.637 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.124e-05/0.4895, allocations: 4.406 kB / 0.5719 GB, free: 7.633 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.043e-05/0.4895, allocations: 38.55 kB / 0.5719 GB, free: 7.586 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 2.785e-06/0.4895, allocations: 0 / 0.5719 GB, free: 7.586 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.002457/0.492, allocations: 0.8962 MB / 0.5728 GB, free: 6.617 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.492, allocations: 59.39 kB / 0.5728 GB, free: 6.547 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000594/0.4926, allocations: 397.6 kB / 0.5732 GB, free: 6.152 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.4927, allocations: 29.7 kB / 0.5732 GB, free: 6.117 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/0.4929, allocations: 280.2 kB / 0.5735 GB, free: 5.836 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.985e-05/0.493, allocations: 103.2 kB / 0.5736 GB, free: 5.734 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.4931, allocations: 57.45 kB / 0.5737 GB, free: 5.672 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.4933, allocations: 350.8 kB / 0.574 GB, free: 5.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.4936, allocations: 100.8 kB / 0.5741 GB, free: 5.219 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.4938, allocations: 154.8 kB / 0.5742 GB, free: 5.043 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004786/0.4943, allocations: 250.7 kB / 0.5745 GB, free: 4.773 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4943, allocations: 0 / 0.5745 GB, free: 4.773 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000725/0.495, allocations: 358.1 kB / 0.5748 GB, free: 4.414 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.495, allocations: 7.938 kB / 0.5748 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.495, allocations: 4 kB / 0.5748 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001623/0.4952, allocations: 20.86 kB / 0.5748 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003078/0.4955, allocations: 71.89 kB / 0.5749 GB, free: 4.309 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.4969, allocations: 1.379 MB / 0.5763 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.4971, allocations: 12.16 kB / 0.5763 GB, free: 2.773 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.4972, allocations: 20.03 kB / 0.5763 GB, free: 2.754 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000338/0.4975, allocations: 212 kB / 0.5765 GB, free: 2.543 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002309/0.4977, allocations: 148.6 kB / 0.5766 GB, free: 2.371 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003998/0.4981, allocations: 243.6 kB / 0.5769 GB, free: 2.105 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.85e-06/0.4981, allocations: 8 kB / 0.5769 GB, free: 2.098 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0006478/0.4988, allocations: 330.3 kB / 0.5772 GB, free: 1.766 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.4988, allocations: 8 kB / 0.5772 GB, free: 1.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.4988, allocations: 0 / 0.5772 GB, free: 1.758 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-05/0.4989, allocations: 29.09 kB / 0.5772 GB, free: 1.727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.4991, allocations: 63.91 kB / 0.5773 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.5003, allocations: 1.379 MB / 0.5786 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.5005, allocations: 11.98 kB / 0.5786 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.5006, allocations: 8 kB / 0.5787 GB, free: 132 kB / 414.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.000198/0.5007, allocations: 204.1 kB / 0.5788 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.5009, allocations: 47.7 kB / 0.5789 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.846e-05/0.5009, allocations: 43.61 kB / 0.5789 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.5009, allocations: 4 kB / 0.5789 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5009, allocations: 3.938 kB / 0.5789 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.501, allocations: 3.984 kB / 0.5789 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.5024, allocations: 0.8414 MB / 0.5798 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.5024, allocations: 0 / 0.5798 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/0.5027, allocations: 55.84 kB / 0.5798 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.221e-05/0.5028, allocations: 24.84 kB / 0.5798 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.5028, allocations: 7.938 kB / 0.5798 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/0.504, allocations: 1.375 MB / 0.5812 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.504, allocations: 4.031 kB / 0.5812 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00083/0.5048, allocations: 485.7 kB / 0.5817 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.505, allocations: 120.9 kB / 0.5818 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.83e-05/0.505, allocations: 4 kB / 0.5818 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.5052, allocations: 19.98 kB / 0.5818 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.5053, allocations: 23.91 kB / 0.5818 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.5053, allocations: 8 kB / 0.5818 GB, free: 12.62 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004007/0.5057, allocations: 283.2 kB / 0.5821 GB, free: 12.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5057, allocations: 0 / 0.5821 GB, free: 12.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006178/0.5063, allocations: 140 kB / 0.5822 GB, free: 12.2 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.0001516/0.5065, allocations: 107.2 kB / 0.5823 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001182/0.5077, allocations: 0.5684 MB / 0.5829 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.5077, allocations: 8.062 kB / 0.5829 GB, free: 11.49 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003711/0.508, allocations: 224.1 kB / 0.5831 GB, free: 11.26 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005701/0.5086, allocations: 76.12 kB / 0.5832 GB, free: 11.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.5107, allocations: 1.035 MB / 0.5842 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000573/0.5113, allocations: 0.8347 MB / 0.585 GB, free: 9.246 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001921/0.5115, allocations: 43.25 kB / 0.585 GB, free: 9.203 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.754e-05/0.5116, allocations: 27.44 kB / 0.5851 GB, free: 9.176 MB / 430.1 MB Notification: Performance of SimCode: time 1.182e-06/0.5116, allocations: 4 kB / 0.5851 GB, free: 9.172 MB / 430.1 MB Notification: Performance of Templates: time 0.01132/0.5229, allocations: 4.273 MB / 0.5893 GB, free: 4.918 MB / 430.1 MB " [Timeout remaining time 659] 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.419735967181623]