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.0008001/0.0008001, allocations: 81.91 kB / 21.43 MB, free: 3.062 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.0008886/0.0008886, allocations: 162.7 kB / 24.82 MB, free: 9.262 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.9208/0.9208, allocations: 177 MB / 205.1 MB, free: 5.449 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.2652/0.2652, allocations: 34.87 MB / 296.6 MB, free: 0.4922 MB / 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.402e-06/1.402e-06, allocations: 0 / 379.3 MB, free: 1.707 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.496e-05, allocations: 3.297 kB / 379.3 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.04723/0.04724, allocations: 31.66 MB / 411 MB, free: 1.902 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0206/0.06784, allocations: 9.141 MB / 420.1 MB, free: 8.734 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006959/0.0748, allocations: 294.4 kB / 420.4 MB, free: 8.445 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01043/0.08523, allocations: 8.227 MB / 428.7 MB, free: 184 kB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007936/0.09317, allocations: 3.841 MB / 432.5 MB, free: 12.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002956/0.09612, allocations: 2.138 MB / 434.6 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1439/0.24, allocations: 13.77 MB / 448.4 MB, free: 49.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01562/0.2556, allocations: 14.79 MB / 463.2 MB, free: 48.31 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008353/0.264, allocations: 9.958 MB / 473.2 MB, free: 44.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00817/0.2721, allocations: 7.085 MB / 480.2 MB, free: 41.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004019/0.2761, allocations: 1.878 MB / 482.1 MB, free: 41.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005581/0.2817, allocations: 2.26 MB / 484.4 MB, free: 41.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002746/0.2845, allocations: 3.895 MB / 488.3 MB, free: 39.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008148/0.2926, allocations: 4.842 MB / 493.1 MB, free: 37.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0119/0.3045, allocations: 11.84 MB / 0.4931 GB, free: 31.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.3045, allocations: 0.7812 kB / 0.4931 GB, free: 31.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3045, allocations: 0 / 0.4931 GB, free: 31.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005986/0.3051, allocations: 0.8125 kB / 0.4931 GB, free: 31.64 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.02428/0.3294, allocations: 14.58 MB / 0.5074 GB, free: 24.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3294, allocations: 9.531 kB / 0.5074 GB, free: 24.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01756/0.347, allocations: 6.779 MB / 0.514 GB, free: 20.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01032/0.3573, allocations: 7.373 MB / 0.5212 GB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000392/0.3577, allocations: 0.7974 MB / 0.522 GB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002288/0.36, allocations: 1.053 MB / 0.523 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01393/0.3739, allocations: 8.519 MB / 0.5313 GB, free: 6.773 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002077/0.3741, allocations: 28.41 kB / 0.5313 GB, free: 6.758 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008965/0.375, allocations: 438.1 kB / 0.5318 GB, free: 6.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004512/0.3755, allocations: 0.6296 MB / 0.5324 GB, free: 5.762 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008042/0.3835, allocations: 4.056 MB / 0.5363 GB, free: 1.879 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05187/0.4354, allocations: 42.89 MB / 0.5782 GB, free: 8.309 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008448/0.4438, allocations: 7.842 MB / 0.5859 GB, free: 1.711 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001936/0.4458, allocations: 1.723 MB / 0.5876 GB, free: 44 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009289/0.4551, allocations: 6.584 MB / 0.594 GB, free: 9.664 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/0.4551, allocations: 80.62 kB / 0.5941 GB, free: 9.574 MB / 474.7 MB Notification: Performance of pre-optimization done (n=398): time 5.24e-06/0.4551, allocations: 4 kB / 0.5941 GB, free: 9.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=423): time 0.01892/0.474, allocations: 10.24 MB / 0.6041 GB, free: 15.32 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.4741, allocations: 120.7 kB / 0.6042 GB, free: 15.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003691/0.4778, allocations: 3.769 MB / 0.6079 GB, free: 11.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002064/0.478, allocations: 93.7 kB / 0.608 GB, free: 11.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002413/0.4804, allocations: 5.088 MB / 0.6129 GB, free: 6.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009526/0.4814, allocations: 1.566 MB / 0.6145 GB, free: 5.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001309/0.4827, allocations: 1.261 MB / 0.6157 GB, free: 4.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.4828, allocations: 480.7 kB / 0.6161 GB, free: 3.797 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.4838, allocations: 0.7333 MB / 0.6169 GB, free: 3.062 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1781/0.6619, allocations: 3.804 MB / 0.6206 GB, free: 104 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004341/0.6662, allocations: 5.091 MB / 0.6255 GB, free: 100.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-05/0.6663, allocations: 20.09 kB / 0.6256 GB, free: 100.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.006858/0.6731, allocations: 5.237 MB / 0.6307 GB, free: 100.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.552e-05/0.6732, allocations: 31.25 kB / 0.6307 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.17e-05/0.6732, allocations: 66.06 kB / 0.6308 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002692/0.6759, allocations: 1.471 MB / 0.6322 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00223/0.6781, allocations: 1.226 MB / 0.6334 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01097/0.6891, allocations: 12.91 MB / 0.646 GB, free: 92.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003073/0.6922, allocations: 212.8 kB / 0.6462 GB, free: 92.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003645/0.6926, allocations: 238.6 kB / 0.6464 GB, free: 92.64 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.002332/0.6949, allocations: 0.5303 MB / 0.647 GB, free: 92.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008742/0.6958, allocations: 0.6071 MB / 0.6476 GB, free: 92.45 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00614/0.7019, allocations: 3.911 MB / 0.6514 GB, free: 92.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.547e-05/0.7019, allocations: 44.34 kB / 0.6514 GB, free: 92.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-05/0.702, allocations: 19.88 kB / 0.6514 GB, free: 92.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.112e-05/0.702, allocations: 23.86 kB / 0.6515 GB, free: 92.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01708/0.7191, allocations: 11.59 MB / 0.6628 GB, free: 90.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/0.7191, allocations: 6.156 kB / 0.6628 GB, free: 90.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002071/0.7212, allocations: 0.6465 MB / 0.6634 GB, free: 90.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003303/0.7245, allocations: 1.368 MB / 0.6648 GB, free: 90.69 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002903/0.7248, allocations: 110.7 kB / 0.6649 GB, free: 90.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01188/0.7366, allocations: 18.19 MB / 0.6826 GB, free: 77.37 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.7366, allocations: 10.12 kB / 0.6826 GB, free: 77.37 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007811/0.7445, allocations: 5.008 MB / 0.6875 GB, free: 76.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/0.7457, allocations: 0.9275 MB / 0.6884 GB, free: 75.79 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003719/0.7461, allocations: 82.53 kB / 0.6885 GB, free: 75.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.7472, allocations: 133.9 kB / 0.6886 GB, free: 75.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004454/0.7476, allocations: 354 kB / 0.689 GB, free: 75.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001984/0.7478, allocations: 104.9 kB / 0.6891 GB, free: 75.78 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001906/0.7497, allocations: 1.743 MB / 0.6908 GB, free: 75.55 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.7497, allocations: 0 / 0.6908 GB, free: 75.55 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004203/0.7539, allocations: 1.859 MB / 0.6926 GB, free: 75.55 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.0004369/0.7544, allocations: 282.2 kB / 0.6929 GB, free: 75.45 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005033/0.7594, allocations: 4.635 MB / 0.6974 GB, free: 74.44 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.7594, allocations: 0 / 0.6974 GB, free: 74.44 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002579/0.762, allocations: 3.288 MB / 0.7006 GB, free: 72.86 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002503/0.7645, allocations: 1.157 MB / 0.7017 GB, free: 72.45 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01726/0.7817, allocations: 16.2 MB / 0.7175 GB, free: 61.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001983/0.7837, allocations: 2.859 MB / 0.7203 GB, free: 59.59 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001951/0.7857, allocations: 0.7573 MB / 0.7211 GB, free: 58.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001762/0.7874, allocations: 1.184 MB / 0.7222 GB, free: 57.98 MB / 490.7 MB Notification: Performance of SimCode: time 6.71e-07/0.7874, allocations: 0 / 0.7222 GB, free: 57.98 MB / 490.7 MB Notification: Performance of Templates: time 0.2348/1.022, allocations: 80.28 MB / 0.8006 GB, free: 122.7 MB / 0.4948 GB " [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.313733670860529]