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_Start.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_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001337, allocations: 112.5 kB / 17.06 MB, free: 6 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.00135/0.00135, allocations: 200 kB / 18 MB, free: 5.078 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.525/1.525, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001197/0.001197, allocations: 51.94 kB / 327.9 MB, free: 3.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1099, allocations: 46.62 MB / 374.5 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.2827/0.3927, allocations: 45.32 MB / 419.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03524/0.428, allocations: 11.74 MB / 431.6 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01307/0.4411, allocations: 303.5 kB / 431.9 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03062/0.4718, allocations: 12.38 MB / 444.3 MB, free: 9.703 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02061/0.4924, allocations: 4.836 MB / 449.1 MB, free: 4.844 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0111/0.5036, allocations: 2.983 MB / 452.1 MB, free: 1.863 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.03312/0.5367, allocations: 21.09 MB / 473.2 MB, free: 12.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0748/0.6116, allocations: 41.89 MB / 0.503 GB, free: 2.527 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01962/0.6312, allocations: 11 MB / 0.5138 GB, free: 7.492 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0215/0.6528, allocations: 12.11 MB / 0.5256 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01211/0.6649, allocations: 3.141 MB / 0.5286 GB, free: 8.199 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01413/0.6791, allocations: 3.554 MB / 0.5321 GB, free: 4.648 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01235/0.6915, allocations: 6.317 MB / 0.5383 GB, free: 14.32 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02979/0.7213, allocations: 11.97 MB / 0.55 GB, free: 2.301 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.6385/1.36, allocations: 41.4 MB / 0.5904 GB, free: 61.3 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/1.36, allocations: 1.656 kB / 0.5904 GB, free: 61.3 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.625e-06/1.36, allocations: 0 / 0.5904 GB, free: 61.3 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001992/1.362, allocations: 0 / 0.5904 GB, free: 61.3 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5087 * Number of variables: 5087 Notification: Performance of Generate backend data structure: time 0.1167/1.479, allocations: 24.07 MB / 0.6139 GB, free: 49.24 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/1.479, allocations: 11.34 kB / 0.6139 GB, free: 49.24 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07233/1.551, allocations: 12.33 MB / 0.626 GB, free: 43.23 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03694/1.588, allocations: 12.1 MB / 0.6378 GB, free: 31.65 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001583/1.59, allocations: 1.373 MB / 0.6391 GB, free: 30.3 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01344/1.603, allocations: 1.808 MB / 0.6409 GB, free: 28.51 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09992/1.703, allocations: 30.03 MB / 0.6702 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001323/1.704, allocations: 19.81 kB / 0.6702 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01206/1.717, allocations: 0.7484 MB / 0.671 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001431/1.718, allocations: 1.018 MB / 0.672 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08063/1.799, allocations: 27.96 MB / 0.6993 GB, free: 0.6562 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4874/2.286, allocations: 94.24 MB / 0.7913 GB, free: 145.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04008/2.326, allocations: 63.44 MB / 0.8533 GB, free: 93.36 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01253/2.339, allocations: 7.464 MB / 0.8605 GB, free: 91.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03799/2.377, allocations: 20.51 MB / 0.8806 GB, free: 77.66 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.688e-05/2.377, allocations: 116.4 kB / 0.8807 GB, free: 77.54 MB / 0.545 GB Notification: Performance of pre-optimization done (n=677): time 7.965e-06/2.377, allocations: 0 / 0.8807 GB, free: 77.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=685): time 0.08427/2.461, allocations: 38.27 MB / 0.9181 GB, free: 38.87 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.419e-05/2.461, allocations: 147.1 kB / 0.9182 GB, free: 38.71 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01372/2.475, allocations: 7.252 MB / 0.9253 GB, free: 31.48 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001316/2.476, allocations: 137.7 kB / 0.9254 GB, free: 31.34 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003825/2.48, allocations: 7.939 MB / 0.9332 GB, free: 23.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002354/2.483, allocations: 2.331 MB / 0.9354 GB, free: 21.04 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00318/2.486, allocations: 1.929 MB / 0.9373 GB, free: 19.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.133e-05/2.486, allocations: 310.1 kB / 0.9376 GB, free: 18.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006492/2.492, allocations: 4.915 MB / 0.9424 GB, free: 13.88 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008698/2.501, allocations: 8.623 MB / 0.9508 GB, free: 3.535 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2809/2.782, allocations: 14.38 MB / 0.9649 GB, free: 168.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001473/2.782, allocations: 37.03 kB / 0.9649 GB, free: 168.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1274) (initialization): time 0.034/2.816, allocations: 16.39 MB / 0.9809 GB, free: 165.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.038e-05/2.816, allocations: 58.38 kB / 0.981 GB, free: 165.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001934/2.817, allocations: 117.9 kB / 0.9811 GB, free: 165.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006223/2.823, allocations: 2.591 MB / 0.9836 GB, free: 165 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008557/2.831, allocations: 2.182 MB / 0.9858 GB, free: 164.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03153/2.863, allocations: 30.8 MB / 1.016 GB, free: 143.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009248/2.872, allocations: 0.5405 MB / 1.016 GB, free: 142.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002525/2.875, allocations: 483 kB / 1.017 GB, free: 142.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * Number of states: 0 () * Number of discrete variables: 12 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,rheostatQS.booleanStep[3].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1128): * Single equations (assignments): 1118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (18,100,38.3%), (1,5,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01688/2.892, allocations: 6.819 MB / 1.023 GB, free: 136.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002271/2.894, allocations: 0.7717 MB / 1.024 GB, free: 136.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02313/2.917, allocations: 13.1 MB / 1.037 GB, free: 125 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01241/2.93, allocations: 8.213 MB / 1.045 GB, free: 117.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.846e-05/2.93, allocations: 31.8 kB / 1.045 GB, free: 117.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001097/2.93, allocations: 34.22 kB / 1.045 GB, free: 117.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05785/2.988, allocations: 28.01 MB / 1.072 GB, free: 90.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.312e-05/2.988, allocations: 4 kB / 1.072 GB, free: 90.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005266/2.993, allocations: 1.112 MB / 1.074 GB, free: 89.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006319/2.999, allocations: 2.646 MB / 1.076 GB, free: 86.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001377/3.001, allocations: 148 kB / 1.076 GB, free: 86.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03173/3.033, allocations: 35.83 MB / 1.111 GB, free: 49.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/3.033, allocations: 4.047 kB / 1.111 GB, free: 49.51 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02872/3.061, allocations: 18.8 MB / 1.13 GB, free: 30.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0062/3.068, allocations: 1.771 MB / 1.131 GB, free: 28.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002523/3.07, allocations: 127.9 kB / 1.131 GB, free: 28.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005387/3.076, allocations: 391.6 kB / 1.132 GB, free: 28.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001703/3.077, allocations: 0.5259 MB / 1.132 GB, free: 27.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005634/3.078, allocations: 195.9 kB / 1.133 GB, free: 27.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008326/3.086, allocations: 4.875 MB / 1.137 GB, free: 22.61 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.61e-07/3.086, allocations: 0 / 1.137 GB, free: 22.61 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01479/3.101, allocations: 3.087 MB / 1.14 GB, free: 19.54 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (ims.inertiaRotor.w,ims.stator.zeroInductor.i0,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.rotor.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,quadraticLoadTorque.phi,imsQS.inertiaRotor.w,imsQS.rotor.strayReluctance.port_p.reference.gamma,quadraticLoadTorqueQS.phi) * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (560): * Single equations (assignments): 548 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,5,100.0%), (1,8,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (18,100,41.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001726/3.103, allocations: 354 kB / 1.141 GB, free: 19.19 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02123/3.124, allocations: 13.52 MB / 1.154 GB, free: 5.504 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/3.124, allocations: 1.312 kB / 1.154 GB, free: 5.504 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.2477/3.372, allocations: 7.576 MB / 1.161 GB, free: 167.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01981/3.392, allocations: 2.153 MB / 1.163 GB, free: 167.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07224/3.464, allocations: 32.3 MB / 1.195 GB, free: 158.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02145/3.485, allocations: 11.42 MB / 1.206 GB, free: 155.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.01223/3.498, allocations: 3.365 MB / 1.209 GB, free: 152.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003287/3.501, allocations: 0.5705 MB / 1.21 GB, free: 152.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.323e-06/3.501, allocations: 3.938 kB / 1.21 GB, free: 152.4 MB / 0.545 GB Notification: Performance of Templates: time 0.2082/3.709, allocations: 131.1 MB / 1.338 GB, free: 24.98 MB / 0.545 GB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1)