Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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.001942/0.001942, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.006701/0.006701, allocations: 164.8 kB / 23.95 MB, free: 0.6055 MB / 18.57 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.63/1.63, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 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.3623/0.3623, allocations: 34.86 MB / 295.4 MB, free: 0.5469 MB / 266.7 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.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5750,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") translateModel(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5750,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 443.6 MB, free: 424 kB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.853e-05/3.004e-05, allocations: 2.281 kB / 443.6 MB, free: 420 kB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.205/0.2051, allocations: 8.543 MB / 452.2 MB, free: 38.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00467/0.2097, allocations: 2.96 MB / 455.1 MB, free: 36.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008811/0.2106, allocations: 30.28 kB / 455.1 MB, free: 36.6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00156/0.2122, allocations: 0.5651 MB / 455.7 MB, free: 36.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.2136, allocations: 0.6076 MB / 456.3 MB, free: 35.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006445/0.2143, allocations: 326.5 kB / 456.6 MB, free: 35.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001678/0.2159, allocations: 1.836 MB / 458.5 MB, free: 34.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006759/0.2166, allocations: 420.8 kB / 458.9 MB, free: 34.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.2178, allocations: 1.039 MB / 459.9 MB, free: 33.99 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006216/0.2184, allocations: 0.5443 MB / 460.5 MB, free: 33.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001831/0.2186, allocations: 159 kB / 460.6 MB, free: 33.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003598/0.219, allocations: 191.9 kB / 460.8 MB, free: 33.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.2192, allocations: 342.7 kB / 461.1 MB, free: 33.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005044/0.2197, allocations: 0.5553 MB / 461.7 MB, free: 33.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00184/0.2215, allocations: 2.009 MB / 463.7 MB, free: 32.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2215, allocations: 0 / 463.7 MB, free: 32.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2215, allocations: 0 / 463.7 MB, free: 32.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.34e-05/0.2215, allocations: 0 / 463.7 MB, free: 32.54 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002734/0.2243, allocations: 1.754 MB / 465.5 MB, free: 31.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.2243, allocations: 9.781 kB / 465.5 MB, free: 31.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005449/0.2249, allocations: 213.7 kB / 465.7 MB, free: 31.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.226, allocations: 0.7644 MB / 466.4 MB, free: 30.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.2261, allocations: 163.3 kB / 466.6 MB, free: 30.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.2262, allocations: 115.9 kB / 466.7 MB, free: 30.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.2278, allocations: 1.571 MB / 468.3 MB, free: 29.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/0.2279, allocations: 7.172 kB / 468.3 MB, free: 29.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.467e-05/0.228, allocations: 47.81 kB / 468.3 MB, free: 29.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.228, allocations: 25.44 kB / 468.4 MB, free: 29.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.2293, allocations: 0.7505 MB / 469.1 MB, free: 29.2 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004485/0.2338, allocations: 3.19 MB / 472.3 MB, free: 27.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.2351, allocations: 0.5519 MB / 472.9 MB, free: 26.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004268/0.2356, allocations: 240.1 kB / 473.1 MB, free: 26.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.848e-05/0.2356, allocations: 12.11 kB / 473.1 MB, free: 26.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005455/0.2362, allocations: 330.8 kB / 473.4 MB, free: 26.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=62): time 2.565e-06/0.2362, allocations: 0 / 473.4 MB, free: 26.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.004008/0.2402, allocations: 1.847 MB / 475.3 MB, free: 25.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.2403, allocations: 476.4 kB / 475.7 MB, free: 25.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.2413, allocations: 0.9688 MB / 476.7 MB, free: 24.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/0.2414, allocations: 39.83 kB / 476.8 MB, free: 24.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003538/0.2417, allocations: 0.6658 MB / 477.4 MB, free: 24.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.2419, allocations: 242.8 kB / 477.7 MB, free: 24.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.2421, allocations: 197.8 kB / 477.8 MB, free: 23.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.779e-05/0.2421, allocations: 345.2 kB / 478.2 MB, free: 23.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004887/0.2426, allocations: 303.6 kB / 478.5 MB, free: 23.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007415/0.2434, allocations: 1.164 MB / 479.6 MB, free: 22.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.2444, allocations: 0.9444 MB / 480.6 MB, free: 21.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.2444, allocations: 7 kB / 480.6 MB, free: 21.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001727/0.2461, allocations: 1.177 MB / 481.8 MB, free: 20.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.586e-05/0.2462, allocations: 68.94 kB / 481.8 MB, free: 20.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.2462, allocations: 12.22 kB / 481.9 MB, free: 20.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005392/0.2467, allocations: 173.7 kB / 482 MB, free: 20.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005999/0.2473, allocations: 204.7 kB / 482.2 MB, free: 20.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003183/0.2505, allocations: 3.598 MB / 485.8 MB, free: 17.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008754/0.2514, allocations: 64.83 kB / 485.9 MB, free: 17.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.798e-05/0.2515, allocations: 51.48 kB / 485.9 MB, free: 17.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(6,9)} Notification: Performance of prepare postOptimizeDAE: time 0.000441/0.2519, allocations: 296 kB / 486.2 MB, free: 17.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.252, allocations: 115.9 kB / 486.3 MB, free: 17.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.2533, allocations: 0.6867 MB / 487 MB, free: 17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.2533, allocations: 6.719 kB / 487 MB, free: 17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2533, allocations: 3.281 kB / 487 MB, free: 17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001164/0.2545, allocations: 0.9506 MB / 488 MB, free: 16.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002475/0.2569, allocations: 1.511 MB / 489.5 MB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.257, allocations: 2.188 kB / 489.5 MB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004821/0.2574, allocations: 104.7 kB / 489.6 MB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000406/0.2578, allocations: 141.5 kB / 489.7 MB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-05/0.2579, allocations: 16.56 kB / 489.8 MB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002938/0.2608, allocations: 3.299 MB / 493.1 MB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.2608, allocations: 5.625 kB / 493.1 MB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.2627, allocations: 1.036 MB / 494.1 MB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004453/0.2631, allocations: 165.1 kB / 494.3 MB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.2632, allocations: 21.5 kB / 494.3 MB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005768/0.2638, allocations: 34.08 kB / 494.3 MB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.264, allocations: 70.25 kB / 494.4 MB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.761e-05/0.264, allocations: 21.22 kB / 494.4 MB, free: 11.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008642/0.2649, allocations: 0.6294 MB / 495 MB, free: 11.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2649, allocations: 1.062 kB / 495 MB, free: 11.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001191/0.2661, allocations: 306.7 kB / 495.3 MB, free: 11.45 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi,armature.T,core.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002226/0.2663, allocations: 134.8 kB / 495.5 MB, free: 11.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001892/0.2682, allocations: 1.117 MB / 496.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.2682, allocations: 1.312 kB / 496.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008174/0.269, allocations: 0.5361 MB / 497.1 MB, free: 10.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.2702, allocations: 295.1 kB / 497.4 MB, free: 10.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003222/0.2734, allocations: 2.071 MB / 499.5 MB, free: 9.051 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.2739, allocations: 0.5026 MB / 500 MB, free: 8.902 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004768/0.2743, allocations: 132 kB / 0.4884 GB, free: 8.863 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.2745, allocations: 69.19 kB / 0.4884 GB, free: 8.855 MB / 410.7 MB Notification: Performance of SimCode: time 9.11e-07/0.2745, allocations: 4 kB / 0.4885 GB, free: 8.852 MB / 410.7 MB Notification: Performance of Templates: time 0.03155/0.306, allocations: 17.04 MB / 0.5051 GB, free: 4.199 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.223380326991901]