Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.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.0009213/0.0009213, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0009561/0.0009561, allocations: 164.4 kB / 24.91 MB, free: 8.715 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 0.9368/0.9368, allocations: 177 MB / 205.2 MB, free: 5.016 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.2475/0.2475, allocations: 34.86 MB / 296.6 MB, free: 388 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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=46000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=46000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 326 MB, free: 7.031 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.353e-05/1.469e-05, allocations: 7.516 kB / 326 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01091/0.01092, allocations: 13.77 MB / 339.8 MB, free: 9.184 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009092/0.02001, allocations: 5.456 MB / 345.3 MB, free: 3.711 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/0.02127, allocations: 103.4 kB / 345.4 MB, free: 3.609 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001846/0.02312, allocations: 1.079 MB / 346.4 MB, free: 2.523 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002465/0.02559, allocations: 1.519 MB / 348 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.02699, allocations: 1.025 MB / 349 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00331/0.0303, allocations: 4.595 MB / 353.6 MB, free: 11.36 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001686/0.03199, allocations: 1.85 MB / 355.4 MB, free: 9.414 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003066/0.03505, allocations: 3.22 MB / 358.7 MB, free: 6.188 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001768/0.03682, allocations: 2.101 MB / 360.8 MB, free: 4.082 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004062/0.03723, allocations: 0.5273 MB / 361.3 MB, free: 3.555 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.03829, allocations: 0.9053 MB / 362.2 MB, free: 2.648 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008852/0.03918, allocations: 1.402 MB / 363.6 MB, free: 1.242 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001082/0.04026, allocations: 1.567 MB / 365.2 MB, free: 15.67 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003178/0.04344, allocations: 3.929 MB / 369.1 MB, free: 11.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.04344, allocations: 0 / 369.1 MB, free: 11.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.04344, allocations: 0 / 369.1 MB, free: 11.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.304e-05/0.04348, allocations: 0 / 369.1 MB, free: 11.73 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.005205/0.04868, allocations: 4.859 MB / 373.9 MB, free: 6.812 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.04871, allocations: 8.031 kB / 373.9 MB, free: 6.805 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002726/0.05144, allocations: 1.179 MB / 375.1 MB, free: 5.625 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002101/0.05354, allocations: 1.777 MB / 376.9 MB, free: 3.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.05367, allocations: 251.1 kB / 377.2 MB, free: 3.504 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003451/0.05401, allocations: 336.3 kB / 377.5 MB, free: 3.176 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002655/0.05667, allocations: 2.559 MB / 380 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.132e-05/0.05672, allocations: 7.891 kB / 380 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002167/0.05694, allocations: 144 kB / 380.2 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000121/0.05706, allocations: 154.7 kB / 380.3 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001802/0.05886, allocations: 1.004 MB / 381.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01158/0.07044, allocations: 8.653 MB / 390 MB, free: 6.289 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002471/0.07291, allocations: 1.823 MB / 391.8 MB, free: 4.461 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009179/0.07383, allocations: 0.7597 MB / 392.6 MB, free: 3.699 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002918/0.07675, allocations: 2.148 MB / 394.7 MB, free: 1.531 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.07678, allocations: 51.88 kB / 394.8 MB, free: 1.473 MB / 362.7 MB Notification: Performance of pre-optimization done (n=165): time 2.805e-06/0.07678, allocations: 0 / 394.8 MB, free: 1.473 MB / 362.7 MB Notification: Performance of matching and sorting (n=185): time 0.006303/0.08308, allocations: 3.981 MB / 398.8 MB, free: 13.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.08313, allocations: 69.41 kB / 398.8 MB, free: 13.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.08438, allocations: 1.731 MB / 400.6 MB, free: 11.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.864e-05/0.08446, allocations: 57.7 kB / 400.6 MB, free: 11.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000522/0.08498, allocations: 1.329 MB / 401.9 MB, free: 10.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000319/0.0853, allocations: 0.6544 MB / 402.6 MB, free: 9.535 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005622/0.08586, allocations: 319.3 kB / 402.9 MB, free: 9.219 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.198e-05/0.08592, allocations: 305.1 kB / 403.2 MB, free: 8.918 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/0.08626, allocations: 238.7 kB / 403.4 MB, free: 8.684 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004683/0.08673, allocations: 0.6244 MB / 404.1 MB, free: 7.906 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009256/0.08765, allocations: 1.056 MB / 405.1 MB, free: 6.703 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.08766, allocations: 7.938 kB / 405.1 MB, free: 6.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.001562/0.08922, allocations: 1.32 MB / 406.4 MB, free: 5.359 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.08924, allocations: 12 kB / 406.5 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.08925, allocations: 15.94 kB / 406.5 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008116/0.09007, allocations: 459.7 kB / 406.9 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007934/0.09086, allocations: 387.4 kB / 407.3 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003867/0.09473, allocations: 4.729 MB / 412 MB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005073/0.09523, allocations: 64.05 kB / 412.1 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.285e-05/0.09533, allocations: 59.98 kB / 412.2 MB, free: 15.46 MB / 394.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 (198): * Single equations (assignments): 194 * 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%), (7,34,75.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004975/0.09582, allocations: 224.2 kB / 412.4 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002436/0.09607, allocations: 203.8 kB / 412.6 MB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/0.09761, allocations: 1.29 MB / 413.9 MB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/0.09763, allocations: 24 kB / 413.9 MB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.09763, allocations: 12 kB / 413.9 MB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.09764, allocations: 7.969 kB / 413.9 MB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003232/0.1009, allocations: 2.74 MB / 416.6 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.1009, allocations: 0 / 416.6 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007184/0.1016, allocations: 247.7 kB / 416.9 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008637/0.1025, allocations: 0.4941 MB / 417.4 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.392e-05/0.1025, allocations: 51.95 kB / 417.4 MB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004693/0.1072, allocations: 7.778 MB / 425.2 MB, free: 1.945 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1072, allocations: 7.984 kB / 425.2 MB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.1091, allocations: 1.685 MB / 426.9 MB, free: 208 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003974/0.1095, allocations: 258.3 kB / 427.2 MB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.1097, allocations: 47.92 kB / 427.2 MB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004333/0.1101, allocations: 55.97 kB / 427.3 MB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.1103, allocations: 137.7 kB / 427.4 MB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.745e-05/0.1103, allocations: 48.03 kB / 427.4 MB, free: 15.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006116/0.111, allocations: 0.8163 MB / 428.3 MB, free: 14.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.111, allocations: 0 / 428.3 MB, free: 14.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001243/0.1122, allocations: 0.6796 MB / 428.9 MB, free: 14.15 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,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 (126): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,12,100.0%), (2,25,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001013/0.1132, allocations: 0.5211 MB / 429.5 MB, free: 13.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001578/0.1148, allocations: 1.493 MB / 430.9 MB, free: 12.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.293e-05/0.1148, allocations: 24.5 kB / 431 MB, free: 12.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.116, allocations: 1.275 MB / 432.2 MB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.117, allocations: 0.5056 MB / 432.7 MB, free: 10.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005705/0.1227, allocations: 5.732 MB / 438.5 MB, free: 4.652 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007599/0.1235, allocations: 0.7903 MB / 439.3 MB, free: 3.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006295/0.1241, allocations: 298.2 kB / 439.6 MB, free: 3.547 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000776/0.1249, allocations: 495.1 kB / 440 MB, free: 3.059 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1249, allocations: 0 / 440 MB, free: 3.059 MB / 410.7 MB Notification: Performance of Templates: time 0.1627/0.2876, allocations: 35.98 MB / 476 MB, free: 77.03 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.908513708971441]