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.001272/0.001272, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001776/0.001776, allocations: 193.1 kB / 16.13 MB, free: 6.715 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.52/1.52, allocations: 205.1 MB / 222 MB, free: 4.77 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.001351/0.001351, allocations: 47.94 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2372, allocations: 46.63 MB / 324.7 MB, free: 1.957 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.0449/0.2821, allocations: 44.49 MB / 369.2 MB, free: 7.504 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02629/0.3085, allocations: 11.62 MB / 380.8 MB, free: 11.85 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01179/0.3203, allocations: 282.9 kB / 381.1 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02768/0.348, allocations: 11.63 MB / 392.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01915/0.3672, allocations: 4.432 MB / 397.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0119/0.3791, allocations: 2.768 MB / 399.9 MB, free: 8.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.03124/0.4104, allocations: 21.52 MB / 421.4 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07328/0.4837, allocations: 34.56 MB / 456 MB, free: 268 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4169/0.9007, allocations: 9.324 MB / 465.3 MB, free: 31.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01965/0.9204, allocations: 11.48 MB / 476.8 MB, free: 30.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008671/0.9291, allocations: 2.005 MB / 478.8 MB, free: 30.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01228/0.9414, allocations: 2.409 MB / 481.2 MB, free: 30.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009932/0.9514, allocations: 5.125 MB / 486.3 MB, free: 29.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02235/0.9737, allocations: 10.76 MB / 497.1 MB, free: 26.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04503/1.019, allocations: 40.35 MB / 0.5249 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-05/1.019, allocations: 4 kB / 0.5249 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.048e-06/1.019, allocations: 0 / 0.5249 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.002111/1.021, allocations: 0 / 0.5249 GB, free: 11.05 MB / 398.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.08414/1.105, allocations: 24.14 MB / 0.5484 GB, free: 3.023 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/1.105, allocations: 8.031 kB / 0.5484 GB, free: 3.016 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06805/1.173, allocations: 12.28 MB / 0.5604 GB, free: 6.852 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02881/1.202, allocations: 12.01 MB / 0.5722 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001697/1.204, allocations: 1.375 MB / 0.5735 GB, free: 9.961 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00925/1.213, allocations: 1.811 MB / 0.5753 GB, free: 8.168 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1014/1.315, allocations: 30.06 MB / 0.6046 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001125/1.316, allocations: 23.19 kB / 0.6047 GB, free: 10.02 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009257/1.325, allocations: 0.7466 MB / 0.6054 GB, free: 9.293 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001343/1.326, allocations: 1.018 MB / 0.6064 GB, free: 8.27 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4689/1.795, allocations: 27.97 MB / 0.6337 GB, free: 146.8 MB / 478.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1424/1.938, allocations: 95.4 MB / 0.7269 GB, free: 65.67 MB / 478.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03379/1.972, allocations: 63.47 MB / 0.7888 GB, free: 12.22 MB / 494.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01241/1.984, allocations: 7.5 MB / 0.7962 GB, free: 4.715 MB / 494.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2161/2.2, allocations: 20.68 MB / 0.8164 GB, free: 151 MB / 494.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.702e-05/2.2, allocations: 112.2 kB / 0.8165 GB, free: 150.9 MB / 494.2 MB Notification: Performance of pre-optimization done (n=683): time 8.025e-06/2.2, allocations: 0 / 0.8165 GB, free: 150.9 MB / 494.2 MB Notification: Performance of matching and sorting (n=691): time 0.08754/2.288, allocations: 38.93 MB / 0.8545 GB, free: 135.3 MB / 494.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/2.288, allocations: 149.4 kB / 0.8546 GB, free: 135.2 MB / 494.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01123/2.299, allocations: 7.251 MB / 0.8617 GB, free: 132.2 MB / 494.2 MB Notification: Performance of collectPreVariables (initialization): time 0.001196/2.3, allocations: 141.7 kB / 0.8618 GB, free: 132.1 MB / 494.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.003669/2.304, allocations: 7.931 MB / 0.8696 GB, free: 125 MB / 494.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.002291/2.306, allocations: 2.353 MB / 0.8719 GB, free: 122.9 MB / 494.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00298/2.309, allocations: 1.934 MB / 0.8738 GB, free: 121.1 MB / 494.2 MB Notification: Performance of setup shared object (initialization): time 3.993e-05/2.309, allocations: 305.1 kB / 0.8741 GB, free: 120.8 MB / 494.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006562/2.316, allocations: 4.956 MB / 0.8789 GB, free: 116.6 MB / 494.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008364/2.324, allocations: 8.667 MB / 0.8874 GB, free: 106.3 MB / 494.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01534/2.34, allocations: 14.46 MB / 0.9015 GB, free: 90.04 MB / 494.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.895e-05/2.34, allocations: 36 kB / 0.9015 GB, free: 90 MB / 494.2 MB Notification: Performance of matching and sorting (n=1280) (initialization): time 0.0318/2.372, allocations: 16.47 MB / 0.9176 GB, free: 73.37 MB / 494.2 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001625/2.372, allocations: 56 kB / 0.9177 GB, free: 73.31 MB / 494.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002111/2.372, allocations: 120 kB / 0.9178 GB, free: 73.2 MB / 494.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006277/2.378, allocations: 2.59 MB / 0.9203 GB, free: 70.58 MB / 494.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00796/2.386, allocations: 2.18 MB / 0.9224 GB, free: 68.4 MB / 494.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02952/2.416, allocations: 28.54 MB / 0.9503 GB, free: 38.79 MB / 494.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008418/2.424, allocations: 0.5385 MB / 0.9508 GB, free: 38.25 MB / 494.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002403/2.427, allocations: 487.9 kB / 0.9513 GB, free: 37.77 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.01473/2.442, allocations: 6.823 MB / 0.958 GB, free: 30.93 MB / 494.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002464/2.444, allocations: 0.7833 MB / 0.9587 GB, free: 30.14 MB / 494.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02283/2.467, allocations: 13.18 MB / 0.9716 GB, free: 16.74 MB / 494.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2263/2.693, allocations: 8.298 MB / 0.9797 GB, free: 139.5 MB / 494.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00011/2.693, allocations: 29.53 kB / 0.9797 GB, free: 139.5 MB / 494.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002023/2.694, allocations: 34.22 kB / 0.9798 GB, free: 139.5 MB / 494.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05252/2.746, allocations: 28.17 MB / 1.007 GB, free: 130.2 MB / 494.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.066e-05/2.746, allocations: 2.562 kB / 1.007 GB, free: 130.2 MB / 494.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005178/2.751, allocations: 1.11 MB / 1.008 GB, free: 130.1 MB / 494.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007144/2.759, allocations: 2.642 MB / 1.011 GB, free: 129.3 MB / 494.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001382/2.76, allocations: 150.4 kB / 1.011 GB, free: 129.2 MB / 494.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03018/2.79, allocations: 32.99 MB / 1.043 GB, free: 106.2 MB / 494.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/2.79, allocations: 3.875 kB / 1.043 GB, free: 106.2 MB / 494.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02743/2.818, allocations: 18.92 MB / 1.062 GB, free: 95.1 MB / 494.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005193/2.823, allocations: 1.774 MB / 1.064 GB, free: 93.91 MB / 494.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002405/2.825, allocations: 124 kB / 1.064 GB, free: 93.79 MB / 494.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005354/2.831, allocations: 400 kB / 1.064 GB, free: 93.52 MB / 494.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001832/2.833, allocations: 0.5262 MB / 1.065 GB, free: 93.18 MB / 494.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000628/2.833, allocations: 199.4 kB / 1.065 GB, free: 93 MB / 494.2 MB Notification: Performance of sorting global known variables: time 0.007154/2.84, allocations: 4.872 MB / 1.069 GB, free: 88.88 MB / 494.2 MB Notification: Performance of sort global known variables: time 7.11e-07/2.84, allocations: 0 / 1.069 GB, free: 88.88 MB / 494.2 MB Notification: Performance of remove unused functions: time 0.01111/2.852, allocations: 3.089 MB / 1.072 GB, free: 85.8 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.001315/2.853, allocations: 358.7 kB / 1.073 GB, free: 85.46 MB / 494.2 MB Notification: Performance of simCode: created initialization part: time 0.01838/2.871, allocations: 13.59 MB / 1.086 GB, free: 71.82 MB / 494.2 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/2.871, allocations: 0 / 1.086 GB, free: 71.82 MB / 494.2 MB Notification: Performance of simCode: created simulation system equations: time 0.01053/2.882, allocations: 7.625 MB / 1.094 GB, free: 64.11 MB / 494.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01313/2.895, allocations: 2.031 MB / 1.096 GB, free: 62.11 MB / 494.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06243/2.957, allocations: 40.44 MB / 1.135 GB, free: 21.66 MB / 494.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01935/2.977, allocations: 11.43 MB / 1.146 GB, free: 10.17 MB / 494.2 MB Notification: Performance of simCode: alias equations: time 0.01071/2.988, allocations: 3.364 MB / 1.149 GB, free: 6.793 MB / 494.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002658/2.99, allocations: 0.5658 MB / 1.15 GB, free: 6.227 MB / 494.2 MB Notification: Performance of SimCode: time 8.01e-07/2.99, allocations: 3.938 kB / 1.15 GB, free: 6.223 MB / 494.2 MB Notification: Performance of Templates: time 0.385/3.375, allocations: 132.7 MB / 1.28 GB, free: 56.06 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)