Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.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.0009693/0.0009693, allocations: 120.4 kB / 21.19 MB, free: 4.391 MB / 13.93 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.001097/0.001097, allocations: 217.3 kB / 24.48 MB, free: 1.391 MB / 13.93 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.019/1.019, allocations: 230.6 MB / 258.2 MB, free: 3.113 MB / 202.7 MB " [Timeout remaining time 179] 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.183/0.183, allocations: 47.69 MB / 362.4 MB, free: 15.43 MB / 298.7 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.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=16100,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") translateModel(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=16100,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00272/0.00272, allocations: 104.2 kB / 0.4977 GB, free: 3.266 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3146, allocations: 66.21 MB / 0.5624 GB, free: 13.69 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.006291/0.3208, allocations: 7.367 MB / 0.5696 GB, free: 6.293 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004091/0.3249, allocations: 2.567 MB / 0.5721 GB, free: 3.719 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000832/0.3258, allocations: 59.62 kB / 0.5722 GB, free: 3.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.3271, allocations: 0.5979 MB / 0.5727 GB, free: 3.059 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001306/0.3284, allocations: 0.6757 MB / 0.5734 GB, free: 2.379 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.3289, allocations: 287.6 kB / 0.5737 GB, free: 2.098 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001759/0.3306, allocations: 2.054 MB / 0.5757 GB, free: 32 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008448/0.3315, allocations: 0.8 MB / 0.5765 GB, free: 15.18 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.3326, allocations: 0.9189 MB / 0.5774 GB, free: 14.26 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/0.3339, allocations: 1.012 MB / 0.5784 GB, free: 13.25 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003739/0.3342, allocations: 228 kB / 0.5786 GB, free: 13.02 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005186/0.3347, allocations: 319.8 kB / 0.5789 GB, free: 12.71 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00044/0.3352, allocations: 0.6427 MB / 0.5795 GB, free: 12.07 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008728/0.3361, allocations: 0.8363 MB / 0.5803 GB, free: 11.23 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00242/0.3385, allocations: 3.028 MB / 0.5833 GB, free: 8.188 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3385, allocations: 0 / 0.5833 GB, free: 8.188 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3385, allocations: 0 / 0.5833 GB, free: 8.188 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.911e-05/0.3386, allocations: 4 kB / 0.5833 GB, free: 8.184 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003129/0.3417, allocations: 2.111 MB / 0.5853 GB, free: 6.031 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3418, allocations: 8.031 kB / 0.5853 GB, free: 6.023 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004247/0.3422, allocations: 227.6 kB / 0.5856 GB, free: 5.801 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.3435, allocations: 1.082 MB / 0.5866 GB, free: 4.684 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.476e-05/0.3436, allocations: 111.4 kB / 0.5867 GB, free: 4.574 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.3437, allocations: 155.9 kB / 0.5869 GB, free: 4.422 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002211/0.3459, allocations: 2.059 MB / 0.5889 GB, free: 2.293 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.34e-05/0.346, allocations: 11.89 kB / 0.5889 GB, free: 2.281 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.496e-05/0.3461, allocations: 63.98 kB / 0.589 GB, free: 2.219 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.391e-05/0.3461, allocations: 78.91 kB / 0.589 GB, free: 2.141 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.3479, allocations: 1.581 MB / 0.5906 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006324/0.3542, allocations: 5.448 MB / 0.5959 GB, free: 10.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009511/0.3552, allocations: 0.7289 MB / 0.5966 GB, free: 10.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006079/0.3558, allocations: 0.5383 MB / 0.5971 GB, free: 9.633 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001512/0.3559, allocations: 36.62 kB / 0.5972 GB, free: 9.594 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.356, allocations: 47.16 kB / 0.5972 GB, free: 9.539 MB / 442.7 MB Notification: Performance of pre-optimization done (n=65): time 3.496e-06/0.356, allocations: 0 / 0.5972 GB, free: 9.539 MB / 442.7 MB Notification: Performance of matching and sorting (n=85): time 0.007665/0.3636, allocations: 5.467 MB / 0.6026 GB, free: 4.027 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.3637, allocations: 68.34 kB / 0.6026 GB, free: 3.949 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.3647, allocations: 1 MB / 0.6036 GB, free: 2.926 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.297e-05/0.3647, allocations: 45.7 kB / 0.6036 GB, free: 2.875 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004551/0.3652, allocations: 0.8079 MB / 0.6044 GB, free: 2.059 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/0.3654, allocations: 321.3 kB / 0.6047 GB, free: 1.742 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/0.3656, allocations: 210.8 kB / 0.6049 GB, free: 1.527 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3657, allocations: 353.9 kB / 0.6053 GB, free: 1.176 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005423/0.3663, allocations: 0.5374 MB / 0.6058 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006719/0.367, allocations: 0.8796 MB / 0.6067 GB, free: 15.61 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.3683, allocations: 1.524 MB / 0.6081 GB, free: 13.94 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.3683, allocations: 4 kB / 0.6081 GB, free: 13.94 MB / 458.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002223/0.3706, allocations: 2.025 MB / 0.6101 GB, free: 11.88 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.3706, allocations: 8 kB / 0.6101 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.3706, allocations: 16.03 kB / 0.6101 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008834/0.3715, allocations: 0.5513 MB / 0.6107 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004773/0.372, allocations: 243.6 kB / 0.6109 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00534/0.3773, allocations: 8.104 MB / 0.6188 GB, free: 2.543 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006978/0.378, allocations: 75.88 kB / 0.6189 GB, free: 2.469 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/0.3781, allocations: 48 kB / 0.619 GB, free: 2.422 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (4,8,87.5%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000732/0.3788, allocations: 0.5209 MB / 0.6195 GB, free: 1.891 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.379, allocations: 115.2 kB / 0.6196 GB, free: 1.777 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/0.3807, allocations: 1.746 MB / 0.6213 GB, free: 12 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.3808, allocations: 11.94 kB / 0.6213 GB, free: 0 / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-05/0.3808, allocations: 4.047 kB / 0.6213 GB, free: 15.99 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.3808, allocations: 4.031 kB / 0.6213 GB, free: 15.99 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003745/0.3845, allocations: 3.332 MB / 0.6245 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3845, allocations: 0 / 0.6245 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002929/0.3848, allocations: 119.9 kB / 0.6247 GB, free: 12.47 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008767/0.3857, allocations: 0.6029 MB / 0.6253 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.597e-05/0.3858, allocations: 23.98 kB / 0.6253 GB, free: 11.83 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005059/0.3908, allocations: 7.266 MB / 0.6324 GB, free: 4.262 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.3908, allocations: 3.938 kB / 0.6324 GB, free: 4.258 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002511/0.3933, allocations: 2.464 MB / 0.6348 GB, free: 1.742 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004291/0.3938, allocations: 223.2 kB / 0.635 GB, free: 1.523 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-05/0.3938, allocations: 20 kB / 0.635 GB, free: 1.504 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/0.3942, allocations: 59.94 kB / 0.6351 GB, free: 1.445 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.3943, allocations: 72.45 kB / 0.6351 GB, free: 1.375 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.866e-05/0.3943, allocations: 23.98 kB / 0.6352 GB, free: 1.352 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007089/0.3951, allocations: 0.6763 MB / 0.6358 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3951, allocations: 0 / 0.6358 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001081/0.3961, allocations: 371.9 kB / 0.6362 GB, free: 308 kB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (imc.inertiaRotor.w,imc.idq_sr[1],imc.idq_sr[2],imc.idq_rr[1],imc.idq_rr[2],loadInertia.phi) * 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 (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(6,14,69.4%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003134/0.3965, allocations: 175 kB / 0.6363 GB, free: 124 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002173/0.3986, allocations: 1.933 MB / 0.6382 GB, free: 14.13 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.3986, allocations: 4.125 kB / 0.6382 GB, free: 14.12 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.3998, allocations: 1.184 MB / 0.6394 GB, free: 12.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009097/0.4008, allocations: 317.3 kB / 0.6397 GB, free: 12.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/0.4049, allocations: 3.384 MB / 0.643 GB, free: 9.152 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006734/0.4056, allocations: 0.8705 MB / 0.6438 GB, free: 8.242 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.4058, allocations: 79.42 kB / 0.6439 GB, free: 8.164 MB / 490.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4058, allocations: 0 / 0.6439 GB, free: 8.164 MB / 490.7 MB Notification: Performance of Templates: time 0.2889/0.6947, allocations: 59.05 MB / 0.7016 GB, free: 126.7 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 8.56884270394221]