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.006711/0.006711, allocations: 101.2 kB / 15.73 MB, free: 6.488 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.001449/0.001449, allocations: 197.9 kB / 16.67 MB, free: 6.391 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.565/1.565, 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.001179/0.001179, allocations: 49.59 kB / 326.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1077, allocations: 46.63 MB / 373.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.04982/0.1575, allocations: 45.33 MB / 418.5 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03364/0.1912, allocations: 11.73 MB / 430.3 MB, free: 8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01341/0.2047, allocations: 298.9 kB / 430.6 MB, free: 7.707 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03136/0.2361, allocations: 12.48 MB / 443 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02135/0.2575, allocations: 4.938 MB / 448 MB, free: 6.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01152/0.2691, allocations: 2.978 MB / 451 MB, free: 3.223 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2942/0.5633, allocations: 21.09 MB / 472.1 MB, free: 6.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06745/0.6308, allocations: 41.98 MB / 0.502 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02273/0.6535, allocations: 11.05 MB / 0.5128 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02942/0.683, allocations: 12.79 MB / 0.5253 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0105/0.6935, allocations: 3.141 MB / 0.5283 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01512/0.7087, allocations: 3.545 MB / 0.5318 GB, free: 6.668 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01447/0.7232, allocations: 6.311 MB / 0.538 GB, free: 0.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03112/0.7544, allocations: 11.98 MB / 0.5497 GB, free: 4.625 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05958/0.814, allocations: 41.4 MB / 0.5901 GB, free: 12.1 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.407e-05/0.8141, allocations: 0 / 0.5901 GB, free: 12.1 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.8141, allocations: 0 / 0.5901 GB, free: 12.1 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.002046/0.8161, allocations: 0 / 0.5901 GB, free: 12.1 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.08757/0.9037, allocations: 24.08 MB / 0.6136 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.9038, allocations: 8.031 kB / 0.6136 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06893/0.9727, allocations: 12.33 MB / 0.6257 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5309/1.504, allocations: 12.11 MB / 0.6375 GB, free: 156.9 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001866/1.506, allocations: 1.368 MB / 0.6388 GB, free: 156.8 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009977/1.516, allocations: 1.805 MB / 0.6406 GB, free: 156.5 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08363/1.599, allocations: 30.04 MB / 0.6699 GB, free: 144.6 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008592/1.6, allocations: 27.8 kB / 0.6699 GB, free: 144.6 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006678/1.607, allocations: 0.7447 MB / 0.6707 GB, free: 144 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001269/1.608, allocations: 1.019 MB / 0.6717 GB, free: 143.9 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05524/1.663, allocations: 27.96 MB / 0.699 GB, free: 122.2 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1537/1.817, allocations: 94.24 MB / 0.791 GB, free: 27.12 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4689/2.286, allocations: 63.44 MB / 0.8529 GB, free: 160.2 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01374/2.3, allocations: 7.462 MB / 0.8602 GB, free: 160.1 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03806/2.338, allocations: 20.51 MB / 0.8803 GB, free: 151.5 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.605e-05/2.338, allocations: 104.3 kB / 0.8804 GB, free: 151.4 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=677): time 7.955e-06/2.338, allocations: 0 / 0.8804 GB, free: 151.4 MB / 0.5452 GB Notification: Performance of matching and sorting (n=685): time 0.08705/2.425, allocations: 38.29 MB / 0.9178 GB, free: 135.5 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/2.425, allocations: 150.3 kB / 0.9179 GB, free: 135.4 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01012/2.435, allocations: 7.253 MB / 0.925 GB, free: 132.8 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.001263/2.437, allocations: 139.9 kB / 0.9251 GB, free: 132.7 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.00392/2.441, allocations: 7.938 MB / 0.9329 GB, free: 125.8 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.002759/2.443, allocations: 2.333 MB / 0.9351 GB, free: 123.8 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003424/2.447, allocations: 1.929 MB / 0.937 GB, free: 122.7 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 3.84e-05/2.447, allocations: 309.1 kB / 0.9373 GB, free: 122.4 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006447/2.453, allocations: 4.912 MB / 0.9421 GB, free: 117.9 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009516/2.463, allocations: 8.631 MB / 0.9505 GB, free: 107.5 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01801/2.481, allocations: 14.37 MB / 0.9646 GB, free: 91.38 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001335/2.481, allocations: 32 kB / 0.9646 GB, free: 91.35 MB / 0.5452 GB Notification: Performance of matching and sorting (n=1274) (initialization): time 0.0287/2.51, allocations: 16.4 MB / 0.9806 GB, free: 74.79 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 9.99e-05/2.51, allocations: 56.78 kB / 0.9807 GB, free: 74.73 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000184/2.51, allocations: 120.8 kB / 0.9808 GB, free: 74.61 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006339/2.516, allocations: 2.595 MB / 0.9833 GB, free: 72 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00838/2.525, allocations: 2.18 MB / 0.9855 GB, free: 69.82 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03104/2.556, allocations: 30.78 MB / 1.016 GB, free: 37.95 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00876/2.565, allocations: 0.5423 MB / 1.016 GB, free: 37.41 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001969/2.567, allocations: 479.9 kB / 1.017 GB, free: 36.94 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.01228/2.579, allocations: 6.824 MB / 1.023 GB, free: 30.1 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00189/2.581, allocations: 0.7717 MB / 1.024 GB, free: 29.32 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02121/2.602, allocations: 13.11 MB / 1.037 GB, free: 16.01 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01302/2.615, allocations: 8.212 MB / 1.045 GB, free: 7.695 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.215e-05/2.615, allocations: 28 kB / 1.045 GB, free: 7.668 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001294/2.616, allocations: 35.86 kB / 1.045 GB, free: 7.633 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3322/2.948, allocations: 28.01 MB / 1.072 GB, free: 150.2 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.416e-05/2.948, allocations: 0 / 1.072 GB, free: 150.2 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005789/2.954, allocations: 1.107 MB / 1.073 GB, free: 150.1 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006607/2.96, allocations: 2.656 MB / 1.076 GB, free: 149.4 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001272/2.962, allocations: 150.9 kB / 1.076 GB, free: 149.3 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03226/2.994, allocations: 35.82 MB / 1.111 GB, free: 124.1 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/2.994, allocations: 3.25 kB / 1.111 GB, free: 124.1 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03044/3.024, allocations: 18.81 MB / 1.129 GB, free: 116.2 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005206/3.03, allocations: 1.761 MB / 1.131 GB, free: 115.6 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002159/3.032, allocations: 125.7 kB / 1.131 GB, free: 115.5 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005248/3.037, allocations: 392 kB / 1.132 GB, free: 115.4 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001723/3.039, allocations: 0.5274 MB / 1.132 GB, free: 115.3 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004993/3.039, allocations: 201.6 kB / 1.132 GB, free: 115.3 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.007748/3.047, allocations: 4.87 MB / 1.137 GB, free: 113 MB / 0.5452 GB Notification: Performance of sort global known variables: time 5.31e-07/3.047, allocations: 0 / 1.137 GB, free: 113 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.01197/3.059, allocations: 3.092 MB / 1.14 GB, free: 109.9 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.001426/3.061, allocations: 351 kB / 1.14 GB, free: 109.6 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.01861/3.079, allocations: 13.53 MB / 1.154 GB, free: 97.06 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/3.079, allocations: 0 / 1.154 GB, free: 97.06 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.01078/3.09, allocations: 7.589 MB / 1.161 GB, free: 89.39 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01258/3.103, allocations: 2.154 MB / 1.163 GB, free: 87.25 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05585/3.158, allocations: 32.29 MB / 1.195 GB, free: 54.95 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02523/3.184, allocations: 11.43 MB / 1.206 GB, free: 43.47 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.01727/3.201, allocations: 3.368 MB / 1.209 GB, free: 40.09 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00456/3.206, allocations: 0.5658 MB / 1.21 GB, free: 39.53 MB / 0.5452 GB Notification: Performance of SimCode: time 1.112e-06/3.206, allocations: 0 / 1.21 GB, free: 39.53 MB / 0.5452 GB Notification: Performance of Templates: time 0.4916/3.697, allocations: 131.1 MB / 1.338 GB, free: 111.9 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)