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.IMS_Characteristics.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.IMS_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009498/0.00095, allocations: 89.44 kB / 16.65 MB, free: 6.535 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.0008838/0.0008841, allocations: 177.8 kB / 17.56 MB, free: 6.18 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.519/1.519, allocations: 205.4 MB / 223.7 MB, free: 13.06 MB / 190.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.0005256/0.0005259, allocations: 15.98 kB / 280.8 MB, free: 3.387 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1007, allocations: 47.58 MB / 328.3 MB, free: 3.734 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02713/0.1279, allocations: 25.45 MB / 353.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01762/0.1455, allocations: 7.857 MB / 361.6 MB, free: 2.285 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006396/0.152, allocations: 163.4 kB / 361.8 MB, free: 2.125 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0089/0.1609, allocations: 1.949 MB / 363.8 MB, free: 172 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01236/0.1733, allocations: 3.088 MB / 366.8 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005908/0.1792, allocations: 1.607 MB / 368.5 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2168/0.3961, allocations: 12.41 MB / 380.9 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04265/0.4388, allocations: 24.1 MB / 405 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009095/0.4479, allocations: 4.635 MB / 409.6 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01069/0.4587, allocations: 5.63 MB / 415.2 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004433/0.4631, allocations: 0.7249 MB / 416 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009037/0.4722, allocations: 1.086 MB / 417 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00489/0.4771, allocations: 2.329 MB / 419.4 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01258/0.4897, allocations: 5.536 MB / 424.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03048/0.5202, allocations: 23.28 MB / 448.2 MB, free: 6.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.5203, allocations: 0 / 448.2 MB, free: 6.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.237e-06/0.5203, allocations: 0 / 448.2 MB, free: 6.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0008075/0.5211, allocations: 3.938 kB / 448.2 MB, free: 6.07 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.03828/0.5594, allocations: 12.28 MB / 460.5 MB, free: 9.773 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.5595, allocations: 8.031 kB / 460.5 MB, free: 9.766 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05374/0.6132, allocations: 9.463 MB / 469.9 MB, free: 416 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02064/0.634, allocations: 6.908 MB / 476.8 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009811/0.635, allocations: 0.8295 MB / 477.7 MB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004745/0.6397, allocations: 1.071 MB / 478.7 MB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04941/0.6892, allocations: 18.77 MB / 497.5 MB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003695/0.6896, allocations: 22.23 kB / 497.5 MB, free: 5.055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003418/0.693, allocations: 456.2 kB / 498 MB, free: 4.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007828/0.6938, allocations: 0.6989 MB / 498.7 MB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03974/0.7336, allocations: 18.23 MB / 0.5048 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5691/1.303, allocations: 60.16 MB / 0.5636 GB, free: 109.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02963/1.332, allocations: 46.71 MB / 0.6092 GB, free: 69.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006739/1.339, allocations: 4.336 MB / 0.6134 GB, free: 68.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02191/1.361, allocations: 12.47 MB / 0.6256 GB, free: 61.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.025e-05/1.361, allocations: 82.55 kB / 0.6257 GB, free: 61.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=391): time 5.79e-06/1.361, allocations: 0 / 0.6257 GB, free: 61.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=397): time 0.04036/1.402, allocations: 19.55 MB / 0.6447 GB, free: 50.65 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/1.402, allocations: 88.69 kB / 0.6448 GB, free: 50.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006331/1.408, allocations: 4.339 MB / 0.6491 GB, free: 46.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000801/1.409, allocations: 91.86 kB / 0.6492 GB, free: 46.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002459/1.411, allocations: 4.814 MB / 0.6539 GB, free: 41.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001573/1.413, allocations: 1.367 MB / 0.6552 GB, free: 39.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007969/1.414, allocations: 0.5079 MB / 0.6557 GB, free: 39.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.194e-05/1.414, allocations: 301.1 kB / 0.656 GB, free: 39.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004275/1.418, allocations: 3.159 MB / 0.6591 GB, free: 35.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005188/1.423, allocations: 5.791 MB / 0.6647 GB, free: 29.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/1.434, allocations: 9.533 MB / 0.674 GB, free: 18.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-05/1.434, allocations: 24 kB / 0.6741 GB, free: 18.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01697/1.451, allocations: 10.35 MB / 0.6842 GB, free: 7.957 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.43e-05/1.451, allocations: 40 kB / 0.6842 GB, free: 7.918 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001338/1.451, allocations: 88 kB / 0.6843 GB, free: 7.832 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003403/1.454, allocations: 1.404 MB / 0.6857 GB, free: 6.422 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005512/1.46, allocations: 1.466 MB / 0.6871 GB, free: 4.953 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01518/1.475, allocations: 10.58 MB / 0.6974 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00548/1.481, allocations: 403.3 kB / 0.6978 GB, free: 9.859 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001249/1.482, allocations: 343.9 kB / 0.6981 GB, free: 9.523 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (755): * Single equations (assignments): 750 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009423/1.491, allocations: 4.173 MB / 0.7022 GB, free: 5.336 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001687/1.493, allocations: 454.4 kB / 0.7026 GB, free: 4.887 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2291/1.722, allocations: 7.412 MB / 0.7099 GB, free: 143.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02091/1.743, allocations: 6.107 MB / 0.7158 GB, free: 142.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.972e-05/1.743, allocations: 11.91 kB / 0.7158 GB, free: 142.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001173/1.743, allocations: 24.47 kB / 0.7159 GB, free: 142.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05/1.793, allocations: 16.48 MB / 0.732 GB, free: 136.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.392e-05/1.794, allocations: 0 / 0.732 GB, free: 136.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004555/1.798, allocations: 0.7263 MB / 0.7327 GB, free: 136.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0037/1.802, allocations: 1.251 MB / 0.7339 GB, free: 136.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007771/1.803, allocations: 87.52 kB / 0.734 GB, free: 136.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01413/1.817, allocations: 9.312 MB / 0.7431 GB, free: 131.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.817, allocations: 3.938 kB / 0.7431 GB, free: 131.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01662/1.833, allocations: 10.66 MB / 0.7535 GB, free: 127 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002126/1.836, allocations: 1.057 MB / 0.7545 GB, free: 126.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006878/1.836, allocations: 69.69 kB / 0.7546 GB, free: 126.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002339/1.839, allocations: 263.4 kB / 0.7548 GB, free: 126.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000628/1.839, allocations: 278.3 kB / 0.7551 GB, free: 126.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000229/1.84, allocations: 114.5 kB / 0.7552 GB, free: 126.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00382/1.843, allocations: 2.908 MB / 0.7581 GB, free: 125.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.062e-06/1.843, allocations: 0 / 0.7581 GB, free: 125.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00586/1.849, allocations: 1.843 MB / 0.7599 GB, free: 123.9 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.port_p.reference.gamma,speed.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 (363): * Single equations (assignments): 358 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007637/1.85, allocations: 262.9 kB / 0.7601 GB, free: 123.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01135/1.861, allocations: 8.004 MB / 0.7679 GB, free: 116.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/1.861, allocations: 0 / 0.7679 GB, free: 116.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005455/1.867, allocations: 3.699 MB / 0.7715 GB, free: 112.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00528/1.872, allocations: 1.038 MB / 0.7726 GB, free: 111.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02791/1.9, allocations: 23.64 MB / 0.7956 GB, free: 87.74 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006216/1.906, allocations: 7.032 MB / 0.8025 GB, free: 80.66 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005871/1.912, allocations: 2.244 MB / 0.8047 GB, free: 78.41 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/1.913, allocations: 371.4 kB / 0.8051 GB, free: 78.04 MB / 462.1 MB Notification: Performance of SimCode: time 6.42e-07/1.913, allocations: 0 / 0.8051 GB, free: 78.04 MB / 462.1 MB Notification: Performance of Templates: time 0.331/2.244, allocations: 71.73 MB / 0.8751 GB, free: 135.1 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1)