Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009657/0.0009662, allocations: 87.94 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008928/0.0008931, allocations: 183.2 kB / 17.21 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.4 MB / 223.4 MB, free: 5.262 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004959/0.000496, allocations: 12 kB / 280.2 MB, free: 12.64 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.259, allocations: 47.59 MB / 327.8 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.0251/0.2842, allocations: 21.73 MB / 349.5 MB, free: 13.65 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01829/0.3025, allocations: 7.098 MB / 356.6 MB, free: 6.539 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005619/0.3082, allocations: 147.5 kB / 356.7 MB, free: 6.395 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005876/0.3141, allocations: 1.34 MB / 358.1 MB, free: 5.047 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01066/0.3248, allocations: 2.5 MB / 360.6 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005986/0.3308, allocations: 1.219 MB / 361.8 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.02308/0.3539, allocations: 13.66 MB / 375.5 MB, free: 3.613 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04215/0.3961, allocations: 19.35 MB / 394.8 MB, free: 144 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008417/0.4045, allocations: 4.408 MB / 399.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009273/0.4138, allocations: 4.884 MB / 404.1 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002874/0.4167, allocations: 0.6718 MB / 404.8 MB, free: 6.141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005241/0.422, allocations: 1.035 MB / 405.8 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003875/0.4259, allocations: 2.118 MB / 407.9 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006597/0.4325, allocations: 2.153 MB / 410.1 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02395/0.4565, allocations: 19.59 MB / 429.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.4566, allocations: 0 / 429.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4566, allocations: 0 / 429.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006456/0.4572, allocations: 4 kB / 429.7 MB, free: 13.17 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.03336/0.4906, allocations: 11.46 MB / 441.1 MB, free: 1.605 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.4907, allocations: 12.03 kB / 441.2 MB, free: 1.594 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03981/0.5305, allocations: 7.229 MB / 448.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01562/0.5461, allocations: 6.405 MB / 454.8 MB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000947/0.5471, allocations: 0.7424 MB / 455.5 MB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004505/0.5517, allocations: 0.9607 MB / 456.5 MB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3989/0.9506, allocations: 16.54 MB / 473 MB, free: 86.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002474/0.9508, allocations: 10.41 kB / 473 MB, free: 86.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001494/0.9523, allocations: 410.1 kB / 473.4 MB, free: 86.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006022/0.953, allocations: 0.5873 MB / 474 MB, free: 86.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02711/0.9801, allocations: 15.73 MB / 489.8 MB, free: 75.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08639/1.066, allocations: 54 MB / 0.531 GB, free: 21.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01896/1.086, allocations: 22.7 MB / 0.5532 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007021/1.093, allocations: 3.838 MB / 0.5569 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02384/1.116, allocations: 11.79 MB / 0.5684 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.766e-05/1.117, allocations: 69.39 kB / 0.5685 GB, free: 12.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=363): time 6.683e-06/1.117, allocations: 0 / 0.5685 GB, free: 12.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=368): time 0.05252/1.169, allocations: 19.95 MB / 0.588 GB, free: 8.309 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/1.169, allocations: 94.25 kB / 0.5881 GB, free: 8.203 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009505/1.179, allocations: 4.733 MB / 0.5927 GB, free: 3.441 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006933/1.18, allocations: 85.7 kB / 0.5928 GB, free: 3.352 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003683/1.183, allocations: 4.476 MB / 0.5972 GB, free: 14.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001697/1.185, allocations: 1.27 MB / 0.5984 GB, free: 13.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007352/1.186, allocations: 116 kB / 0.5985 GB, free: 13.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0005057/1.186, allocations: 0.5462 MB / 0.599 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005312/1.192, allocations: 2.912 MB / 0.6019 GB, free: 9.996 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007357/1.199, allocations: 5.29 MB / 0.607 GB, free: 3.602 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2604/1.459, allocations: 4.097 MB / 0.6111 GB, free: 137.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001247/1.46, allocations: 22.56 kB / 0.6111 GB, free: 137.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.01889/1.478, allocations: 9.637 MB / 0.6205 GB, free: 135.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.482e-05/1.479, allocations: 39.5 kB / 0.6205 GB, free: 135.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001407/1.479, allocations: 74.81 kB / 0.6206 GB, free: 135.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003174/1.482, allocations: 1.416 MB / 0.622 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005104/1.487, allocations: 1.325 MB / 0.6233 GB, free: 134.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01631/1.503, allocations: 11.65 MB / 0.6346 GB, free: 128.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005768/1.509, allocations: 369.9 kB / 0.635 GB, free: 128.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001597/1.511, allocations: 303.4 kB / 0.6353 GB, free: 128.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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 (692): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,45.9%) 54} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008277/1.519, allocations: 3.922 MB / 0.6391 GB, free: 126.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001378/1.52, allocations: 453.4 kB / 0.6396 GB, free: 126.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/1.533, allocations: 6.822 MB / 0.6462 GB, free: 123.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008734/1.542, allocations: 5.62 MB / 0.6517 GB, free: 121.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.792e-05/1.542, allocations: 12.81 kB / 0.6517 GB, free: 121.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.05e-05/1.542, allocations: 18.8 kB / 0.6517 GB, free: 121.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03259/1.575, allocations: 15.49 MB / 0.6669 GB, free: 106.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.159e-05/1.575, allocations: 7.094 kB / 0.6669 GB, free: 106.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002925/1.578, allocations: 0.6753 MB / 0.6675 GB, free: 106.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003338/1.581, allocations: 1.261 MB / 0.6688 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007071/1.582, allocations: 91.97 kB / 0.6689 GB, free: 104.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01269/1.595, allocations: 10.57 MB / 0.6792 GB, free: 94.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/1.595, allocations: 7.938 kB / 0.6792 GB, free: 94.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01415/1.609, allocations: 10.08 MB / 0.689 GB, free: 83.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002443/1.611, allocations: 1.038 MB / 0.69 GB, free: 82.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00112/1.612, allocations: 75.98 kB / 0.6901 GB, free: 82.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002502/1.615, allocations: 223.8 kB / 0.6903 GB, free: 82.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00061/1.615, allocations: 271.1 kB / 0.6906 GB, free: 82.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003011/1.616, allocations: 116 kB / 0.6907 GB, free: 82.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005178/1.621, allocations: 3.201 MB / 0.6938 GB, free: 78.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/1.621, allocations: 0 / 0.6938 GB, free: 78.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006512/1.628, allocations: 1.693 MB / 0.6955 GB, free: 77.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (336): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,45.9%) 54} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001442/1.629, allocations: 0.4992 MB / 0.696 GB, free: 76.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01256/1.642, allocations: 7.569 MB / 0.7034 GB, free: 69.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/1.642, allocations: 4 kB / 0.7034 GB, free: 69.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006344/1.648, allocations: 3.595 MB / 0.7069 GB, free: 65.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006524/1.655, allocations: 0.9931 MB / 0.7078 GB, free: 64.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03639/1.691, allocations: 21.31 MB / 0.7286 GB, free: 43.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009256/1.7, allocations: 6.559 MB / 0.7351 GB, free: 36.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.007255/1.708, allocations: 2.102 MB / 0.7371 GB, free: 34.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00179/1.709, allocations: 355.4 kB / 0.7374 GB, free: 34.06 MB / 446.1 MB Notification: Performance of SimCode: time 1.282e-06/1.709, allocations: 3.938 kB / 0.7375 GB, free: 34.06 MB / 446.1 MB Notification: Performance of Templates: time 0.3529/2.062, allocations: 66.72 MB / 0.8026 GB, free: 134.2 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1)