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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001363/0.001363, allocations: 109.5 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001463/0.001463, allocations: 208.4 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 230.2 MB / 256.8 MB, free: 8.625 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2368/0.2368, allocations: 46.89 MB / 359.9 MB, free: 4.949 MB / 286.1 MB [Timeout remaining time 90] 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.002333/0.002333, allocations: 83.86 kB / 0.495 GB, free: 8.652 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.317, allocations: 65.98 MB / 0.5594 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled): time 0.006419/0.3234, allocations: 4.559 MB / 0.5639 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003031/0.3265, allocations: 1.667 MB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004189/0.3269, allocations: 19.94 kB / 0.5655 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008509/0.3277, allocations: 296.6 kB / 0.5658 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000395/0.3281, allocations: 170.6 kB / 0.566 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005338/0.3287, allocations: 279.4 kB / 0.5662 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009292/0.3296, allocations: 0.8457 MB / 0.567 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004704/0.3301, allocations: 270.3 kB / 0.5673 GB, free: 13 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004377/0.3305, allocations: 306.7 kB / 0.5676 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004588/0.3309, allocations: 338.3 kB / 0.5679 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.3311, allocations: 83.94 kB / 0.568 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.3312, allocations: 83.94 kB / 0.5681 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.3314, allocations: 179.4 kB / 0.5682 GB, free: 12.03 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000377/0.3317, allocations: 370 kB / 0.5686 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.3328, allocations: 0.9333 MB / 0.5695 GB, free: 10.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3328, allocations: 0 / 0.5695 GB, free: 10.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3328, allocations: 0 / 0.5695 GB, free: 10.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.3328, allocations: 0 / 0.5695 GB, free: 10.73 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.001812/0.3346, allocations: 1.047 MB / 0.5705 GB, free: 9.629 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.3347, allocations: 8.031 kB / 0.5705 GB, free: 9.621 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.3348, allocations: 84.42 kB / 0.5706 GB, free: 9.539 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007991/0.3356, allocations: 0.5057 MB / 0.5711 GB, free: 8.996 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.814e-05/0.3357, allocations: 45.69 kB / 0.5712 GB, free: 8.953 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.576e-05/0.3358, allocations: 64.33 kB / 0.5712 GB, free: 8.891 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.3369, allocations: 0.5992 MB / 0.5718 GB, free: 8.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.3369, allocations: 4 kB / 0.5718 GB, free: 8.266 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.261e-05/0.337, allocations: 20 kB / 0.5718 GB, free: 8.246 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.337, allocations: 16 kB / 0.5718 GB, free: 8.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000907/0.3379, allocations: 425 kB / 0.5723 GB, free: 7.812 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003274/0.3412, allocations: 2.152 MB / 0.5744 GB, free: 5.562 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.3423, allocations: 0.5471 MB / 0.5749 GB, free: 4.973 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003433/0.3427, allocations: 160.7 kB / 0.575 GB, free: 4.812 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.3427, allocations: 4 kB / 0.575 GB, free: 4.809 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.3427, allocations: 38.56 kB / 0.5751 GB, free: 4.762 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 1.693e-06/0.3427, allocations: 3.938 kB / 0.5751 GB, free: 4.758 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.002366/0.3451, allocations: 1.135 MB / 0.5762 GB, free: 3.547 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.3451, allocations: 59.34 kB / 0.5762 GB, free: 3.477 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006934/0.3458, allocations: 0.5223 MB / 0.5768 GB, free: 2.945 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.3459, allocations: 33.7 kB / 0.5768 GB, free: 2.906 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002675/0.3461, allocations: 348.8 kB / 0.5771 GB, free: 2.562 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.3463, allocations: 126.9 kB / 0.5772 GB, free: 2.438 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.3464, allocations: 74.09 kB / 0.5773 GB, free: 2.355 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.3466, allocations: 366.8 kB / 0.5777 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.3469, allocations: 146.5 kB / 0.5778 GB, free: 1.844 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003816/0.3473, allocations: 216.9 kB / 0.578 GB, free: 1.605 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007183/0.348, allocations: 364.1 kB / 0.5784 GB, free: 1.219 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.348, allocations: 7.938 kB / 0.5784 GB, free: 1.211 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009704/0.349, allocations: 485.3 kB / 0.5788 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.349, allocations: 8 kB / 0.5788 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.349, allocations: 0 / 0.5788 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001703/0.3492, allocations: 25.12 kB / 0.5789 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004474/0.3497, allocations: 107.8 kB / 0.579 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.351, allocations: 1.376 MB / 0.5803 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.3513, allocations: 27.97 kB / 0.5803 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.3513, allocations: 16 kB / 0.5803 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004425/0.3517, allocations: 253 kB / 0.5806 GB, free: 14.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000324/0.3521, allocations: 207 kB / 0.5808 GB, free: 14.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000548/0.3526, allocations: 336 kB / 0.5811 GB, free: 14.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.3526, allocations: 0 / 0.5811 GB, free: 14.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization_lambda0): time 0.0007885/0.3534, allocations: 446.9 kB / 0.5815 GB, free: 13.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.3534, allocations: 12.02 kB / 0.5815 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3534, allocations: 4 kB / 0.5816 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.094e-05/0.3535, allocations: 16.86 kB / 0.5816 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003659/0.3539, allocations: 95.83 kB / 0.5817 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.355, allocations: 1.383 MB / 0.583 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.3553, allocations: 19.94 kB / 0.583 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.3553, allocations: 16 kB / 0.583 GB, free: 12.04 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.0002224/0.3555, allocations: 202.2 kB / 0.5832 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.3556, allocations: 59.66 kB / 0.5833 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.3558, allocations: 53.3 kB / 0.5833 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3558, allocations: 4 kB / 0.5833 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.3558, allocations: 3.938 kB / 0.5834 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.3558, allocations: 3.984 kB / 0.5834 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/0.3576, allocations: 1.067 MB / 0.5844 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.3576, allocations: 3.938 kB / 0.5844 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003559/0.358, allocations: 71.89 kB / 0.5845 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.59e-05/0.3581, allocations: 24.91 kB / 0.5845 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.3581, allocations: 12 kB / 0.5845 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001238/0.3593, allocations: 1.378 MB / 0.5859 GB, free: 8.949 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.3593, allocations: 7.969 kB / 0.5859 GB, free: 8.941 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.3605, allocations: 0.6281 MB / 0.5865 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.3607, allocations: 140.7 kB / 0.5866 GB, free: 8.133 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.052e-05/0.3607, allocations: 8 kB / 0.5866 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.361, allocations: 27.97 kB / 0.5866 GB, free: 8.098 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.161e-05/0.3611, allocations: 23.97 kB / 0.5867 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.3611, allocations: 12 kB / 0.5867 GB, free: 8.062 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005061/0.3616, allocations: 366.9 kB / 0.587 GB, free: 7.707 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3616, allocations: 0 / 0.587 GB, free: 7.707 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006732/0.3623, allocations: 183.9 kB / 0.5872 GB, free: 7.527 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.0001382/0.3624, allocations: 107.2 kB / 0.5873 GB, free: 7.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001363/0.3638, allocations: 0.7125 MB / 0.588 GB, free: 6.672 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3638, allocations: 0 / 0.588 GB, free: 6.672 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004545/0.3643, allocations: 266.4 kB / 0.5883 GB, free: 6.398 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006235/0.3649, allocations: 106.1 kB / 0.5884 GB, free: 6.301 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/0.3672, allocations: 1.331 MB / 0.5897 GB, free: 4.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005931/0.3678, allocations: 0.8902 MB / 0.5905 GB, free: 4.008 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.3679, allocations: 47.36 kB / 0.5906 GB, free: 3.961 MB / 430.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3679, allocations: 0 / 0.5906 GB, free: 3.961 MB / 430.1 MB Notification: Performance of Templates: time 0.0138/0.3817, allocations: 9.602 MB / 0.5999 GB, free: 10.36 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]