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.0009044/0.0009044, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0008698/0.0008698, allocations: 156.4 kB / 24.98 MB, free: 8.746 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.029/1.029, allocations: 177 MB / 205.2 MB, free: 5.594 MB / 186.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.2538/0.2538, allocations: 34.87 MB / 296.6 MB, free: 496 kB / 266.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_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=46000,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=46000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 378.1 MB, free: 3.059 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.865e-05/3.047e-05, allocations: 7.156 kB / 378.1 MB, free: 3.051 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01253/0.01256, allocations: 9.727 MB / 387.8 MB, free: 9.273 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005413/0.01798, allocations: 3.708 MB / 391.5 MB, free: 5.555 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000927/0.0189, allocations: 59.62 kB / 391.6 MB, free: 5.496 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.02034, allocations: 0.6713 MB / 392.3 MB, free: 4.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001768/0.02211, allocations: 0.9471 MB / 393.2 MB, free: 3.867 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007402/0.02285, allocations: 482.9 kB / 393.7 MB, free: 3.395 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002179/0.02503, allocations: 2.762 MB / 396.4 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.02612, allocations: 1.081 MB / 397.5 MB, free: 15.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001732/0.02785, allocations: 1.781 MB / 399.3 MB, free: 13.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/0.02938, allocations: 1.407 MB / 400.7 MB, free: 12.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000382/0.02976, allocations: 312 kB / 401 MB, free: 11.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007594/0.03052, allocations: 0.5541 MB / 401.6 MB, free: 11.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007214/0.03124, allocations: 1.071 MB / 402.6 MB, free: 10.35 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009411/0.03218, allocations: 1.009 MB / 403.6 MB, free: 9.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00225/0.03443, allocations: 2.515 MB / 406.2 MB, free: 6.816 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.03443, allocations: 0 / 406.2 MB, free: 6.816 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.03444, allocations: 3.984 kB / 406.2 MB, free: 6.812 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.466e-05/0.03448, allocations: 0 / 406.2 MB, free: 6.812 MB / 378.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.003673/0.03815, allocations: 3.348 MB / 409.5 MB, free: 3.402 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.03819, allocations: 12.03 kB / 409.5 MB, free: 3.391 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008309/0.03902, allocations: 0.5223 MB / 410 MB, free: 2.867 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/0.04074, allocations: 1.567 MB / 411.6 MB, free: 1.262 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.98e-05/0.04083, allocations: 156.4 kB / 411.8 MB, free: 1.105 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002115/0.04104, allocations: 212.3 kB / 412 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/0.04324, allocations: 1.677 MB / 413.7 MB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.106e-05/0.04328, allocations: 7.938 kB / 413.7 MB, free: 15.1 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.0434, allocations: 84 kB / 413.7 MB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.4e-05/0.04349, allocations: 91.94 kB / 413.8 MB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.0449, allocations: 0.7686 MB / 414.6 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007234/0.05213, allocations: 6.717 MB / 421.3 MB, free: 7.242 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.05343, allocations: 0.7591 MB / 422.1 MB, free: 6.477 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008522/0.05429, allocations: 0.5731 MB / 422.6 MB, free: 5.898 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/0.05446, allocations: 60.97 kB / 422.7 MB, free: 5.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.05449, allocations: 50.38 kB / 422.8 MB, free: 5.781 MB / 394.7 MB Notification: Performance of pre-optimization done (n=116): time 3.387e-06/0.05449, allocations: 0 / 422.8 MB, free: 5.781 MB / 394.7 MB Notification: Performance of matching and sorting (n=132): time 0.005936/0.06043, allocations: 3.685 MB / 426.4 MB, free: 2.043 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.06047, allocations: 64.72 kB / 426.5 MB, free: 1.965 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/0.06197, allocations: 1.651 MB / 428.2 MB, free: 308 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.939e-05/0.06204, allocations: 57.7 kB / 428.2 MB, free: 244 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006554/0.0627, allocations: 1.243 MB / 429.5 MB, free: 14.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002806/0.06298, allocations: 491.8 kB / 429.9 MB, free: 14.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002786/0.06326, allocations: 245.2 kB / 430.2 MB, free: 14.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.06341, allocations: 0.5433 MB / 430.7 MB, free: 13.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004223/0.06383, allocations: 247.8 kB / 431 MB, free: 13.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006063/0.06444, allocations: 0.582 MB / 431.5 MB, free: 12.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.06554, allocations: 0.9225 MB / 432.5 MB, free: 11.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.06554, allocations: 4 kB / 432.5 MB, free: 11.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002327/0.06787, allocations: 1.507 MB / 434 MB, free: 10.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.06789, allocations: 11.94 kB / 434 MB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.06791, allocations: 8 kB / 434 MB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/0.06927, allocations: 0.5838 MB / 434.6 MB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005902/0.06986, allocations: 263.6 kB / 434.8 MB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005516/0.07537, allocations: 6.443 MB / 441.3 MB, free: 2.625 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007299/0.0761, allocations: 87.91 kB / 441.4 MB, free: 2.539 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-05/0.07619, allocations: 48 kB / 441.4 MB, free: 2.492 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.000502/0.07669, allocations: 240.2 kB / 441.6 MB, free: 2.246 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003116/0.07701, allocations: 246.6 kB / 441.9 MB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/0.0789, allocations: 1.323 MB / 443.2 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/0.07892, allocations: 16 kB / 443.2 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.07893, allocations: 8 kB / 443.2 MB, free: 0.625 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/0.07894, allocations: 3.984 kB / 443.2 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.154/0.233, allocations: 3.251 MB / 446.5 MB, free: 97.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.233, allocations: 0 / 446.5 MB, free: 97.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007121/0.2337, allocations: 213.6 kB / 446.7 MB, free: 97.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00141/0.2351, allocations: 458.9 kB / 447.1 MB, free: 97.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-05/0.2352, allocations: 40.98 kB / 447.2 MB, free: 97.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005014/0.2402, allocations: 7.523 MB / 454.7 MB, free: 91.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2402, allocations: 6.031 kB / 454.7 MB, free: 91.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003041/0.2432, allocations: 1.799 MB / 456.5 MB, free: 90.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00369/0.2469, allocations: 344.1 kB / 456.8 MB, free: 90.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/0.2471, allocations: 30.95 kB / 456.9 MB, free: 90.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006347/0.2478, allocations: 72.28 kB / 457 MB, free: 90.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002395/0.248, allocations: 117.7 kB / 457.1 MB, free: 90.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.311e-05/0.2481, allocations: 44.34 kB / 457.1 MB, free: 90.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001246/0.2493, allocations: 0.9899 MB / 458.1 MB, free: 90.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2493, allocations: 0 / 458.1 MB, free: 90.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002926/0.2523, allocations: 0.5222 MB / 458.6 MB, free: 90.28 MB / 410.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.001176/0.2534, allocations: 444.8 kB / 459.1 MB, free: 90.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002091/0.2555, allocations: 1.528 MB / 460.6 MB, free: 89.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.2555, allocations: 0 / 460.6 MB, free: 89.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.2566, allocations: 1.217 MB / 461.8 MB, free: 88.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.2577, allocations: 411.3 kB / 462.2 MB, free: 88.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005414/0.2631, allocations: 4.329 MB / 466.5 MB, free: 86.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/0.2642, allocations: 1.277 MB / 467.8 MB, free: 86.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003442/0.2645, allocations: 141 kB / 467.9 MB, free: 86.03 MB / 410.7 MB Notification: Performance of SimCode: time 1.413e-06/0.2645, allocations: 0 / 467.9 MB, free: 86.03 MB / 410.7 MB Notification: Performance of Templates: time 0.05016/0.3147, allocations: 64.35 MB / 0.5198 GB, free: 41.87 MB / 410.7 MB " [Timeout remaining time 660] 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 > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.2111197570338845]