Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.001582/0.001582, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001166/0.001166, allocations: 193.3 kB / 16.25 MB, free: 6.617 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.516/1.516, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.001182/0.001182, allocations: 51.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2871, allocations: 46.63 MB / 324.9 MB, free: 1.957 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02561/0.3128, allocations: 24.54 MB / 349.4 MB, free: 11.47 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01786/0.3307, allocations: 7.602 MB / 357 MB, free: 3.852 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007023/0.3377, allocations: 147.5 kB / 357.2 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.019/0.3568, allocations: 7.916 MB / 365.1 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01193/0.3688, allocations: 2.769 MB / 367.8 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006121/0.3749, allocations: 1.664 MB / 369.5 MB, free: 7.316 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01634/0.3913, allocations: 11.19 MB / 380.7 MB, free: 12.08 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04798/0.4393, allocations: 26.92 MB / 407.6 MB, free: 1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01156/0.4509, allocations: 6.02 MB / 413.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01206/0.463, allocations: 6.686 MB / 420.3 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006279/0.4693, allocations: 1.723 MB / 422.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01006/0.4794, allocations: 2.132 MB / 424.2 MB, free: 412 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00799/0.4874, allocations: 3.414 MB / 427.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01545/0.5029, allocations: 6.444 MB / 434 MB, free: 6.508 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4072/0.9102, allocations: 23.02 MB / 457.1 MB, free: 52.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.9103, allocations: 7.688 kB / 457.1 MB, free: 52.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.9103, allocations: 0 / 457.1 MB, free: 52.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006898/0.911, allocations: 2.797 kB / 457.1 MB, free: 52.9 MB / 382.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.04322/0.9542, allocations: 13.62 MB / 470.7 MB, free: 49.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.9543, allocations: 9.469 kB / 470.7 MB, free: 49.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03733/0.9916, allocations: 7.202 MB / 477.9 MB, free: 48.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01764/1.009, allocations: 6.49 MB / 484.4 MB, free: 47.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009447/1.01, allocations: 0.7321 MB / 485.1 MB, free: 47.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005369/1.016, allocations: 0.9634 MB / 486.1 MB, free: 47.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04684/1.063, allocations: 16.61 MB / 0.4909 GB, free: 32.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005333/1.063, allocations: 22.72 kB / 0.4909 GB, free: 32.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004063/1.067, allocations: 409 kB / 0.4913 GB, free: 32.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005961/1.068, allocations: 0.5869 MB / 0.4919 GB, free: 31.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03131/1.099, allocations: 15.79 MB / 0.5073 GB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09921/1.198, allocations: 53.88 MB / 0.5599 GB, free: 9.543 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02255/1.221, allocations: 22.74 MB / 0.5821 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006135/1.227, allocations: 3.828 MB / 0.5859 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01897/1.246, allocations: 11.8 MB / 0.5974 GB, free: 0.918 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.451e-05/1.246, allocations: 69.39 kB / 0.5975 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of pre-optimization done (n=363): time 5.58e-06/1.246, allocations: 0 / 0.5975 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of matching and sorting (n=368): time 0.03732/1.284, allocations: 17.49 MB / 0.6145 GB, free: 15.27 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/1.284, allocations: 90.27 kB / 0.6146 GB, free: 15.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006569/1.29, allocations: 4.761 MB / 0.6193 GB, free: 10.38 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005858/1.291, allocations: 89.7 kB / 0.6194 GB, free: 10.28 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002655/1.294, allocations: 4.474 MB / 0.6237 GB, free: 5.781 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001247/1.295, allocations: 1.269 MB / 0.625 GB, free: 4.523 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001674/1.297, allocations: 1.187 MB / 0.6261 GB, free: 3.324 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.149e-05/1.297, allocations: 309.1 kB / 0.6264 GB, free: 3.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003997/1.301, allocations: 2.928 MB / 0.6293 GB, free: 88 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2093/1.51, allocations: 5.294 MB / 0.6345 GB, free: 191.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01056/1.521, allocations: 8.712 MB / 0.643 GB, free: 186.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001341/1.521, allocations: 28.52 kB / 0.643 GB, free: 186.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.01521/1.536, allocations: 9.663 MB / 0.6524 GB, free: 182.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.827e-05/1.536, allocations: 42.84 kB / 0.6525 GB, free: 182.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001136/1.536, allocations: 78.22 kB / 0.6525 GB, free: 182.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003133/1.539, allocations: 1.407 MB / 0.6539 GB, free: 182.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00433/1.544, allocations: 1.333 MB / 0.6552 GB, free: 182 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01437/1.558, allocations: 12.56 MB / 0.6675 GB, free: 173.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005458/1.564, allocations: 369.2 kB / 0.6678 GB, free: 173.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007741/1.564, allocations: 299.3 kB / 0.6681 GB, free: 172.8 MB / 494.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007342/1.572, allocations: 3.921 MB / 0.672 GB, free: 169.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001158/1.573, allocations: 452 kB / 0.6724 GB, free: 169.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01045/1.583, allocations: 6.82 MB / 0.679 GB, free: 163.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007725/1.591, allocations: 5.629 MB / 0.6845 GB, free: 158.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.847e-05/1.591, allocations: 12 kB / 0.6846 GB, free: 158.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.057e-05/1.591, allocations: 18 kB / 0.6846 GB, free: 158.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02364/1.615, allocations: 15.52 MB / 0.6997 GB, free: 143.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/1.615, allocations: 4 kB / 0.6997 GB, free: 143.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002606/1.617, allocations: 0.6669 MB / 0.7004 GB, free: 142.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003017/1.62, allocations: 1.275 MB / 0.7016 GB, free: 141.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003966/1.621, allocations: 87.97 kB / 0.7017 GB, free: 141.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01274/1.634, allocations: 11.44 MB / 0.7129 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.634, allocations: 11.92 kB / 0.7129 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01367/1.647, allocations: 10.1 MB / 0.7228 GB, free: 119.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002528/1.65, allocations: 1.022 MB / 0.7238 GB, free: 118.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000838/1.651, allocations: 79.94 kB / 0.7238 GB, free: 118.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002174/1.653, allocations: 215.8 kB / 0.724 GB, free: 118.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006488/1.654, allocations: 283.1 kB / 0.7243 GB, free: 118 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002262/1.654, allocations: 116 kB / 0.7244 GB, free: 117.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004163/1.658, allocations: 3.221 MB / 0.7276 GB, free: 114.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.658, allocations: 0 / 0.7276 GB, free: 114.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007898/1.666, allocations: 1.697 MB / 0.7292 GB, free: 113 MB / 494.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001637/1.668, allocations: 0.5142 MB / 0.7297 GB, free: 112.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02546/1.693, allocations: 12.33 MB / 0.7418 GB, free: 100.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.419e-05/1.693, allocations: 0 / 0.7418 GB, free: 100.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006206/1.699, allocations: 3.603 MB / 0.7453 GB, free: 96.54 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005667/1.705, allocations: 1.024 MB / 0.7463 GB, free: 95.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03304/1.738, allocations: 22.19 MB / 0.768 GB, free: 73.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007735/1.746, allocations: 6.555 MB / 0.7744 GB, free: 66.64 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006082/1.752, allocations: 2.102 MB / 0.7764 GB, free: 64.53 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/1.753, allocations: 356.5 kB / 0.7767 GB, free: 64.18 MB / 494.1 MB Notification: Performance of SimCode: time 1.192e-06/1.753, allocations: 3.938 kB / 0.7768 GB, free: 64.18 MB / 494.1 MB Notification: Performance of Templates: time 0.3725/2.126, allocations: 71.67 MB / 0.8467 GB, free: 165 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1)