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.008649/0.008649, allocations: 104.3 kB / 15.73 MB, free: 5.953 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.001661/0.001661, allocations: 189.8 kB / 16.67 MB, free: 5.871 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.617/1.617, allocations: 205.1 MB / 222.6 MB, free: 4.457 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.00137/0.00137, allocations: 50.23 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1111, allocations: 46.62 MB / 373.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.04956/0.1608, allocations: 45.33 MB / 418.5 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03017/0.191, allocations: 11.74 MB / 430.3 MB, free: 7.984 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01212/0.2031, allocations: 298.9 kB / 430.6 MB, free: 7.691 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03138/0.2346, allocations: 12.47 MB / 443 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02078/0.2554, allocations: 4.942 MB / 448 MB, free: 6.195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01246/0.2679, allocations: 2.978 MB / 451 MB, free: 3.211 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3235/0.5914, allocations: 21.09 MB / 472.1 MB, free: 6.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06967/0.6611, allocations: 41.97 MB / 0.502 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02671/0.6878, allocations: 11.05 MB / 0.5128 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03055/0.7184, allocations: 12.81 MB / 0.5253 GB, free: 13.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01199/0.7305, allocations: 3.141 MB / 0.5283 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01657/0.7471, allocations: 3.548 MB / 0.5318 GB, free: 6.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01394/0.761, allocations: 6.314 MB / 0.538 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02894/0.79, allocations: 11.98 MB / 0.5497 GB, free: 4.629 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06449/0.8546, allocations: 41.49 MB / 0.5902 GB, free: 11.85 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/0.8546, allocations: 0 / 0.5902 GB, free: 11.85 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.179e-06/0.8546, allocations: 0 / 0.5902 GB, free: 11.85 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001617/0.8563, allocations: 3.938 kB / 0.5902 GB, free: 11.84 MB / 494.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.08756/0.9438, allocations: 24.51 MB / 0.6141 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/0.9439, allocations: 12.03 kB / 0.6141 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06956/1.013, allocations: 12.43 MB / 0.6263 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3509/1.364, allocations: 12.15 MB / 0.6381 GB, free: 161.1 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002114/1.367, allocations: 1.372 MB / 0.6395 GB, free: 161 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01199/1.379, allocations: 1.804 MB / 0.6413 GB, free: 160.6 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0931/1.472, allocations: 30.04 MB / 0.6706 GB, free: 148.6 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009797/1.473, allocations: 18.8 kB / 0.6706 GB, free: 148.6 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00821/1.481, allocations: 0.7539 MB / 0.6713 GB, free: 148.1 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001151/1.482, allocations: 1.015 MB / 0.6723 GB, free: 147.9 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06318/1.545, allocations: 27.96 MB / 0.6996 GB, free: 125.8 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.177/1.722, allocations: 94.49 MB / 0.7919 GB, free: 30.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4238/2.146, allocations: 63.43 MB / 0.8539 GB, free: 135.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02052/2.167, allocations: 7.465 MB / 0.8611 GB, free: 135.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04838/2.215, allocations: 20.54 MB / 0.8812 GB, free: 126.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.146e-05/2.215, allocations: 108.2 kB / 0.8813 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=677): time 1.014e-05/2.215, allocations: 3.938 kB / 0.8813 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=685): time 0.09318/2.308, allocations: 38.69 MB / 0.9191 GB, free: 110.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/2.309, allocations: 145.8 kB / 0.9192 GB, free: 110.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01271/2.321, allocations: 7.262 MB / 0.9263 GB, free: 108 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001207/2.323, allocations: 139.6 kB / 0.9265 GB, free: 107.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004226/2.327, allocations: 8.208 MB / 0.9345 GB, free: 100.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002571/2.329, allocations: 2.452 MB / 0.9369 GB, free: 98.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004946/2.334, allocations: 1.937 MB / 0.9388 GB, free: 97.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.773e-05/2.334, allocations: 309.1 kB / 0.9391 GB, free: 97.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007351/2.342, allocations: 4.913 MB / 0.9439 GB, free: 92.88 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009735/2.352, allocations: 8.623 MB / 0.9523 GB, free: 82.54 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01624/2.368, allocations: 14.38 MB / 0.9663 GB, free: 66.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001143/2.368, allocations: 32 kB / 0.9664 GB, free: 66.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1274) (initialization): time 0.02722/2.395, allocations: 16.44 MB / 0.9824 GB, free: 49.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.074e-05/2.395, allocations: 60.12 kB / 0.9825 GB, free: 49.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001457/2.395, allocations: 120 kB / 0.9826 GB, free: 49.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005943/2.401, allocations: 2.588 MB / 0.9851 GB, free: 46.99 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008023/2.409, allocations: 2.18 MB / 0.9872 GB, free: 44.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02938/2.439, allocations: 30.81 MB / 1.017 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007995/2.447, allocations: 0.5425 MB / 1.018 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001604/2.448, allocations: 483.9 kB / 1.018 GB, free: 11.9 MB / 0.5294 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.01059/2.459, allocations: 6.827 MB / 1.025 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001815/2.461, allocations: 0.8149 MB / 1.026 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02426/2.485, allocations: 13.1 MB / 1.039 GB, free: 6.945 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2618/2.747, allocations: 8.211 MB / 1.047 GB, free: 159.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001036/2.747, allocations: 27.59 kB / 1.047 GB, free: 159.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001458/2.747, allocations: 34.78 kB / 1.047 GB, free: 159.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05915/2.806, allocations: 28.02 MB / 1.074 GB, free: 150.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.601e-05/2.807, allocations: 3.969 kB / 1.074 GB, free: 150.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005477/2.812, allocations: 1.107 MB / 1.075 GB, free: 150.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006792/2.819, allocations: 2.65 MB / 1.078 GB, free: 149.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001549/2.82, allocations: 152.1 kB / 1.078 GB, free: 149.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03277/2.853, allocations: 35.85 MB / 1.113 GB, free: 124.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/2.853, allocations: 3.469 kB / 1.113 GB, free: 124.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02851/2.882, allocations: 18.85 MB / 1.131 GB, free: 116.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005871/2.888, allocations: 1.805 MB / 1.133 GB, free: 115.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002721/2.89, allocations: 128 kB / 1.133 GB, free: 115.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005727/2.896, allocations: 394.6 kB / 1.134 GB, free: 114.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001948/2.898, allocations: 0.5247 MB / 1.134 GB, free: 114.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005105/2.899, allocations: 194.9 kB / 1.134 GB, free: 114.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01054/2.909, allocations: 4.871 MB / 1.139 GB, free: 110.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.92e-07/2.909, allocations: 3.875 kB / 1.139 GB, free: 110.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0143/2.924, allocations: 3.091 MB / 1.142 GB, free: 107 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.002162/2.926, allocations: 348.8 kB / 1.142 GB, free: 106.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01927/2.945, allocations: 13.55 MB / 1.156 GB, free: 93.06 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.397e-05/2.945, allocations: 1.406 kB / 1.156 GB, free: 93.06 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01073/2.956, allocations: 7.603 MB / 1.163 GB, free: 85.37 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01176/2.968, allocations: 2.166 MB / 1.165 GB, free: 83.21 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05768/3.025, allocations: 32.79 MB / 1.197 GB, free: 50.35 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01328/3.039, allocations: 11.43 MB / 1.208 GB, free: 38.88 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.008859/3.048, allocations: 3.372 MB / 1.212 GB, free: 35.49 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002091/3.05, allocations: 0.5697 MB / 1.212 GB, free: 34.92 MB / 0.545 GB Notification: Performance of SimCode: time 6.21e-07/3.05, allocations: 0 / 1.212 GB, free: 34.92 MB / 0.545 GB Notification: Performance of Templates: time 0.4321/3.482, allocations: 131.1 MB / 1.34 GB, free: 90.86 MB / 0.545 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)