Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.005583/0.005583, allocations: 98.69 kB / 15.73 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.00131/0.00131, allocations: 196.1 kB / 16.67 MB, free: 5.961 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.583/1.583, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.00123/0.001231, allocations: 53.98 kB / 326.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1132, allocations: 46.62 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.04686/0.1601, allocations: 45.33 MB / 418.5 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03207/0.1922, allocations: 11.72 MB / 430.3 MB, free: 8.012 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01309/0.2054, allocations: 298.9 kB / 430.6 MB, free: 7.719 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02954/0.235, allocations: 12.38 MB / 442.9 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02057/0.2556, allocations: 4.852 MB / 447.8 MB, free: 6.402 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01098/0.2666, allocations: 2.971 MB / 450.8 MB, free: 3.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3383/0.6049, allocations: 21.09 MB / 471.9 MB, free: 6.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07348/0.6785, allocations: 42.29 MB / 0.5021 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02662/0.7051, allocations: 11 MB / 0.5128 GB, free: 6.344 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02727/0.7324, allocations: 12.4 MB / 0.5249 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01155/0.744, allocations: 3.141 MB / 0.528 GB, free: 9.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01623/0.7603, allocations: 3.55 MB / 0.5315 GB, free: 6.168 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01301/0.7733, allocations: 6.315 MB / 0.5376 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02841/0.8018, allocations: 11.98 MB / 0.5493 GB, free: 4.113 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06804/0.8699, allocations: 41.49 MB / 0.5899 GB, free: 11.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.8699, allocations: 0 / 0.5899 GB, free: 11.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.8699, allocations: 0 / 0.5899 GB, free: 11.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001465/0.8714, allocations: 4 kB / 0.5899 GB, free: 11.33 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.0891/0.9605, allocations: 24.51 MB / 0.6138 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 8.092e-05/0.9606, allocations: 15.41 kB / 0.6138 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07191/1.033, allocations: 12.42 MB / 0.626 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5495/1.582, allocations: 12.15 MB / 0.6378 GB, free: 156.8 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002041/1.584, allocations: 1.367 MB / 0.6392 GB, free: 156.2 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009908/1.594, allocations: 1.813 MB / 0.6409 GB, free: 155.6 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09168/1.686, allocations: 30.02 MB / 0.6703 GB, free: 143.7 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001047/1.687, allocations: 30.92 kB / 0.6703 GB, free: 143.7 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009261/1.696, allocations: 0.7495 MB / 0.671 GB, free: 143.1 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001339/1.698, allocations: 1.02 MB / 0.672 GB, free: 143 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06366/1.761, allocations: 27.95 MB / 0.6993 GB, free: 120.4 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1506/1.912, allocations: 94.5 MB / 0.7916 GB, free: 25.75 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4612/2.373, allocations: 63.42 MB / 0.8535 GB, free: 158.1 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01335/2.387, allocations: 7.465 MB / 0.8608 GB, free: 158 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04384/2.43, allocations: 20.55 MB / 0.8809 GB, free: 149.5 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.87e-05/2.431, allocations: 104.3 kB / 0.881 GB, free: 149.4 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=677): time 8.136e-06/2.431, allocations: 2.875 kB / 0.881 GB, free: 149.4 MB / 0.5452 GB Notification: Performance of matching and sorting (n=685): time 0.08876/2.519, allocations: 38.69 MB / 0.9188 GB, free: 134 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/2.519, allocations: 147.7 kB / 0.9189 GB, free: 133.9 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009966/2.529, allocations: 7.265 MB / 0.926 GB, free: 131.4 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.00129/2.531, allocations: 139.2 kB / 0.9261 GB, free: 131.3 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.004121/2.535, allocations: 8.211 MB / 0.9342 GB, free: 125.2 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.002582/2.537, allocations: 2.445 MB / 0.9365 GB, free: 123.1 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002946/2.54, allocations: 1.938 MB / 0.9384 GB, free: 122 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 4.116e-05/2.54, allocations: 305.1 kB / 0.9387 GB, free: 121.7 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00672/2.547, allocations: 4.915 MB / 0.9435 GB, free: 117.1 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008878/2.556, allocations: 8.627 MB / 0.9519 GB, free: 106.7 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01595/2.572, allocations: 14.37 MB / 0.966 GB, free: 90.6 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001151/2.572, allocations: 43.38 kB / 0.966 GB, free: 90.56 MB / 0.5452 GB Notification: Performance of matching and sorting (n=1274) (initialization): time 0.02777/2.6, allocations: 16.43 MB / 0.9821 GB, free: 73.97 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 8.765e-05/2.6, allocations: 64.94 kB / 0.9821 GB, free: 73.91 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000168/2.6, allocations: 120 kB / 0.9822 GB, free: 73.79 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005933/2.606, allocations: 2.59 MB / 0.9848 GB, free: 71.18 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008186/2.614, allocations: 2.176 MB / 0.9869 GB, free: 69 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03019/2.645, allocations: 30.81 MB / 1.017 GB, free: 37.11 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009228/2.654, allocations: 0.5464 MB / 1.018 GB, free: 36.56 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002187/2.656, allocations: 483.9 kB / 1.018 GB, free: 36.09 MB / 0.5452 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.01265/2.669, allocations: 6.815 MB / 1.025 GB, free: 29.25 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001937/2.671, allocations: 0.8151 MB / 1.025 GB, free: 28.43 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02116/2.692, allocations: 13.1 MB / 1.038 GB, free: 15.13 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2599/2.952, allocations: 8.212 MB / 1.046 GB, free: 153.8 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001388/2.952, allocations: 28.25 kB / 1.046 GB, free: 153.8 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000247/2.952, allocations: 35.14 kB / 1.046 GB, free: 153.8 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0579/3.01, allocations: 28.02 MB / 1.074 GB, free: 146.1 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-05/3.01, allocations: 3.938 kB / 1.074 GB, free: 146.1 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004987/3.015, allocations: 1.105 MB / 1.075 GB, free: 146 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006889/3.022, allocations: 2.65 MB / 1.077 GB, free: 145.3 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001336/3.024, allocations: 150.3 kB / 1.077 GB, free: 145.2 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03388/3.058, allocations: 35.87 MB / 1.113 GB, free: 120 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/3.058, allocations: 3.875 kB / 1.113 GB, free: 120 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0328/3.09, allocations: 18.84 MB / 1.131 GB, free: 112 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006027/3.097, allocations: 1.803 MB / 1.133 GB, free: 111.4 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002718/3.099, allocations: 126.2 kB / 1.133 GB, free: 111.4 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005891/3.105, allocations: 391.7 kB / 1.133 GB, free: 111.3 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002096/3.107, allocations: 0.5313 MB / 1.134 GB, free: 111.2 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006347/3.108, allocations: 195.3 kB / 1.134 GB, free: 111.1 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.009932/3.118, allocations: 4.862 MB / 1.139 GB, free: 109.4 MB / 0.5452 GB Notification: Performance of sort global known variables: time 3.6e-07/3.118, allocations: 3.875 kB / 1.139 GB, free: 109.4 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.01487/3.133, allocations: 3.086 MB / 1.142 GB, free: 108.2 MB / 0.5452 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.00201/3.135, allocations: 360.3 kB / 1.142 GB, free: 107.9 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.02154/3.156, allocations: 13.55 MB / 1.155 GB, free: 94.89 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/3.156, allocations: 1.406 kB / 1.155 GB, free: 94.89 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.01307/3.17, allocations: 7.599 MB / 1.163 GB, free: 87.2 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01496/3.185, allocations: 2.17 MB / 1.165 GB, free: 85.04 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05461/3.239, allocations: 32.78 MB / 1.197 GB, free: 52.18 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01591/3.255, allocations: 11.43 MB / 1.208 GB, free: 40.71 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.01064/3.266, allocations: 3.36 MB / 1.211 GB, free: 37.34 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003256/3.269, allocations: 0.5736 MB / 1.212 GB, free: 36.76 MB / 0.5452 GB Notification: Performance of SimCode: time 2.575e-06/3.269, allocations: 0 / 1.212 GB, free: 36.76 MB / 0.5452 GB Notification: Performance of Templates: time 0.4433/3.712, allocations: 131.1 MB / 1.34 GB, free: 110 MB / 0.5608 GB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1)