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_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.IMC_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 105 kB / 17.06 MB, free: 6.027 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.001194/0.001194, allocations: 196 kB / 18 MB, free: 5.105 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.393/1.393, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001286/0.001286, allocations: 51.92 kB / 327.9 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09956/0.1009, allocations: 46.62 MB / 374.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.3149/0.4158, allocations: 24.88 MB / 399.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02199/0.4379, allocations: 7.353 MB / 406.8 MB, free: 8.273 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009717/0.4477, allocations: 157.8 kB / 406.9 MB, free: 8.242 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02444/0.4722, allocations: 8.788 MB / 415.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01417/0.4864, allocations: 2.984 MB / 418.7 MB, free: 84 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008269/0.4947, allocations: 1.727 MB / 420.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02188/0.5166, allocations: 10.87 MB / 431.3 MB, free: 6.867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04931/0.5659, allocations: 21.87 MB / 453.1 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01347/0.5795, allocations: 5.802 MB / 458.9 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01363/0.5931, allocations: 6.343 MB / 465.3 MB, free: 4.676 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005895/0.5991, allocations: 1.68 MB / 467 MB, free: 2.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009455/0.6086, allocations: 2.043 MB / 469 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007146/0.6158, allocations: 3.219 MB / 472.2 MB, free: 13.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0168/0.6326, allocations: 6.172 MB / 478.4 MB, free: 7.531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03555/0.6682, allocations: 22.38 MB / 0.489 GB, free: 1.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.608e-05/0.6683, allocations: 0 / 0.489 GB, free: 1.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.128e-06/0.6683, allocations: 3.984 kB / 0.489 GB, free: 1.086 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001089/0.6694, allocations: 0 / 0.489 GB, free: 1.086 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.05037/0.7198, allocations: 12.9 MB / 0.5016 GB, free: 4.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.08e-05/0.7199, allocations: 12.03 kB / 0.5017 GB, free: 4.078 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04351/0.7634, allocations: 7.187 MB / 0.5087 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01982/0.7833, allocations: 6.168 MB / 0.5147 GB, free: 6.645 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001161/0.7845, allocations: 0.7105 MB / 0.5154 GB, free: 5.934 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006012/0.7906, allocations: 0.9335 MB / 0.5163 GB, free: 5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04915/0.8398, allocations: 16.21 MB / 0.5321 GB, free: 4.727 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003644/0.8402, allocations: 7.906 kB / 0.5321 GB, free: 4.719 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003933/0.8441, allocations: 396 kB / 0.5325 GB, free: 4.332 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006447/0.8448, allocations: 0.5864 MB / 0.5331 GB, free: 3.742 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03751/0.8823, allocations: 15.46 MB / 0.5482 GB, free: 4.262 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.644/1.526, allocations: 52.23 MB / 0.5992 GB, free: 105.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02814/1.555, allocations: 35.5 MB / 0.6339 GB, free: 70.51 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006259/1.561, allocations: 3.384 MB / 0.6372 GB, free: 68.72 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02092/1.582, allocations: 10.04 MB / 0.647 GB, free: 60.66 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.812e-05/1.582, allocations: 68.11 kB / 0.647 GB, free: 60.59 MB / 478.1 MB Notification: Performance of pre-optimization done (n=297): time 7.344e-06/1.582, allocations: 0 / 0.647 GB, free: 60.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=303): time 0.03945/1.621, allocations: 15.36 MB / 0.662 GB, free: 45.11 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/1.621, allocations: 81.78 kB / 0.6621 GB, free: 45.02 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007501/1.629, allocations: 3.859 MB / 0.6659 GB, free: 41.17 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007871/1.63, allocations: 73.7 kB / 0.666 GB, free: 41.09 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00232/1.632, allocations: 4.25 MB / 0.6701 GB, free: 36.81 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001304/1.633, allocations: 1.059 MB / 0.6711 GB, free: 35.76 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002889/1.636, allocations: 1.099 MB / 0.6722 GB, free: 34.65 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.235e-05/1.636, allocations: 301.1 kB / 0.6725 GB, free: 34.36 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003927/1.64, allocations: 2.552 MB / 0.675 GB, free: 31.8 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004945/1.645, allocations: 4.909 MB / 0.6798 GB, free: 25.77 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009967/1.655, allocations: 7.946 MB / 0.6875 GB, free: 16.68 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001017/1.655, allocations: 24 kB / 0.6876 GB, free: 16.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01931/1.675, allocations: 8.643 MB / 0.696 GB, free: 7.973 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000108/1.675, allocations: 40 kB / 0.696 GB, free: 7.934 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001578/1.675, allocations: 80 kB / 0.6961 GB, free: 7.855 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003597/1.679, allocations: 1.245 MB / 0.6973 GB, free: 6.609 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004803/1.684, allocations: 1.221 MB / 0.6985 GB, free: 5.387 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01582/1.699, allocations: 9.959 MB / 0.7083 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005224/1.705, allocations: 331.4 kB / 0.7086 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001379/1.706, allocations: 284 kB / 0.7088 GB, free: 10.68 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (638): * Single equations (assignments): 636 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009278/1.715, allocations: 3.732 MB / 0.7125 GB, free: 6.938 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00174/1.717, allocations: 379.3 kB / 0.7128 GB, free: 6.562 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/1.731, allocations: 5.811 MB / 0.7185 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009427/1.741, allocations: 4.766 MB / 0.7232 GB, free: 11.89 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.105e-05/1.741, allocations: 8 kB / 0.7232 GB, free: 11.88 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-05/1.741, allocations: 15.94 kB / 0.7232 GB, free: 11.86 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03567/1.776, allocations: 13.7 MB / 0.7366 GB, free: 14.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-05/1.776, allocations: 0 / 0.7366 GB, free: 14.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002707/1.779, allocations: 0.5617 MB / 0.7371 GB, free: 13.54 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003501/1.783, allocations: 1.11 MB / 0.7382 GB, free: 12.42 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005762/1.783, allocations: 75.92 kB / 0.7383 GB, free: 12.35 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01431/1.798, allocations: 8.845 MB / 0.7469 GB, free: 3.379 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/1.798, allocations: 8 kB / 0.7469 GB, free: 3.371 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3013/2.099, allocations: 8.499 MB / 0.7552 GB, free: 172.6 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003077/2.102, allocations: 0.8658 MB / 0.7561 GB, free: 172.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001479/2.104, allocations: 59.47 kB / 0.7561 GB, free: 172.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003075/2.107, allocations: 183.6 kB / 0.7563 GB, free: 172.5 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009801/2.108, allocations: 227 kB / 0.7565 GB, free: 172.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004962/2.108, allocations: 92 kB / 0.7566 GB, free: 172.5 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006459/2.115, allocations: 2.59 MB / 0.7591 GB, free: 171.6 MB / 0.5138 GB Notification: Performance of sort global known variables: time 3.3e-07/2.115, allocations: 0 / 0.7591 GB, free: 171.6 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008008/2.123, allocations: 1.552 MB / 0.7607 GB, free: 171.5 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (imcQS.rotorCage.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 (282): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009722/2.124, allocations: 248.1 kB / 0.7609 GB, free: 171.3 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01316/2.137, allocations: 6.516 MB / 0.7673 GB, free: 168.8 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/2.137, allocations: 1.156 kB / 0.7673 GB, free: 168.8 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.006304/2.143, allocations: 2.974 MB / 0.7702 GB, free: 167.6 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005669/2.149, allocations: 0.9609 MB / 0.7711 GB, free: 167.2 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0284/2.177, allocations: 16.08 MB / 0.7868 GB, free: 160.1 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007412/2.185, allocations: 6.228 MB / 0.7929 GB, free: 157.3 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.004475/2.189, allocations: 1.883 MB / 0.7947 GB, free: 156 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008039/2.19, allocations: 305.7 kB / 0.795 GB, free: 155.7 MB / 0.5138 GB Notification: Performance of SimCode: time 1.453e-06/2.19, allocations: 0 / 0.795 GB, free: 155.7 MB / 0.5138 GB Notification: Performance of Templates: time 0.09348/2.284, allocations: 60.85 MB / 0.8544 GB, free: 96.92 MB / 0.5138 GB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1)