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.001068/0.001068, allocations: 91.5 kB / 20.93 MB, free: 3.617 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.001423/0.001423, allocations: 156.5 kB / 24.23 MB, free: 332 kB / 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.9648/0.9648, allocations: 177 MB / 204.4 MB, free: 5.613 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.2628/0.2628, allocations: 34.87 MB / 295.8 MB, free: 492 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.863e-06/1.863e-06, allocations: 0 / 378.1 MB, free: 2.285 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.003e-05/3.189e-05, allocations: 4.141 kB / 378.1 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03902/0.03905, allocations: 33.03 MB / 411.1 MB, free: 1.105 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0197/0.05875, allocations: 9.172 MB / 420.3 MB, free: 7.906 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006056/0.0648, allocations: 290.4 kB / 420.6 MB, free: 7.621 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01217/0.07697, allocations: 8.493 MB / 429.1 MB, free: 15.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.011/0.08797, allocations: 3.848 MB / 432.9 MB, free: 11.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005216/0.09319, allocations: 2.16 MB / 435.1 MB, free: 9.062 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1849/0.2781, allocations: 13.76 MB / 448.9 MB, free: 48.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03441/0.3125, allocations: 14.8 MB / 463.7 MB, free: 47.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0208/0.3333, allocations: 9.949 MB / 473.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01097/0.3443, allocations: 6.912 MB / 480.5 MB, free: 40.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005528/0.3498, allocations: 1.879 MB / 482.4 MB, free: 40.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009592/0.3594, allocations: 2.266 MB / 484.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004611/0.364, allocations: 3.895 MB / 488.6 MB, free: 38.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01357/0.3776, allocations: 4.841 MB / 493.4 MB, free: 35.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01737/0.395, allocations: 11.86 MB / 0.4934 GB, free: 30.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.395, allocations: 3.375 kB / 0.4934 GB, free: 30.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.395, allocations: 0 / 0.4934 GB, free: 30.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007377/0.3957, allocations: 0 / 0.4934 GB, free: 30.5 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.03096/0.4267, allocations: 15.56 MB / 0.5086 GB, free: 22.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4267, allocations: 10.16 kB / 0.5086 GB, free: 22.99 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02448/0.4512, allocations: 8.604 MB / 0.517 GB, free: 18.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01203/0.4632, allocations: 7.825 MB / 0.5247 GB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004518/0.4637, allocations: 0.7935 MB / 0.5254 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003133/0.4668, allocations: 1.05 MB / 0.5265 GB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01966/0.4865, allocations: 9.306 MB / 0.5356 GB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002209/0.4867, allocations: 23.89 kB / 0.5356 GB, free: 1.555 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008964/0.4876, allocations: 441.4 kB / 0.536 GB, free: 1.137 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003547/0.4879, allocations: 0.632 MB / 0.5366 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01326/0.5012, allocations: 5.222 MB / 0.5417 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06027/0.5615, allocations: 43.41 MB / 0.5841 GB, free: 15.81 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01122/0.5727, allocations: 9.223 MB / 0.5931 GB, free: 7.734 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003238/0.5759, allocations: 1.968 MB / 0.595 GB, free: 5.781 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01193/0.5879, allocations: 6.84 MB / 0.6017 GB, free: 15.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.14e-05/0.5879, allocations: 80.64 kB / 0.6018 GB, free: 14.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=398): time 5.45e-06/0.5879, allocations: 4 kB / 0.6018 GB, free: 14.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=423): time 0.0277/0.6156, allocations: 13.69 MB / 0.6152 GB, free: 1.176 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.203e-05/0.6157, allocations: 127.9 kB / 0.6153 GB, free: 1.035 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1901/0.8058, allocations: 3.841 MB / 0.6191 GB, free: 147.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009593/0.8067, allocations: 96.95 kB / 0.6191 GB, free: 147.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002329/0.8091, allocations: 5.066 MB / 0.6241 GB, free: 145.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001416/0.8105, allocations: 1.554 MB / 0.6256 GB, free: 144.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001402/0.8119, allocations: 1.243 MB / 0.6268 GB, free: 144.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.602e-05/0.812, allocations: 486.6 kB / 0.6273 GB, free: 144.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001864/0.8138, allocations: 0.9453 MB / 0.6282 GB, free: 144.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002941/0.8168, allocations: 4.007 MB / 0.6321 GB, free: 140.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005361/0.8221, allocations: 5.458 MB / 0.6375 GB, free: 136.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-05/0.8222, allocations: 17.66 kB / 0.6375 GB, free: 136.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.008871/0.8311, allocations: 5.777 MB / 0.6431 GB, free: 135.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.399e-05/0.8311, allocations: 37.25 kB / 0.6431 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.821e-05/0.8312, allocations: 68.12 kB / 0.6432 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003445/0.8346, allocations: 1.522 MB / 0.6447 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003387/0.838, allocations: 1.321 MB / 0.646 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/0.8492, allocations: 13.38 MB / 0.6591 GB, free: 126.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003923/0.8531, allocations: 324 kB / 0.6594 GB, free: 126.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006259/0.8538, allocations: 286.7 kB / 0.6596 GB, free: 126.7 MB / 490.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.003476/0.8572, allocations: 0.5366 MB / 0.6602 GB, free: 126.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001177/0.8584, allocations: 0.6135 MB / 0.6608 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007242/0.8657, allocations: 4.316 MB / 0.665 GB, free: 124.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-05/0.8657, allocations: 47.31 kB / 0.665 GB, free: 124.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.101e-05/0.8657, allocations: 16.53 kB / 0.665 GB, free: 124.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.39e-05/0.8658, allocations: 19.92 kB / 0.6651 GB, free: 124.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01986/0.8856, allocations: 12.06 MB / 0.6768 GB, free: 119.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/0.8856, allocations: 12.7 kB / 0.6768 GB, free: 119.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/0.8873, allocations: 0.7296 MB / 0.6776 GB, free: 119.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003158/0.8905, allocations: 1.414 MB / 0.6789 GB, free: 118.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003399/0.8908, allocations: 106.9 kB / 0.679 GB, free: 118.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01188/0.9027, allocations: 18.71 MB / 0.6973 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.9027, allocations: 7.906 kB / 0.6973 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00883/0.9115, allocations: 5.615 MB / 0.7028 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001987/0.9135, allocations: 0.9976 MB / 0.7038 GB, free: 99.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005759/0.9141, allocations: 90.58 kB / 0.7039 GB, free: 99.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/0.9154, allocations: 221.9 kB / 0.7041 GB, free: 99.86 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007407/0.9161, allocations: 353 kB / 0.7044 GB, free: 99.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002075/0.9163, allocations: 133.7 kB / 0.7045 GB, free: 99.77 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002724/0.9191, allocations: 1.9 MB / 0.7064 GB, free: 99.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.9191, allocations: 4 kB / 0.7064 GB, free: 99.15 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005616/0.9247, allocations: 1.862 MB / 0.7082 GB, free: 98.67 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.0005878/0.9253, allocations: 271.9 kB / 0.7085 GB, free: 98.41 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007342/0.9326, allocations: 5.061 MB / 0.7134 GB, free: 93.86 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.9326, allocations: 4 kB / 0.7134 GB, free: 93.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003631/0.9363, allocations: 3.482 MB / 0.7168 GB, free: 90.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003731/0.94, allocations: 1.148 MB / 0.7179 GB, free: 89.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0232/0.9632, allocations: 16.37 MB / 0.7339 GB, free: 74.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003296/0.9665, allocations: 2.855 MB / 0.7367 GB, free: 72.33 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003682/0.9702, allocations: 1.547 MB / 0.7382 GB, free: 71.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008233/0.971, allocations: 380.4 kB / 0.7386 GB, free: 70.68 MB / 490.7 MB Notification: Performance of SimCode: time 2.915e-06/0.971, allocations: 0 / 0.7386 GB, free: 70.68 MB / 490.7 MB Notification: Performance of Templates: time 0.2385/1.21, allocations: 73.9 MB / 0.8108 GB, free: 147.4 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 -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.6792968031950295]