Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.001063/0.001063, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.001568/0.001568, allocations: 162.2 kB / 24.91 MB, free: 8.762 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.9942/0.9942, allocations: 177 MB / 205.2 MB, free: 4.965 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.2905/0.2905, allocations: 34.85 MB / 296.6 MB, free: 396 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 326.1 MB, free: 6.965 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.542e-05, allocations: 6.797 kB / 326.1 MB, free: 6.961 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.02513/0.02516, allocations: 31.72 MB / 357.8 MB, free: 7.105 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02077/0.04592, allocations: 9.617 MB / 367.4 MB, free: 13.45 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007081/0.05301, allocations: 294.4 kB / 367.7 MB, free: 13.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01319/0.06619, allocations: 8.405 MB / 376.1 MB, free: 4.723 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01142/0.07761, allocations: 3.839 MB / 379.9 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005489/0.0831, allocations: 2.158 MB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0163/0.0994, allocations: 13.77 MB / 395.9 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02551/0.1249, allocations: 15.18 MB / 411.1 MB, free: 1.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01871/0.1436, allocations: 9.988 MB / 421 MB, free: 7.516 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01127/0.1549, allocations: 7.138 MB / 428.2 MB, free: 372 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00492/0.1598, allocations: 1.879 MB / 430.1 MB, free: 14.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006636/0.1664, allocations: 2.269 MB / 432.3 MB, free: 12.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005404/0.1719, allocations: 3.888 MB / 436.2 MB, free: 8.316 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01083/0.1827, allocations: 4.842 MB / 441.1 MB, free: 3.465 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2039/0.3866, allocations: 11.84 MB / 452.9 MB, free: 60.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.3866, allocations: 3.422 kB / 452.9 MB, free: 60.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3866, allocations: 0 / 452.9 MB, free: 60.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007053/0.3873, allocations: 0 / 452.9 MB, free: 60.4 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: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.03339/0.4207, allocations: 13.82 MB / 466.7 MB, free: 56.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.4208, allocations: 9.438 kB / 466.7 MB, free: 56.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02388/0.4446, allocations: 7.1 MB / 473.8 MB, free: 56.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01451/0.4591, allocations: 4.354 MB / 478.2 MB, free: 55.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007201/0.4599, allocations: 0.7992 MB / 479 MB, free: 55.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005662/0.4655, allocations: 1.054 MB / 480 MB, free: 55.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03177/0.4973, allocations: 8.714 MB / 488.7 MB, free: 52.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006282/0.4979, allocations: 18.77 kB / 488.8 MB, free: 52.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00315/0.5011, allocations: 439.5 kB / 489.2 MB, free: 52.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004523/0.5015, allocations: 0.6275 MB / 489.8 MB, free: 51.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01401/0.5155, allocations: 4.306 MB / 494.1 MB, free: 47.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05427/0.5698, allocations: 33 MB / 0.5148 GB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007381/0.5772, allocations: 6.427 MB / 0.521 GB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001797/0.579, allocations: 1.52 MB / 0.5225 GB, free: 7.777 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009022/0.588, allocations: 5.045 MB / 0.5275 GB, free: 2.926 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.703e-05/0.5881, allocations: 81.81 kB / 0.5275 GB, free: 2.836 MB / 410.7 MB Notification: Performance of pre-optimization done (n=398): time 5.62e-06/0.5881, allocations: 0 / 0.5275 GB, free: 2.836 MB / 410.7 MB Notification: Performance of matching and sorting (n=423): time 0.01931/0.6074, allocations: 9.468 MB / 0.5368 GB, free: 9.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.6074, allocations: 124.7 kB / 0.5369 GB, free: 9.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003554/0.611, allocations: 2.937 MB / 0.5398 GB, free: 6.887 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003122/0.6113, allocations: 93.7 kB / 0.5399 GB, free: 6.789 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001905/0.6132, allocations: 4.309 MB / 0.5441 GB, free: 2.625 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001271/0.6145, allocations: 1.5 MB / 0.5455 GB, free: 1.211 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001349/0.6158, allocations: 1.059 MB / 0.5466 GB, free: 264 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.6159, allocations: 309.1 kB / 0.5469 GB, free: 15.95 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.6173, allocations: 0.7916 MB / 0.5476 GB, free: 15.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002248/0.6195, allocations: 2.732 MB / 0.5503 GB, free: 11.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003918/0.6234, allocations: 4.096 MB / 0.5543 GB, free: 7.035 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.161e-05/0.6235, allocations: 16 kB / 0.5543 GB, free: 7.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.006461/0.6299, allocations: 4.261 MB / 0.5585 GB, free: 3.199 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.176e-05/0.63, allocations: 39.94 kB / 0.5585 GB, free: 3.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.07e-05/0.6301, allocations: 64 kB / 0.5586 GB, free: 3.098 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002996/0.633, allocations: 1.404 MB / 0.56 GB, free: 1.703 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003049/0.6361, allocations: 1.323 MB / 0.5612 GB, free: 480 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/0.6461, allocations: 9.867 MB / 0.5709 GB, free: 6.473 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003926/0.6501, allocations: 208 kB / 0.5711 GB, free: 6.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009273/0.651, allocations: 231.9 kB / 0.5713 GB, free: 6.043 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * 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 (671): * Single equations (assignments): 667 * Array equations: 0 * 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 {(1,1,100.0%), (7,28,61.2%), (1,1,100.0%), (14,44,39.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003504/0.6545, allocations: 0.4895 MB / 0.5718 GB, free: 5.633 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001231/0.6557, allocations: 419.6 kB / 0.5722 GB, free: 5.223 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00641/0.6621, allocations: 3.265 MB / 0.5754 GB, free: 1.977 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-05/0.6622, allocations: 44 kB / 0.5754 GB, free: 1.934 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-05/0.6622, allocations: 16 kB / 0.5754 GB, free: 1.918 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.332e-05/0.6622, allocations: 23.91 kB / 0.5754 GB, free: 1.895 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01954/0.6818, allocations: 8.693 MB / 0.5839 GB, free: 10.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/0.6818, allocations: 10.95 kB / 0.5839 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002475/0.6843, allocations: 0.7085 MB / 0.5846 GB, free: 9.621 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003477/0.6878, allocations: 1.278 MB / 0.5859 GB, free: 8.352 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003821/0.6881, allocations: 95.95 kB / 0.586 GB, free: 8.258 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01349/0.7016, allocations: 13.74 MB / 0.5994 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/0.7016, allocations: 14.5 kB / 0.5994 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008135/0.7098, allocations: 4.172 MB / 0.6035 GB, free: 5.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001867/0.7116, allocations: 0.5778 MB / 0.604 GB, free: 5.352 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005776/0.7122, allocations: 87.98 kB / 0.6041 GB, free: 5.266 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.7134, allocations: 132 kB / 0.6043 GB, free: 5.137 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006494/0.714, allocations: 338.6 kB / 0.6046 GB, free: 4.809 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001884/0.7142, allocations: 95.95 kB / 0.6047 GB, free: 4.715 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001836/0.716, allocations: 1.419 MB / 0.6061 GB, free: 3.453 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.716, allocations: 0 / 0.6061 GB, free: 3.453 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005742/0.7218, allocations: 1.863 MB / 0.6079 GB, free: 1.59 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,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 (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (14,44,41.3%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006763/0.7224, allocations: 264 kB / 0.6081 GB, free: 1.367 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.173/0.8954, allocations: 3.976 MB / 0.612 GB, free: 138.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000183/0.8956, allocations: 71.12 kB / 0.6121 GB, free: 138.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003419/0.899, allocations: 2.702 MB / 0.6147 GB, free: 137.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004163/0.9032, allocations: 1.136 MB / 0.6158 GB, free: 137.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0279/0.9311, allocations: 15.73 MB / 0.6312 GB, free: 131.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003023/0.9341, allocations: 2.095 MB / 0.6332 GB, free: 131.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003402/0.9375, allocations: 0.7603 MB / 0.634 GB, free: 131 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002392/0.9399, allocations: 1.064 MB / 0.635 GB, free: 130.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.884e-06/0.9399, allocations: 0 / 0.635 GB, free: 130.9 MB / 490.7 MB Notification: Performance of Templates: time 0.108/1.048, allocations: 80.91 MB / 0.714 GB, free: 61.98 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.480140327941626]