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.001007/0.001007, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001013/0.001013, allocations: 156.5 kB / 24.55 MB, free: 20 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.9485/0.9485, allocations: 177 MB / 204.8 MB, free: 5.586 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.2726/0.2726, allocations: 34.87 MB / 296.3 MB, free: 0.5352 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.964e-06/1.964e-06, allocations: 0 / 378.9 MB, free: 1.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.409e-05, allocations: 3.578 kB / 378.9 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.02963/0.02965, allocations: 33.22 MB / 412.1 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02095/0.0506, allocations: 9.196 MB / 421.3 MB, free: 7.375 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007136/0.05774, allocations: 294.4 kB / 421.6 MB, free: 7.086 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01471/0.07244, allocations: 8.512 MB / 430.1 MB, free: 14.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01187/0.08431, allocations: 3.856 MB / 434 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004785/0.0891, allocations: 2.158 MB / 436.1 MB, free: 8.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1934/0.2825, allocations: 13.76 MB / 449.9 MB, free: 49.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01803/0.3006, allocations: 14.8 MB / 464.7 MB, free: 47.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01935/0.3199, allocations: 9.954 MB / 474.6 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01347/0.3334, allocations: 7.042 MB / 481.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006085/0.3395, allocations: 1.88 MB / 483.6 MB, free: 40.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008423/0.3479, allocations: 2.268 MB / 485.8 MB, free: 40.51 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006118/0.354, allocations: 3.898 MB / 489.7 MB, free: 38.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01465/0.3687, allocations: 4.833 MB / 494.6 MB, free: 35.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01832/0.387, allocations: 11.84 MB / 0.4945 GB, free: 30.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.387, allocations: 1.469 kB / 0.4945 GB, free: 30.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.387, allocations: 6.094 kB / 0.4945 GB, free: 30.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006795/0.3877, allocations: 0.8438 kB / 0.4945 GB, free: 30.27 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.03151/0.4192, allocations: 15.56 MB / 0.5097 GB, free: 22.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.4192, allocations: 9.938 kB / 0.5097 GB, free: 22.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02436/0.4436, allocations: 8.6 MB / 0.5181 GB, free: 18.33 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01339/0.457, allocations: 7.829 MB / 0.5258 GB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005371/0.4575, allocations: 0.7933 MB / 0.5266 GB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003593/0.4611, allocations: 1.047 MB / 0.5276 GB, free: 9.977 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02925/0.4903, allocations: 9.309 MB / 0.5367 GB, free: 1.059 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000362/0.4907, allocations: 19.89 kB / 0.5367 GB, free: 1.039 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002555/0.4933, allocations: 436.4 kB / 0.5371 GB, free: 0.625 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004108/0.4937, allocations: 0.6389 MB / 0.5377 GB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01803/0.5117, allocations: 5.218 MB / 0.5428 GB, free: 10.74 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07459/0.5863, allocations: 43.41 MB / 0.5852 GB, free: 15.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01229/0.5986, allocations: 9.224 MB / 0.5942 GB, free: 7.219 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004597/0.6032, allocations: 1.969 MB / 0.5962 GB, free: 5.258 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01233/0.6155, allocations: 6.838 MB / 0.6028 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.324e-05/0.6156, allocations: 80.64 kB / 0.6029 GB, free: 14.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=398): time 5.591e-06/0.6156, allocations: 0 / 0.6029 GB, free: 14.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=423): time 0.02952/0.6451, allocations: 13.7 MB / 0.6163 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.314e-05/0.6452, allocations: 120.7 kB / 0.6164 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1964/0.8416, allocations: 3.851 MB / 0.6202 GB, free: 107.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009205/0.8425, allocations: 99.23 kB / 0.6203 GB, free: 107.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002458/0.8449, allocations: 5.054 MB / 0.6252 GB, free: 105.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001436/0.8464, allocations: 1.551 MB / 0.6267 GB, free: 104.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001425/0.8478, allocations: 1.243 MB / 0.6279 GB, free: 104.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.561e-05/0.8479, allocations: 483 kB / 0.6284 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001689/0.8495, allocations: 0.9501 MB / 0.6293 GB, free: 104.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002527/0.8521, allocations: 4.002 MB / 0.6332 GB, free: 100.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004762/0.8568, allocations: 5.455 MB / 0.6385 GB, free: 97 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.706e-05/0.8569, allocations: 18.06 kB / 0.6386 GB, free: 97 MB / 490.7 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.008655/0.8655, allocations: 5.783 MB / 0.6442 GB, free: 96.44 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/0.8656, allocations: 38.53 kB / 0.6442 GB, free: 96.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.551e-05/0.8657, allocations: 67.53 kB / 0.6443 GB, free: 96.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003202/0.8689, allocations: 1.525 MB / 0.6458 GB, free: 96.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002577/0.8714, allocations: 1.32 MB / 0.6471 GB, free: 96.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01064/0.8821, allocations: 13.39 MB / 0.6602 GB, free: 88.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003489/0.8856, allocations: 317.5 kB / 0.6605 GB, free: 88.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005372/0.8861, allocations: 286.9 kB / 0.6607 GB, free: 88.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.002612/0.8887, allocations: 0.5354 MB / 0.6613 GB, free: 88.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001077/0.8898, allocations: 0.6075 MB / 0.6619 GB, free: 88.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006815/0.8966, allocations: 4.326 MB / 0.6661 GB, free: 87.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.17e-05/0.8966, allocations: 43.47 kB / 0.6661 GB, free: 87.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.377e-05/0.8967, allocations: 15.38 kB / 0.6661 GB, free: 87.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.649e-05/0.8967, allocations: 21.52 kB / 0.6662 GB, free: 87.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01857/0.9153, allocations: 12.07 MB / 0.6779 GB, free: 85.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.9153, allocations: 6.844 kB / 0.6779 GB, free: 85.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/0.917, allocations: 0.7301 MB / 0.6787 GB, free: 85.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003156/0.9202, allocations: 1.409 MB / 0.68 GB, free: 85.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004021/0.9206, allocations: 106.9 kB / 0.6801 GB, free: 85.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01105/0.9316, allocations: 18.71 MB / 0.6984 GB, free: 69.51 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.9316, allocations: 6.344 kB / 0.6984 GB, free: 69.51 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008845/0.9405, allocations: 5.613 MB / 0.7039 GB, free: 67.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002136/0.9426, allocations: 0.9985 MB / 0.7049 GB, free: 66.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006309/0.9432, allocations: 88.05 kB / 0.705 GB, free: 66.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/0.9446, allocations: 228.5 kB / 0.7052 GB, free: 66.61 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006679/0.9452, allocations: 355.2 kB / 0.7055 GB, free: 66.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000197/0.9454, allocations: 130.9 kB / 0.7056 GB, free: 66.53 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002645/0.9481, allocations: 1.901 MB / 0.7075 GB, free: 65.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.9481, allocations: 3.828 kB / 0.7075 GB, free: 65.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005504/0.9536, allocations: 1.865 MB / 0.7093 GB, free: 65.73 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.0005958/0.9542, allocations: 279.9 kB / 0.7096 GB, free: 65.56 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007529/0.9617, allocations: 5.044 MB / 0.7145 GB, free: 63.86 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.547e-06/0.9617, allocations: 6.875 kB / 0.7145 GB, free: 63.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003649/0.9654, allocations: 3.493 MB / 0.7179 GB, free: 60.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00381/0.9692, allocations: 1.148 MB / 0.719 GB, free: 59.83 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0217/0.9909, allocations: 16.36 MB / 0.735 GB, free: 44.62 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002534/0.9934, allocations: 2.86 MB / 0.7378 GB, free: 42.51 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003226/0.9966, allocations: 1.544 MB / 0.7393 GB, free: 41.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008327/0.9975, allocations: 382.1 kB / 0.7397 GB, free: 41.18 MB / 490.7 MB Notification: Performance of SimCode: time 2.074e-06/0.9975, allocations: 0 / 0.7397 GB, free: 41.18 MB / 490.7 MB Notification: Performance of Templates: time 0.2617/1.259, allocations: 77.33 MB / 0.8152 GB, free: 119.2 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.6916649281047285]