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.001063/0.001062, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006996/0.006996, allocations: 169 kB / 16.26 MB, free: 6.652 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.622/1.622, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.0004753/0.0004754, allocations: 8 kB / 279.5 MB, free: 12.47 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2662, allocations: 47.59 MB / 327.1 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.04416/0.3104, allocations: 42.79 MB / 369.9 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02764/0.338, allocations: 11.53 MB / 381.4 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01121/0.3493, allocations: 282.9 kB / 381.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01167/0.361, allocations: 2.916 MB / 384.6 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02287/0.3839, allocations: 4.405 MB / 389 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01029/0.3942, allocations: 2.651 MB / 391.6 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03002/0.4242, allocations: 21.5 MB / 413.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07222/0.4965, allocations: 39.45 MB / 452.6 MB, free: 5.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4079/0.9045, allocations: 7.692 MB / 460.3 MB, free: 30.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01729/0.9218, allocations: 9.372 MB / 469.6 MB, free: 30.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006188/0.928, allocations: 1.218 MB / 470.9 MB, free: 30.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01207/0.9401, allocations: 1.62 MB / 472.5 MB, free: 30.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008203/0.9483, allocations: 3.993 MB / 476.5 MB, free: 29.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0198/0.9682, allocations: 9.459 MB / 485.9 MB, free: 26.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04329/1.011, allocations: 38.8 MB / 0.5124 GB, free: 6.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/1.012, allocations: 2.938 kB / 0.5124 GB, free: 6.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.086e-06/1.012, allocations: 2.438 kB / 0.5124 GB, free: 6.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001342/1.013, allocations: 0 / 0.5124 GB, free: 6.047 MB / 382.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.05932/1.072, allocations: 20.02 MB / 0.532 GB, free: 4.973 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/1.072, allocations: 15.53 kB / 0.532 GB, free: 4.961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06619/1.139, allocations: 12.34 MB / 0.5441 GB, free: 8.738 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02521/1.164, allocations: 12.07 MB / 0.5558 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001554/1.165, allocations: 1.376 MB / 0.5572 GB, free: 11.78 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007536/1.173, allocations: 1.812 MB / 0.559 GB, free: 9.988 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08777/1.261, allocations: 30.06 MB / 0.5883 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007139/1.261, allocations: 27.45 kB / 0.5883 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008987/1.27, allocations: 0.7542 MB / 0.5891 GB, free: 11.1 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001192/1.272, allocations: 1.015 MB / 0.5901 GB, free: 10.08 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2923/1.564, allocations: 27.99 MB / 0.6174 GB, free: 146.3 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1508/1.715, allocations: 95.73 MB / 0.7109 GB, free: 86.41 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03654/1.751, allocations: 63.44 MB / 0.7728 GB, free: 17.46 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01089/1.762, allocations: 7.54 MB / 0.7802 GB, free: 9.906 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03527/1.798, allocations: 20.71 MB / 0.8004 GB, free: 5.285 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001013/1.798, allocations: 104.5 kB / 0.8005 GB, free: 5.176 MB / 494.1 MB Notification: Performance of pre-optimization done (n=683): time 7.925e-06/1.798, allocations: 7.938 kB / 0.8005 GB, free: 5.168 MB / 494.1 MB Notification: Performance of matching and sorting (n=691): time 0.3138/2.112, allocations: 39.08 MB / 0.8387 GB, free: 150.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/2.112, allocations: 156.5 kB / 0.8388 GB, free: 150.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01114/2.123, allocations: 7.252 MB / 0.8459 GB, free: 147.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001182/2.124, allocations: 141 kB / 0.8461 GB, free: 147.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003901/2.128, allocations: 7.932 MB / 0.8538 GB, free: 141.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002193/2.13, allocations: 2.349 MB / 0.8561 GB, free: 140 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001169/2.131, allocations: 0.7944 MB / 0.8569 GB, free: 139.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.832e-05/2.131, allocations: 301.1 kB / 0.8572 GB, free: 139.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006474/2.138, allocations: 4.968 MB / 0.862 GB, free: 137.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008628/2.146, allocations: 8.674 MB / 0.8705 GB, free: 130.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01578/2.162, allocations: 14.48 MB / 0.8846 GB, free: 116 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001139/2.162, allocations: 36 kB / 0.8847 GB, free: 116 MB / 494.1 MB Notification: Performance of matching and sorting (n=1280) (initialization): time 0.02735/2.19, allocations: 16.5 MB / 0.9008 GB, free: 100.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001526/2.19, allocations: 56 kB / 0.9008 GB, free: 100.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002037/2.19, allocations: 124 kB / 0.901 GB, free: 100.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00648/2.197, allocations: 2.577 MB / 0.9035 GB, free: 97.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008989/2.206, allocations: 2.18 MB / 0.9056 GB, free: 95.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03185/2.238, allocations: 28.57 MB / 0.9335 GB, free: 65.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008435/2.246, allocations: 0.5425 MB / 0.934 GB, free: 65.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00235/2.248, allocations: 487.9 kB / 0.9345 GB, free: 64.95 MB / 494.1 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.01415/2.263, allocations: 6.822 MB / 0.9411 GB, free: 58.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002122/2.265, allocations: 0.7794 MB / 0.9419 GB, free: 57.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02089/2.286, allocations: 13.22 MB / 0.9548 GB, free: 43.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0121/2.298, allocations: 8.308 MB / 0.9629 GB, free: 35.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.947e-05/2.298, allocations: 31.94 kB / 0.963 GB, free: 35.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001032/2.298, allocations: 34.5 kB / 0.963 GB, free: 35.42 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2844/2.582, allocations: 28.2 MB / 0.9905 GB, free: 141.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.86e-05/2.583, allocations: 3.969 kB / 0.9905 GB, free: 141.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00494/2.587, allocations: 1.107 MB / 0.9916 GB, free: 141.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00628/2.594, allocations: 2.645 MB / 0.9942 GB, free: 141.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001167/2.595, allocations: 151.6 kB / 0.9943 GB, free: 141.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03226/2.627, allocations: 33.02 MB / 1.027 GB, free: 119.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/2.627, allocations: 7.719 kB / 1.027 GB, free: 119.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03166/2.659, allocations: 18.96 MB / 1.045 GB, free: 111.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004654/2.664, allocations: 1.777 MB / 1.047 GB, free: 111.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001982/2.666, allocations: 129.8 kB / 1.047 GB, free: 111.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004992/2.671, allocations: 410.5 kB / 1.047 GB, free: 111 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001544/2.672, allocations: 0.5214 MB / 1.048 GB, free: 110.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005298/2.673, allocations: 197.2 kB / 1.048 GB, free: 110.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008535/2.681, allocations: 4.881 MB / 1.053 GB, free: 106.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.11e-07/2.681, allocations: 0 / 1.053 GB, free: 106.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01386/2.695, allocations: 3.086 MB / 1.056 GB, free: 103.7 MB / 494.1 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.001823/2.697, allocations: 354.6 kB / 1.056 GB, free: 103.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02097/2.718, allocations: 13.61 MB / 1.069 GB, free: 91.36 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/2.718, allocations: 0 / 1.069 GB, free: 91.36 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01093/2.729, allocations: 7.649 MB / 1.077 GB, free: 84.53 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01483/2.744, allocations: 2.026 MB / 1.079 GB, free: 82.81 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05857/2.802, allocations: 40.62 MB / 1.119 GB, free: 44.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01725/2.82, allocations: 11.43 MB / 1.13 GB, free: 32.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0114/2.831, allocations: 3.364 MB / 1.133 GB, free: 29.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002973/2.834, allocations: 0.5619 MB / 1.134 GB, free: 28.87 MB / 494.1 MB Notification: Performance of SimCode: time 1.302e-06/2.834, allocations: 0 / 1.134 GB, free: 28.87 MB / 494.1 MB Notification: Performance of Templates: time 0.4095/3.244, allocations: 130.5 MB / 1.261 GB, free: 60.36 MB / 494.1 MB 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)