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.001819/0.001819, allocations: 76.36 kB / 20.66 MB, free: 3.895 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.001936/0.001936, 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.581/1.581, allocations: 177 MB / 204.1 MB, free: 5.762 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.4187/0.4187, allocations: 34.86 MB / 295.4 MB, free: 0.5352 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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5999,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=5999,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 443.6 MB, free: 408 kB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.71e-05, allocations: 4.812 kB / 443.6 MB, free: 404 kB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.2586/0.2586, allocations: 28.9 MB / 472.5 MB, free: 25.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01808/0.2767, allocations: 8.963 MB / 481.5 MB, free: 18.92 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007566/0.2843, allocations: 292.9 kB / 481.8 MB, free: 18.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01822/0.3025, allocations: 7.873 MB / 489.7 MB, free: 14.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01196/0.3144, allocations: 3.827 MB / 493.5 MB, free: 12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005962/0.3204, allocations: 2.145 MB / 495.6 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01767/0.3381, allocations: 13.73 MB / 0.4974 GB, free: 3.434 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03297/0.371, allocations: 14.78 MB / 0.5119 GB, free: 11.05 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03094/0.402, allocations: 9.858 MB / 0.5215 GB, free: 4.934 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01667/0.4187, allocations: 6.274 MB / 0.5276 GB, free: 14.66 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006205/0.4249, allocations: 1.879 MB / 0.5295 GB, free: 12.78 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009373/0.4342, allocations: 2.261 MB / 0.5317 GB, free: 10.52 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007083/0.4413, allocations: 3.834 MB / 0.5354 GB, free: 6.676 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01543/0.4568, allocations: 4.788 MB / 0.5401 GB, free: 1.879 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0413/0.498, allocations: 25.43 MB / 0.5649 GB, free: 8.379 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4981, allocations: 0 / 0.5649 GB, free: 8.379 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.4981, allocations: 0 / 0.5649 GB, free: 8.379 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006557/0.4987, allocations: 0 / 0.5649 GB, free: 8.379 MB / 474.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.05034/0.5491, allocations: 14.69 MB / 0.5793 GB, free: 9.578 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.5491, allocations: 8.031 kB / 0.5793 GB, free: 9.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04273/0.5918, allocations: 6.806 MB / 0.5859 GB, free: 2.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01978/0.6116, allocations: 8.152 MB / 0.5939 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009519/0.6126, allocations: 0.7907 MB / 0.5946 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004052/0.6166, allocations: 1.051 MB / 0.5957 GB, free: 8.668 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04825/0.6649, allocations: 17.56 MB / 0.6128 GB, free: 6.957 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003404/0.6652, allocations: 15.91 kB / 0.6128 GB, free: 6.941 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002618/0.6678, allocations: 440 kB / 0.6133 GB, free: 6.512 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009363/0.6688, allocations: 0.6353 MB / 0.6139 GB, free: 5.871 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03836/0.7071, allocations: 16.28 MB / 0.6298 GB, free: 5.559 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5077/1.215, allocations: 47.69 MB / 0.6764 GB, free: 105.1 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02164/1.237, allocations: 11.01 MB / 0.6871 GB, free: 101.7 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006928/1.243, allocations: 3.958 MB / 0.691 GB, free: 100.2 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01809/1.262, allocations: 9.278 MB / 0.7 GB, free: 95.79 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.452e-05/1.262, allocations: 78.91 kB / 0.7001 GB, free: 95.72 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=398): time 7.123e-06/1.262, allocations: 0 / 0.7001 GB, free: 95.72 MB / 0.5262 GB Notification: Performance of matching and sorting (n=423): time 0.0426/1.304, allocations: 20.94 MB / 0.7206 GB, free: 86.71 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/1.304, allocations: 121.4 kB / 0.7207 GB, free: 86.61 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005558/1.31, allocations: 4.393 MB / 0.725 GB, free: 84.89 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0007049/1.311, allocations: 100.5 kB / 0.7251 GB, free: 84.8 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001945/1.312, allocations: 4.827 MB / 0.7298 GB, free: 81.03 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001215/1.314, allocations: 1.494 MB / 0.7312 GB, free: 79.74 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001488/1.315, allocations: 1.136 MB / 0.7323 GB, free: 79.08 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.44e-05/1.315, allocations: 309.1 kB / 0.7326 GB, free: 78.77 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003611/1.319, allocations: 2.913 MB / 0.7355 GB, free: 76.54 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00416/1.323, allocations: 4.999 MB / 0.7404 GB, free: 70.6 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008623/1.332, allocations: 8.358 MB / 0.7485 GB, free: 61.3 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-05/1.332, allocations: 24 kB / 0.7485 GB, free: 61.28 MB / 0.5262 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01501/1.347, allocations: 9.698 MB / 0.758 GB, free: 51.54 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 4.859e-05/1.347, allocations: 32 kB / 0.758 GB, free: 51.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-05/1.347, allocations: 64 kB / 0.7581 GB, free: 51.44 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004059/1.351, allocations: 1.657 MB / 0.7597 GB, free: 49.78 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00466/1.356, allocations: 1.318 MB / 0.761 GB, free: 48.46 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01881/1.374, allocations: 16.97 MB / 0.7776 GB, free: 31.1 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005094/1.379, allocations: 323.8 kB / 0.7779 GB, free: 30.78 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009558/1.38, allocations: 288 kB / 0.7782 GB, free: 30.5 MB / 0.5262 GB 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.005295/1.386, allocations: 3.888 MB / 0.782 GB, free: 26.6 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000998/1.387, allocations: 496.8 kB / 0.7824 GB, free: 26.11 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/1.398, allocations: 7.556 MB / 0.7898 GB, free: 18.48 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.411e-05/1.398, allocations: 40 kB / 0.7899 GB, free: 18.44 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-05/1.398, allocations: 16 kB / 0.7899 GB, free: 18.42 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.643e-05/1.398, allocations: 27.91 kB / 0.7899 GB, free: 18.39 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02533/1.424, allocations: 14.84 MB / 0.8044 GB, free: 3.449 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/1.424, allocations: 12.12 kB / 0.8044 GB, free: 3.438 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003114/1.427, allocations: 0.7216 MB / 0.8051 GB, free: 2.715 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004027/1.431, allocations: 1.55 MB / 0.8066 GB, free: 1.145 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004466/1.431, allocations: 104 kB / 0.8067 GB, free: 1.043 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02946/1.461, allocations: 20.05 MB / 0.8263 GB, free: 12.31 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.148e-05/1.461, allocations: 11.94 kB / 0.8263 GB, free: 12.3 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02364/1.484, allocations: 11.26 MB / 0.8373 GB, free: 0.8867 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003618/1.488, allocations: 1.074 MB / 0.8384 GB, free: 15.81 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008408/1.489, allocations: 84 kB / 0.8384 GB, free: 15.73 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002673/1.491, allocations: 231.8 kB / 0.8387 GB, free: 15.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009259/1.492, allocations: 347.2 kB / 0.839 GB, free: 15.16 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003403/1.493, allocations: 140.3 kB / 0.8391 GB, free: 15.03 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.005716/1.498, allocations: 2.88 MB / 0.8419 GB, free: 12.14 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.91e-07/1.498, allocations: 0 / 0.8419 GB, free: 12.14 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.008276/1.507, allocations: 1.859 MB / 0.8438 GB, free: 10.28 MB / 0.573 GB 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.001153/1.508, allocations: 290.6 kB / 0.844 GB, free: 9.992 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01696/1.525, allocations: 7.827 MB / 0.8517 GB, free: 2.105 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.437e-05/1.525, allocations: 0 / 0.8517 GB, free: 2.105 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.2233/1.748, allocations: 4.394 MB / 0.856 GB, free: 163.4 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007886/1.756, allocations: 1.1 MB / 0.857 GB, free: 163.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03634/1.792, allocations: 19.16 MB / 0.8758 GB, free: 157.3 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0086/1.801, allocations: 6.357 MB / 0.882 GB, free: 155.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.005906/1.807, allocations: 1.815 MB / 0.8837 GB, free: 155 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001382/1.808, allocations: 380.8 kB / 0.8841 GB, free: 155 MB / 0.573 GB Notification: Performance of SimCode: time 1.452e-06/1.808, allocations: 0 / 0.8841 GB, free: 155 MB / 0.573 GB Notification: Performance of Templates: time 0.1323/1.94, allocations: 73.41 MB / 0.9558 GB, free: 112.8 MB / 0.573 GB " [Timeout remaining time 658] 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 -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: 9.704788648057729]