Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001353/0.001353, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00115/0.00115, allocations: 190.8 kB / 16.25 MB, free: 6.625 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.531/1.531, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.001355/0.001355, allocations: 55.92 kB / 278.2 MB, free: 12.63 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.253, allocations: 46.63 MB / 324.9 MB, free: 1.973 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.04386/0.2969, allocations: 44.5 MB / 369.4 MB, free: 7.441 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02721/0.3242, allocations: 11.56 MB / 380.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01225/0.3365, allocations: 282.9 kB / 381.2 MB, free: 11.56 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02739/0.364, allocations: 11.67 MB / 392.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01886/0.3828, allocations: 4.374 MB / 397.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01004/0.3929, allocations: 2.745 MB / 400 MB, free: 8.711 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02982/0.4227, allocations: 21.15 MB / 421.1 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3125/0.7353, allocations: 47.04 MB / 468.2 MB, free: 22.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01822/0.7535, allocations: 10.98 MB / 479.2 MB, free: 22.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01876/0.7723, allocations: 12.23 MB / 491.4 MB, free: 20.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009789/0.7822, allocations: 3.137 MB / 494.5 MB, free: 20.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01279/0.795, allocations: 3.551 MB / 498.1 MB, free: 20.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01013/0.8052, allocations: 6.323 MB / 0.4926 GB, free: 19.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02353/0.8287, allocations: 11.98 MB / 0.5043 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04386/0.8726, allocations: 41.13 MB / 0.5444 GB, free: 4.699 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.8726, allocations: 4 kB / 0.5445 GB, free: 4.695 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.8726, allocations: 0 / 0.5445 GB, free: 4.695 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001258/0.8739, allocations: 0 / 0.5445 GB, free: 4.695 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: 5087 * Number of variables: 5087 Notification: Performance of Generate backend data structure: time 0.08817/0.9621, allocations: 24.14 MB / 0.568 GB, free: 12.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.764e-05/0.9622, allocations: 8.031 kB / 0.568 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06904/1.031, allocations: 12.29 MB / 0.58 GB, free: 448 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03131/1.063, allocations: 12.01 MB / 0.5918 GB, free: 4.906 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001755/1.064, allocations: 1.375 MB / 0.5931 GB, free: 3.547 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01156/1.076, allocations: 1.811 MB / 0.5949 GB, free: 1.754 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.481/1.557, allocations: 30.05 MB / 0.6242 GB, free: 146.6 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009287/1.558, allocations: 24.23 kB / 0.6242 GB, free: 146.6 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008442/1.566, allocations: 0.7473 MB / 0.625 GB, free: 146 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001211/1.568, allocations: 1.016 MB / 0.626 GB, free: 145.9 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06022/1.628, allocations: 27.97 MB / 0.6533 GB, free: 133.4 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1497/1.778, allocations: 95.41 MB / 0.7465 GB, free: 43.18 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3453/2.123, allocations: 63.47 MB / 0.8084 GB, free: 142.9 MB / 494.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01189/2.135, allocations: 7.496 MB / 0.8158 GB, free: 142.8 MB / 494.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03122/2.166, allocations: 20.68 MB / 0.836 GB, free: 133.7 MB / 494.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.567e-05/2.166, allocations: 111.6 kB / 0.8361 GB, free: 133.6 MB / 494.2 MB Notification: Performance of pre-optimization done (n=683): time 7.745e-06/2.166, allocations: 0 / 0.8361 GB, free: 133.6 MB / 494.2 MB Notification: Performance of matching and sorting (n=691): time 0.08216/2.248, allocations: 38.93 MB / 0.8741 GB, free: 117.5 MB / 494.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/2.249, allocations: 154.2 kB / 0.8742 GB, free: 117.4 MB / 494.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009395/2.258, allocations: 7.252 MB / 0.8813 GB, free: 111.8 MB / 494.2 MB Notification: Performance of collectPreVariables (initialization): time 0.001431/2.259, allocations: 141.7 kB / 0.8814 GB, free: 111.7 MB / 494.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.003591/2.263, allocations: 7.936 MB / 0.8892 GB, free: 103.7 MB / 494.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.00246/2.265, allocations: 2.35 MB / 0.8915 GB, free: 101.4 MB / 494.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002918/2.268, allocations: 1.933 MB / 0.8934 GB, free: 99.43 MB / 494.2 MB Notification: Performance of setup shared object (initialization): time 4.188e-05/2.268, allocations: 301.1 kB / 0.8937 GB, free: 99.14 MB / 494.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006141/2.275, allocations: 4.954 MB / 0.8985 GB, free: 94.18 MB / 494.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008044/2.283, allocations: 8.671 MB / 0.907 GB, free: 83.79 MB / 494.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01668/2.299, allocations: 14.45 MB / 0.9211 GB, free: 67.57 MB / 494.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000183/2.3, allocations: 35.94 kB / 0.9211 GB, free: 67.53 MB / 494.2 MB Notification: Performance of matching and sorting (n=1280) (initialization): time 0.02652/2.326, allocations: 16.49 MB / 0.9372 GB, free: 50.88 MB / 494.2 MB Notification: Performance of prepare postOptimizeDAE: time 7.793e-05/2.326, allocations: 56 kB / 0.9373 GB, free: 50.83 MB / 494.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001386/2.326, allocations: 120 kB / 0.9374 GB, free: 50.71 MB / 494.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00553/2.332, allocations: 2.597 MB / 0.9399 GB, free: 48.09 MB / 494.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007929/2.34, allocations: 2.176 MB / 0.942 GB, free: 45.91 MB / 494.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02991/2.37, allocations: 30.79 MB / 0.9721 GB, free: 14.01 MB / 494.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008191/2.378, allocations: 0.554 MB / 0.9727 GB, free: 13.45 MB / 494.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001873/2.38, allocations: 483.7 kB / 0.9731 GB, free: 12.98 MB / 494.2 MB 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 (1131): * Single equations (assignments): 1118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,41.7%), (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.2062/2.586, allocations: 6.813 MB / 0.9798 GB, free: 138.4 MB / 494.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002156/2.588, allocations: 0.7792 MB / 0.9805 GB, free: 138.4 MB / 494.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01977/2.608, allocations: 13.19 MB / 0.9934 GB, free: 134.9 MB / 494.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01072/2.619, allocations: 8.298 MB / 1.002 GB, free: 131.7 MB / 494.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.478e-05/2.619, allocations: 35.34 kB / 1.002 GB, free: 131.7 MB / 494.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-05/2.619, allocations: 35.44 kB / 1.002 GB, free: 131.7 MB / 494.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05/2.669, allocations: 28.18 MB / 1.029 GB, free: 120.1 MB / 494.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.756e-05/2.669, allocations: 6.375 kB / 1.029 GB, free: 120.1 MB / 494.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005067/2.674, allocations: 1.106 MB / 1.03 GB, free: 120 MB / 494.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006317/2.681, allocations: 2.659 MB / 1.033 GB, free: 119.3 MB / 494.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001187/2.682, allocations: 156.5 kB / 1.033 GB, free: 119.2 MB / 494.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03024/2.712, allocations: 35.86 MB / 1.068 GB, free: 89.25 MB / 494.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/2.712, allocations: 4.375 kB / 1.068 GB, free: 89.25 MB / 494.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02531/2.737, allocations: 18.93 MB / 1.086 GB, free: 70.48 MB / 494.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004483/2.742, allocations: 1.771 MB / 1.088 GB, free: 69.1 MB / 494.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001761/2.744, allocations: 128 kB / 1.088 GB, free: 68.97 MB / 494.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004074/2.748, allocations: 395.5 kB / 1.089 GB, free: 68.59 MB / 494.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001241/2.749, allocations: 0.5297 MB / 1.089 GB, free: 68.05 MB / 494.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003988/2.749, allocations: 196 kB / 1.089 GB, free: 67.86 MB / 494.2 MB Notification: Performance of sorting global known variables: time 0.007175/2.757, allocations: 4.875 MB / 1.094 GB, free: 63.01 MB / 494.2 MB Notification: Performance of sort global known variables: time 7.51e-07/2.757, allocations: 0 / 1.094 GB, free: 63.01 MB / 494.2 MB Notification: Performance of remove unused functions: time 0.01207/2.769, allocations: 3.091 MB / 1.097 GB, free: 59.93 MB / 494.2 MB 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 (563): * Single equations (assignments): 548 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001656/2.77, allocations: 361.4 kB / 1.097 GB, free: 59.58 MB / 494.2 MB Notification: Performance of simCode: created initialization part: time 0.04789/2.818, allocations: 25.34 MB / 1.122 GB, free: 34.18 MB / 494.2 MB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/2.818, allocations: 1.531 kB / 1.122 GB, free: 34.18 MB / 494.2 MB Notification: Performance of simCode: created simulation system equations: time 0.01009/2.828, allocations: 7.636 MB / 1.13 GB, free: 26.44 MB / 494.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01099/2.839, allocations: 2.15 MB / 1.132 GB, free: 24.29 MB / 494.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2694/3.109, allocations: 40.44 MB / 1.171 GB, free: 139.1 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01793/3.127, allocations: 11.43 MB / 1.182 GB, free: 138 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.009687/3.137, allocations: 3.359 MB / 1.186 GB, free: 137.7 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001836/3.138, allocations: 0.5771 MB / 1.186 GB, free: 137.7 MB / 0.4983 GB Notification: Performance of SimCode: time 8.11e-07/3.138, allocations: 0 / 1.186 GB, free: 137.7 MB / 0.4983 GB Notification: Performance of Templates: time 0.1904/3.329, allocations: 137.3 MB / 1.32 GB, free: 20.84 MB / 0.4983 GB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1)