Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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.002557/0.002557, 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.002133/0.002133, 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.658/1.658, 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.3819/0.3819, allocations: 34.85 MB / 295.4 MB, free: 0.5391 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.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=45999,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=45999,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 443.6 MB, free: 396 kB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/3.082e-05, allocations: 2.281 kB / 443.6 MB, free: 392 kB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.2051/0.2052, allocations: 8.718 MB / 452.4 MB, free: 38.58 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005938/0.2111, allocations: 3.55 MB / 455.9 MB, free: 36.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001456/0.2126, allocations: 60.38 kB / 456 MB, free: 36.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.2144, allocations: 0.6745 MB / 456.6 MB, free: 35.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002492/0.2169, allocations: 0.9476 MB / 457.6 MB, free: 35.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.2179, allocations: 489.2 kB / 458.1 MB, free: 34.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002843/0.2208, allocations: 2.756 MB / 460.8 MB, free: 33.51 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/0.2221, allocations: 1.073 MB / 461.9 MB, free: 32.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002549/0.2247, allocations: 1.762 MB / 463.7 MB, free: 32.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001713/0.2264, allocations: 1.317 MB / 465 MB, free: 31.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004131/0.2268, allocations: 305.1 kB / 465.3 MB, free: 31.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.2279, allocations: 0.5519 MB / 465.8 MB, free: 31.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008566/0.2287, allocations: 1.066 MB / 466.9 MB, free: 31.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.2299, allocations: 0.9953 MB / 467.9 MB, free: 30.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003903/0.2338, allocations: 4.344 MB / 472.2 MB, free: 29.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2338, allocations: 0 / 472.2 MB, free: 29.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2338, allocations: 0 / 472.2 MB, free: 29.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001057/0.2339, allocations: 0 / 472.2 MB, free: 29.04 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.007525/0.2414, allocations: 3.162 MB / 475.4 MB, free: 27.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.736e-05/0.2415, allocations: 9.656 kB / 475.4 MB, free: 27.19 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/0.2431, allocations: 378.5 kB / 475.8 MB, free: 27.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003631/0.2468, allocations: 1.653 MB / 477.4 MB, free: 26.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.2469, allocations: 160.1 kB / 477.6 MB, free: 26.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003748/0.2473, allocations: 200.1 kB / 477.8 MB, free: 25.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005204/0.2525, allocations: 2.801 MB / 480.6 MB, free: 24.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.045e-05/0.2526, allocations: 5.641 kB / 480.6 MB, free: 24.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002336/0.2528, allocations: 84.55 kB / 480.7 MB, free: 24.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001319/0.2529, allocations: 100.8 kB / 480.8 MB, free: 24.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004822/0.2577, allocations: 2.273 MB / 483 MB, free: 23.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0167/0.2744, allocations: 7.067 MB / 490.1 MB, free: 20.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003864/0.2783, allocations: 1.314 MB / 491.4 MB, free: 19.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002763/0.2811, allocations: 1.02 MB / 492.4 MB, free: 19.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003068/0.2814, allocations: 47.84 kB / 492.5 MB, free: 19.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.2814, allocations: 45.8 kB / 492.5 MB, free: 19.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=116): time 4.769e-06/0.2814, allocations: 0 / 492.5 MB, free: 19.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=132): time 0.03229/0.3137, allocations: 6.096 MB / 498.6 MB, free: 16.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.3137, allocations: 65.98 kB / 498.7 MB, free: 16.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006765/0.3205, allocations: 2.04 MB / 0.489 GB, free: 16.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001934/0.3207, allocations: 46.8 kB / 0.489 GB, free: 15.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003876/0.3246, allocations: 1.15 MB / 0.4902 GB, free: 15.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003956/0.325, allocations: 476.2 kB / 0.4906 GB, free: 14.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005474/0.3255, allocations: 237.3 kB / 0.4908 GB, free: 14.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.3256, allocations: 362.3 kB / 0.4912 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004844/0.3305, allocations: 0.7559 MB / 0.4919 GB, free: 13.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001955/0.3324, allocations: 1.014 MB / 0.4929 GB, free: 13.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00997/0.3424, allocations: 1.862 MB / 0.4947 GB, free: 12.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/0.3424, allocations: 3.562 kB / 0.4947 GB, free: 12.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.01319/0.3556, allocations: 2.744 MB / 0.4974 GB, free: 11.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/0.3556, allocations: 11.72 kB / 0.4974 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/0.3557, allocations: 6.25 kB / 0.4974 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005819/0.3615, allocations: 0.7794 MB / 0.4982 GB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002796/0.3643, allocations: 271.2 kB / 0.4985 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/0.3766, allocations: 9.233 MB / 0.5075 GB, free: 2.617 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/0.3783, allocations: 96.02 kB / 0.5076 GB, free: 2.523 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.3785, allocations: 55.98 kB / 0.5076 GB, free: 2.469 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * 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): 2 systems {(1,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00136/0.3798, allocations: 0.7394 MB / 0.5083 GB, free: 1.719 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000428/0.3803, allocations: 198.7 kB / 0.5085 GB, free: 1.523 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004299/0.3846, allocations: 2.471 MB / 0.5109 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.28e-05/0.3846, allocations: 19.98 kB / 0.511 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.669e-06/0.3846, allocations: 7.938 kB / 0.511 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.3846, allocations: 3.984 kB / 0.511 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01/0.3946, allocations: 4.381 MB / 0.5153 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.3946, allocations: 4 kB / 0.5153 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.3957, allocations: 215.9 kB / 0.5155 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001909/0.3976, allocations: 0.6439 MB / 0.5161 GB, free: 9.672 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/0.3977, allocations: 39.97 kB / 0.5161 GB, free: 9.633 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01142/0.4092, allocations: 8.255 MB / 0.5242 GB, free: 1.086 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.4092, allocations: 7.875 kB / 0.5242 GB, free: 1.078 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01011/0.4193, allocations: 3.52 MB / 0.5276 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001547/0.4208, allocations: 354.6 kB / 0.528 GB, free: 13.17 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003861/0.4212, allocations: 31.92 kB / 0.528 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/0.4226, allocations: 83.91 kB / 0.5281 GB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004336/0.423, allocations: 104.8 kB / 0.5282 GB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/0.4231, allocations: 39.98 kB / 0.5282 GB, free: 12.91 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003275/0.4264, allocations: 1.427 MB / 0.5296 GB, free: 11.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4264, allocations: 0 / 0.5296 GB, free: 11.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002847/0.4293, allocations: 0.5313 MB / 0.5301 GB, free: 10.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * 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 (97): * Single equations (assignments): 91 * Array equations: 2 * 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 {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003645/0.4329, allocations: 487.4 kB / 0.5306 GB, free: 10.64 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006745/0.4397, allocations: 2.305 MB / 0.5329 GB, free: 8.305 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.4397, allocations: 4 kB / 0.5329 GB, free: 8.301 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004036/0.4437, allocations: 1.46 MB / 0.5343 GB, free: 6.797 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003317/0.447, allocations: 388.7 kB / 0.5347 GB, free: 6.426 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01279/0.4598, allocations: 5.008 MB / 0.5395 GB, free: 1.371 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002547/0.4624, allocations: 1.388 MB / 0.5409 GB, free: 15.95 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00172/0.4641, allocations: 378.7 kB / 0.5413 GB, free: 15.57 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005187/0.4646, allocations: 128.5 kB / 0.5414 GB, free: 15.45 MB / 458.7 MB Notification: Performance of SimCode: time 1.202e-06/0.4646, allocations: 0 / 0.5414 GB, free: 15.45 MB / 458.7 MB Notification: Performance of Templates: time 0.06365/0.5282, allocations: 29.42 MB / 0.5701 GB, free: 2.324 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.148423264967278]