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.001192/0.001192, allocations: 105.5 kB / 17.06 MB, free: 6.016 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.001255/0.001255, allocations: 195 kB / 18 MB, free: 5.094 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.56/1.56, 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.001151/0.001151, allocations: 51.92 kB / 327.9 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1014, allocations: 46.62 MB / 374.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.2694/0.3708, allocations: 45.32 MB / 419.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03649/0.4074, allocations: 11.74 MB / 431.6 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01432/0.4217, allocations: 299.2 kB / 431.9 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03048/0.4523, allocations: 12.39 MB / 444.3 MB, free: 9.875 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02239/0.4747, allocations: 4.839 MB / 449.1 MB, free: 5.012 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01186/0.4866, allocations: 2.976 MB / 452.1 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0307/0.5173, allocations: 21.09 MB / 473.2 MB, free: 12.87 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07646/0.5938, allocations: 41.91 MB / 0.503 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01859/0.6124, allocations: 11.05 MB / 0.5138 GB, free: 7.617 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0214/0.6339, allocations: 12.11 MB / 0.5256 GB, free: 11.46 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01114/0.645, allocations: 3.141 MB / 0.5287 GB, free: 8.324 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01672/0.6618, allocations: 3.554 MB / 0.5322 GB, free: 4.773 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01304/0.6749, allocations: 6.305 MB / 0.5383 GB, free: 14.45 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03478/0.7097, allocations: 11.98 MB / 0.55 GB, free: 2.426 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.6594/1.369, allocations: 41.39 MB / 0.5904 GB, free: 61.3 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.19e-05/1.369, allocations: 2.875 kB / 0.5904 GB, free: 61.3 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.274e-06/1.369, allocations: 1.75 kB / 0.5904 GB, free: 61.3 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.002209/1.371, 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.1138/1.485, allocations: 24.07 MB / 0.614 GB, free: 49.29 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/1.485, allocations: 11.56 kB / 0.614 GB, free: 49.29 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06947/1.555, allocations: 12.33 MB / 0.626 GB, free: 43.27 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03875/1.594, allocations: 12.11 MB / 0.6378 GB, free: 31.69 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001437/1.595, allocations: 1.373 MB / 0.6392 GB, free: 30.34 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01335/1.608, allocations: 1.808 MB / 0.6409 GB, free: 28.55 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1076/1.716, allocations: 30.04 MB / 0.6703 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001423/1.718, allocations: 19.66 kB / 0.6703 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01342/1.731, allocations: 0.7489 MB / 0.671 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001885/1.733, allocations: 1.015 MB / 0.672 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09513/1.828, allocations: 27.97 MB / 0.6993 GB, free: 0.6953 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4685/2.297, allocations: 94.23 MB / 0.7913 GB, free: 146.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04431/2.341, allocations: 63.44 MB / 0.8533 GB, free: 94.11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01453/2.356, allocations: 7.461 MB / 0.8606 GB, free: 91.99 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04524/2.401, allocations: 20.52 MB / 0.8806 GB, free: 77.81 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.846e-05/2.401, allocations: 104.5 kB / 0.8807 GB, free: 77.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=677): time 8.966e-06/2.401, allocations: 0 / 0.8807 GB, free: 77.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=685): time 0.08958/2.491, allocations: 38.28 MB / 0.9181 GB, free: 39.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.558e-05/2.491, allocations: 151 kB / 0.9182 GB, free: 38.86 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01107/2.502, allocations: 7.26 MB / 0.9253 GB, free: 31.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001411/2.503, allocations: 137.7 kB / 0.9255 GB, free: 31.48 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003565/2.507, allocations: 7.943 MB / 0.9332 GB, free: 23.49 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002603/2.509, allocations: 2.334 MB / 0.9355 GB, free: 21.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003053/2.513, allocations: 1.929 MB / 0.9374 GB, free: 19.24 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.308e-05/2.513, allocations: 305.1 kB / 0.9377 GB, free: 18.94 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00641/2.519, allocations: 4.915 MB / 0.9425 GB, free: 14.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008085/2.527, allocations: 8.628 MB / 0.9509 GB, free: 3.672 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2814/2.809, allocations: 14.37 MB / 0.9649 GB, free: 169.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001358/2.809, allocations: 38.19 kB / 0.965 GB, free: 169.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=1274) (initialization): time 0.03422/2.843, allocations: 16.39 MB / 0.981 GB, free: 166.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.045e-05/2.843, allocations: 58.38 kB / 0.981 GB, free: 166.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001839/2.843, allocations: 120.8 kB / 0.9811 GB, free: 166.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00623/2.85, allocations: 2.598 MB / 0.9837 GB, free: 165.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008926/2.859, allocations: 2.177 MB / 0.9858 GB, free: 165.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03261/2.891, allocations: 30.78 MB / 1.016 GB, free: 143.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00883/2.9, allocations: 0.5452 MB / 1.016 GB, free: 143.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00198/2.902, allocations: 481.1 kB / 1.017 GB, free: 142.6 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.01262/2.915, allocations: 6.821 MB / 1.024 GB, free: 136.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001846/2.917, allocations: 0.7723 MB / 1.024 GB, free: 136.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02181/2.938, allocations: 13.1 MB / 1.037 GB, free: 125.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01216/2.951, allocations: 8.222 MB / 1.045 GB, free: 118.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.941e-05/2.951, allocations: 24 kB / 1.045 GB, free: 118.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001502/2.951, allocations: 38.31 kB / 1.045 GB, free: 118.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06095/3.012, allocations: 28 MB / 1.072 GB, free: 90.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.646e-05/3.012, allocations: 4 kB / 1.072 GB, free: 90.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006072/3.018, allocations: 1.112 MB / 1.074 GB, free: 89.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0073/3.025, allocations: 2.652 MB / 1.076 GB, free: 86.87 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001743/3.027, allocations: 152 kB / 1.076 GB, free: 86.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03217/3.059, allocations: 35.83 MB / 1.111 GB, free: 49.74 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/3.059, allocations: 7.938 kB / 1.111 GB, free: 49.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02816/3.088, allocations: 18.79 MB / 1.13 GB, free: 30.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00668/3.094, allocations: 1.769 MB / 1.131 GB, free: 28.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002648/3.097, allocations: 131.9 kB / 1.132 GB, free: 28.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006185/3.103, allocations: 399.6 kB / 1.132 GB, free: 28.39 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001529/3.105, allocations: 0.5181 MB / 1.132 GB, free: 27.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005579/3.105, allocations: 199.9 kB / 1.133 GB, free: 27.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01065/3.116, allocations: 4.871 MB / 1.137 GB, free: 22.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.81e-07/3.116, allocations: 0 / 1.137 GB, free: 22.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01642/3.132, allocations: 3.09 MB / 1.14 GB, free: 19.75 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.002087/3.134, allocations: 354.4 kB / 1.141 GB, free: 19.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02041/3.155, allocations: 13.53 MB / 1.154 GB, free: 5.727 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/3.155, allocations: 4.5 kB / 1.154 GB, free: 5.723 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.2611/3.416, allocations: 7.58 MB / 1.161 GB, free: 168 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01397/3.43, allocations: 2.157 MB / 1.163 GB, free: 167.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07121/3.501, allocations: 32.3 MB / 1.195 GB, free: 158.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02527/3.527, allocations: 11.42 MB / 1.206 GB, free: 155.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.01244/3.539, allocations: 3.367 MB / 1.209 GB, free: 153.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003056/3.542, allocations: 0.5718 MB / 1.21 GB, free: 152.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.162e-06/3.542, allocations: 3.938 kB / 1.21 GB, free: 152.6 MB / 0.545 GB Notification: Performance of Templates: time 0.2039/3.746, allocations: 131.9 MB / 1.339 GB, free: 24.48 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)