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.001459/0.001459, allocations: 106.1 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.001499/0.001499, allocations: 220.1 kB / 23 MB, free: 5.574 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.497/1.497, allocations: 230.2 MB / 256.2 MB, free: 8.539 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.2615/0.2615, allocations: 46.91 MB / 359.4 MB, free: 4.867 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_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.002131/0.002131, allocations: 75.88 kB / 0.4946 GB, free: 8.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.429/0.4312, allocations: 65.99 MB / 0.5591 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled): time 0.008082/0.4392, allocations: 4.601 MB / 0.5636 GB, free: 420 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004066/0.4433, allocations: 1.659 MB / 0.5652 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005782/0.4439, allocations: 15.94 kB / 0.5652 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009848/0.4449, allocations: 300.5 kB / 0.5655 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004659/0.4453, allocations: 174.6 kB / 0.5656 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006144/0.4459, allocations: 283.4 kB / 0.5659 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001002/0.447, allocations: 0.8341 MB / 0.5667 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005429/0.4475, allocations: 278.3 kB / 0.567 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005266/0.448, allocations: 302.8 kB / 0.5673 GB, free: 12.56 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004299/0.4484, allocations: 346.2 kB / 0.5676 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.4486, allocations: 80 kB / 0.5677 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.4487, allocations: 83.94 kB / 0.5678 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.4488, allocations: 171.4 kB / 0.5679 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003683/0.4492, allocations: 374 kB / 0.5683 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.4504, allocations: 0.9372 MB / 0.5692 GB, free: 10.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.4504, allocations: 0 / 0.5692 GB, free: 10.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4504, allocations: 0 / 0.5692 GB, free: 10.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.4505, allocations: 0 / 0.5692 GB, free: 10.59 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.001723/0.4522, allocations: 1.043 MB / 0.5702 GB, free: 9.488 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.4522, allocations: 12.03 kB / 0.5702 GB, free: 9.477 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.4524, allocations: 84.42 kB / 0.5703 GB, free: 9.395 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008336/0.4532, allocations: 0.494 MB / 0.5708 GB, free: 8.863 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.669e-05/0.4533, allocations: 49.69 kB / 0.5709 GB, free: 8.816 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.4534, allocations: 64.33 kB / 0.5709 GB, free: 8.754 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.4545, allocations: 0.5992 MB / 0.5715 GB, free: 8.133 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.4545, allocations: 0 / 0.5715 GB, free: 8.133 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.925e-05/0.4546, allocations: 28 kB / 0.5715 GB, free: 8.105 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.4546, allocations: 16 kB / 0.5715 GB, free: 8.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008973/0.4555, allocations: 421 kB / 0.5719 GB, free: 7.676 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003321/0.4588, allocations: 2.149 MB / 0.574 GB, free: 5.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.46, allocations: 0.5512 MB / 0.5746 GB, free: 4.836 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003343/0.4603, allocations: 167.5 kB / 0.5747 GB, free: 4.672 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.4603, allocations: 8 kB / 0.5747 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.927e-05/0.4604, allocations: 34.56 kB / 0.5748 GB, free: 4.621 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 1.893e-06/0.4604, allocations: 0 / 0.5748 GB, free: 4.621 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.002433/0.4628, allocations: 1.143 MB / 0.5759 GB, free: 3.402 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.4629, allocations: 51.41 kB / 0.5759 GB, free: 3.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008887/0.4637, allocations: 0.5261 MB / 0.5765 GB, free: 2.805 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001571/0.4639, allocations: 29.7 kB / 0.5765 GB, free: 2.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/0.4642, allocations: 352.8 kB / 0.5768 GB, free: 2.422 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.4643, allocations: 126.9 kB / 0.5769 GB, free: 2.297 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.4644, allocations: 74.09 kB / 0.577 GB, free: 2.215 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002382/0.4647, allocations: 370.8 kB / 0.5774 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003188/0.465, allocations: 142.5 kB / 0.5775 GB, free: 1.703 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/0.4654, allocations: 220.9 kB / 0.5777 GB, free: 1.461 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006655/0.466, allocations: 364.1 kB / 0.5781 GB, free: 1.074 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.381e-06/0.466, allocations: 3.938 kB / 0.5781 GB, free: 1.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009055/0.467, allocations: 489.3 kB / 0.5785 GB, free: 0.582 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.467, allocations: 4.281 kB / 0.5785 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.467, allocations: 8 kB / 0.5785 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/0.4671, allocations: 24.84 kB / 0.5786 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004224/0.4676, allocations: 99.81 kB / 0.5787 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.469, allocations: 1.379 MB / 0.58 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.4693, allocations: 19.98 kB / 0.58 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.4693, allocations: 16 kB / 0.58 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000473/0.4698, allocations: 257 kB / 0.5803 GB, free: 14.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003222/0.4701, allocations: 202.9 kB / 0.5805 GB, free: 14.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005572/0.4707, allocations: 340 kB / 0.5808 GB, free: 14.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.694e-06/0.4707, allocations: 0 / 0.5808 GB, free: 14.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization_lambda0): time 0.0007853/0.4715, allocations: 446.8 kB / 0.5812 GB, free: 13.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.4715, allocations: 8 kB / 0.5812 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4715, allocations: 4 kB / 0.5812 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.849e-05/0.4716, allocations: 24.84 kB / 0.5813 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.472, allocations: 91.83 kB / 0.5814 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.4733, allocations: 1.399 MB / 0.5827 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.4735, allocations: 16.09 kB / 0.5827 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.4735, allocations: 16 kB / 0.5827 GB, free: 11.89 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.0002377/0.4738, allocations: 202.1 kB / 0.5829 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.99e-05/0.4739, allocations: 51.67 kB / 0.583 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.474, allocations: 61.28 kB / 0.5831 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.474, allocations: 4 kB / 0.5831 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.474, allocations: 3.938 kB / 0.5831 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.474, allocations: 3.984 kB / 0.5831 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.4758, allocations: 1.067 MB / 0.5841 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4758, allocations: 4.062 kB / 0.5841 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000353/0.4762, allocations: 71.89 kB / 0.5842 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.803e-05/0.4762, allocations: 16.86 kB / 0.5842 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/0.4763, allocations: 19.92 kB / 0.5842 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/0.4775, allocations: 1.375 MB / 0.5856 GB, free: 8.801 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4775, allocations: 0 / 0.5856 GB, free: 8.801 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.4787, allocations: 0.6359 MB / 0.5862 GB, free: 8.141 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.4789, allocations: 140.7 kB / 0.5863 GB, free: 7.984 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/0.4789, allocations: 8 kB / 0.5863 GB, free: 7.977 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.4792, allocations: 27.97 kB / 0.5863 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.471e-05/0.4793, allocations: 23.97 kB / 0.5864 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.4793, allocations: 4 kB / 0.5864 GB, free: 7.922 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005161/0.4798, allocations: 370.8 kB / 0.5867 GB, free: 7.562 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4798, allocations: 0 / 0.5867 GB, free: 7.562 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000663/0.4805, allocations: 184 kB / 0.5869 GB, free: 7.383 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.0001539/0.4806, allocations: 101.6 kB / 0.587 GB, free: 7.273 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001385/0.482, allocations: 0.7159 MB / 0.5877 GB, free: 6.531 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.482, allocations: 0 / 0.5877 GB, free: 6.531 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004456/0.4824, allocations: 275.5 kB / 0.588 GB, free: 6.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006404/0.4831, allocations: 107.7 kB / 0.5881 GB, free: 6.148 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.4855, allocations: 1.28 MB / 0.5893 GB, free: 4.832 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006646/0.4861, allocations: 0.8902 MB / 0.5902 GB, free: 3.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002536/0.4864, allocations: 64.36 kB / 0.5902 GB, free: 3.848 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.4865, allocations: 39.44 kB / 0.5903 GB, free: 3.809 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4865, allocations: 0 / 0.5903 GB, free: 3.809 MB / 430.1 MB Notification: Performance of Templates: time 0.01274/0.4992, allocations: 5.762 MB / 0.5959 GB, free: 14.08 MB / 446.1 MB " [Timeout remaining time 659] 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.495132661424577]