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.0009337/0.000934, allocations: 92.09 kB / 16.3 MB, free: 5.996 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.0009172/0.0009172, allocations: 184 kB / 17.2 MB, free: 5.914 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.503/1.503, allocations: 205.4 MB / 223.4 MB, free: 5.551 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.0004542/0.0004544, allocations: 15.98 kB / 280.2 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2584, allocations: 47.58 MB / 327.7 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02209/0.2806, allocations: 21.65 MB / 349.4 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01774/0.2984, allocations: 7.617 MB / 357 MB, free: 6.184 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006287/0.3047, allocations: 159.4 kB / 357.1 MB, free: 6.027 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00707/0.3118, allocations: 1.636 MB / 358.8 MB, free: 4.383 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0124/0.3243, allocations: 2.828 MB / 361.6 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005962/0.3302, allocations: 1.275 MB / 362.9 MB, free: 276 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0182/0.3485, allocations: 10.94 MB / 373.8 MB, free: 5.309 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04067/0.3892, allocations: 19.64 MB / 393.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009848/0.3991, allocations: 4.404 MB / 397.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009366/0.4085, allocations: 4.844 MB / 402.7 MB, free: 8.297 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003275/0.4118, allocations: 0.7227 MB / 403.4 MB, free: 7.574 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005349/0.4172, allocations: 1.011 MB / 404.5 MB, free: 6.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004469/0.4217, allocations: 2.196 MB / 406.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004914/0.4266, allocations: 2.34 MB / 409 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02356/0.4502, allocations: 20.86 MB / 429.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4502, allocations: 0 / 429.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4502, allocations: 0 / 429.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0008292/0.4511, allocations: 0 / 429.8 MB, free: 13.09 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: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.03944/0.4905, allocations: 12.32 MB / 442.2 MB, free: 0.668 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.4906, allocations: 8.031 kB / 442.2 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05136/0.542, allocations: 9.264 MB / 451.4 MB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01929/0.5613, allocations: 6.807 MB / 458.2 MB, free: 492 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3449/0.9062, allocations: 0.8143 MB / 459.1 MB, free: 90.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005874/0.9121, allocations: 1.071 MB / 460.1 MB, free: 90.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04403/0.9562, allocations: 18.6 MB / 478.7 MB, free: 83.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000297/0.9565, allocations: 8.875 kB / 478.7 MB, free: 83.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001966/0.9585, allocations: 458.5 kB / 479.2 MB, free: 82.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005421/0.959, allocations: 0.7007 MB / 479.9 MB, free: 82.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0361/0.9951, allocations: 18.14 MB / 498 MB, free: 66.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1031/1.098, allocations: 60.11 MB / 0.5451 GB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04219/1.141, allocations: 46.68 MB / 0.5906 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02508/1.166, allocations: 12.55 MB / 0.6029 GB, free: 5.098 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.55e-05/1.166, allocations: 73.64 kB / 0.603 GB, free: 5.016 MB / 446.1 MB Notification: Performance of pre-optimization done (n=395): time 6.683e-06/1.166, allocations: 4 kB / 0.603 GB, free: 5.012 MB / 446.1 MB Notification: Performance of matching and sorting (n=401): time 0.04655/1.212, allocations: 19.75 MB / 0.6223 GB, free: 1.113 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/1.212, allocations: 98.48 kB / 0.6224 GB, free: 1.004 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1927/1.405, allocations: 4.258 MB / 0.6265 GB, free: 156.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007256/1.406, allocations: 89.19 kB / 0.6266 GB, free: 156.7 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002892/1.409, allocations: 4.815 MB / 0.6313 GB, free: 153.8 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001614/1.41, allocations: 1.377 MB / 0.6327 GB, free: 152.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009795/1.411, allocations: 129.3 kB / 0.6328 GB, free: 152.6 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0005679/1.412, allocations: 0.5677 MB / 0.6333 GB, free: 152.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005205/1.417, allocations: 3.166 MB / 0.6364 GB, free: 151 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00622/1.423, allocations: 5.766 MB / 0.6421 GB, free: 146.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005993/1.429, allocations: 4.444 MB / 0.6464 GB, free: 144.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.168e-05/1.43, allocations: 27 kB / 0.6464 GB, free: 144.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=832) (initialization): time 0.0162/1.446, allocations: 10.34 MB / 0.6565 GB, free: 140.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.857e-05/1.446, allocations: 43.72 kB / 0.6566 GB, free: 140.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001334/1.446, allocations: 94.62 kB / 0.6566 GB, free: 140.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003301/1.449, allocations: 1.402 MB / 0.658 GB, free: 140.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005363/1.455, allocations: 1.472 MB / 0.6595 GB, free: 140 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01344/1.468, allocations: 10.86 MB / 0.6701 GB, free: 132.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00521/1.473, allocations: 402.8 kB / 0.6704 GB, free: 132 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001135/1.475, allocations: 331.7 kB / 0.6708 GB, free: 131.7 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 (759): * Single equations (assignments): 754 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006857/1.481, allocations: 4.177 MB / 0.6748 GB, free: 128.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001005/1.482, allocations: 450 kB / 0.6753 GB, free: 127.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/1.493, allocations: 7.49 MB / 0.6826 GB, free: 120.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008333/1.502, allocations: 6.122 MB / 0.6886 GB, free: 114.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.736e-05/1.502, allocations: 12 kB / 0.6886 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.56e-05/1.502, allocations: 19.92 kB / 0.6886 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02592/1.528, allocations: 16.54 MB / 0.7047 GB, free: 98.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/1.528, allocations: 4 kB / 0.7047 GB, free: 98.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0032/1.531, allocations: 0.7332 MB / 0.7055 GB, free: 97.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003185/1.534, allocations: 1.238 MB / 0.7067 GB, free: 96.11 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005677/1.535, allocations: 87.97 kB / 0.7068 GB, free: 96.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01351/1.548, allocations: 9.624 MB / 0.7162 GB, free: 86.27 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.548, allocations: 4 kB / 0.7162 GB, free: 86.27 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01385/1.562, allocations: 10.8 MB / 0.7267 GB, free: 75.39 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002818/1.565, allocations: 1.061 MB / 0.7277 GB, free: 74.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008018/1.566, allocations: 72 kB / 0.7278 GB, free: 74.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002276/1.568, allocations: 259.8 kB / 0.7281 GB, free: 73.98 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005242/1.569, allocations: 279.5 kB / 0.7283 GB, free: 73.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002348/1.569, allocations: 120 kB / 0.7284 GB, free: 73.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003668/1.573, allocations: 2.838 MB / 0.7312 GB, free: 70.74 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/1.573, allocations: 0 / 0.7312 GB, free: 70.74 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006208/1.579, allocations: 1.849 MB / 0.733 GB, free: 68.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 (367): * Single equations (assignments): 362 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,40.3%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005849/1.579, allocations: 256.1 kB / 0.7333 GB, free: 68.65 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01042/1.59, allocations: 8.028 MB / 0.7411 GB, free: 60.61 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.59, allocations: 4.062 kB / 0.7411 GB, free: 60.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005009/1.595, allocations: 3.708 MB / 0.7447 GB, free: 56.89 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004046/1.599, allocations: 0.9816 MB / 0.7457 GB, free: 55.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04546/1.644, allocations: 22.47 MB / 0.7676 GB, free: 33.38 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01379/1.658, allocations: 7.208 MB / 0.7747 GB, free: 26.12 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.01273/1.671, allocations: 2.252 MB / 0.7769 GB, free: 23.86 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002713/1.674, allocations: 363.4 kB / 0.7772 GB, free: 23.51 MB / 462.1 MB Notification: Performance of SimCode: time 1.493e-06/1.674, allocations: 0 / 0.7772 GB, free: 23.51 MB / 462.1 MB Notification: Performance of Templates: time 0.2785/1.952, allocations: 69.85 MB / 0.8454 GB, free: 108.6 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: