Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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.IMC_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00143/0.00143, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004732/0.0004733, allocations: 18.66 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2523, allocations: 47.58 MB / 326.5 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02117/0.2735, allocations: 19.93 MB / 346.4 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01493/0.2885, allocations: 6.953 MB / 353.4 MB, free: 8.566 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005853/0.2944, allocations: 147.5 kB / 353.5 MB, free: 8.422 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006493/0.3009, allocations: 1.497 MB / 355 MB, free: 6.918 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01079/0.3118, allocations: 2.505 MB / 357.5 MB, free: 4.406 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005062/0.3169, allocations: 1.185 MB / 358.7 MB, free: 3.219 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01847/0.3353, allocations: 9.979 MB / 368.7 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03245/0.3678, allocations: 17.79 MB / 386.5 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006507/0.3744, allocations: 3.902 MB / 390.4 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007085/0.3815, allocations: 4.234 MB / 394.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001592/0.3831, allocations: 0.6445 MB / 395.2 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002938/0.386, allocations: 0.9332 MB / 396.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001682/0.3877, allocations: 1.892 MB / 398.1 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002577/0.3903, allocations: 2.067 MB / 400.1 MB, free: 9.609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01814/0.4085, allocations: 18.95 MB / 419.1 MB, free: 6.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4085, allocations: 4 kB / 419.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.879e-06/0.4086, allocations: 0 / 419.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0008308/0.4094, allocations: 0 / 419.1 MB, free: 6.602 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.0322/0.4416, allocations: 10.84 MB / 429.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.4417, allocations: 12.03 kB / 429.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03993/0.4816, allocations: 7.093 MB / 437 MB, free: 4.543 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01524/0.4969, allocations: 6.096 MB / 443.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008198/0.4978, allocations: 0.7261 MB / 443.9 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004201/0.502, allocations: 0.9335 MB / 444.8 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4151/0.9171, allocations: 16.06 MB / 460.9 MB, free: 88.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002802/0.9174, allocations: 10.25 kB / 460.9 MB, free: 88.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001546/0.919, allocations: 393.3 kB / 461.2 MB, free: 87.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005895/0.9196, allocations: 0.5881 MB / 461.8 MB, free: 87.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02922/0.9488, allocations: 15.4 MB / 477.2 MB, free: 81.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07747/1.026, allocations: 52.95 MB / 0.5178 GB, free: 33.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02375/1.05, allocations: 35.47 MB / 0.5524 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01988/1.07, allocations: 10.25 MB / 0.5624 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.981e-05/1.07, allocations: 68.95 kB / 0.5625 GB, free: 15.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=307): time 5.51e-06/1.07, allocations: 0 / 0.5625 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=313): time 0.0337/1.104, allocations: 15.59 MB / 0.5777 GB, free: 0 / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.789e-05/1.104, allocations: 81.84 kB / 0.5778 GB, free: 15.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006768/1.111, allocations: 3.816 MB / 0.5815 GB, free: 12.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005544/1.111, allocations: 77.7 kB / 0.5816 GB, free: 12.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002928/1.114, allocations: 4.245 MB / 0.5857 GB, free: 7.742 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001363/1.116, allocations: 1.081 MB / 0.5868 GB, free: 6.672 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005652/1.116, allocations: 116 kB / 0.5869 GB, free: 6.559 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0004195/1.117, allocations: 0.5255 MB / 0.5874 GB, free: 6.027 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004432/1.121, allocations: 2.595 MB / 0.5899 GB, free: 3.426 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0062/1.127, allocations: 4.943 MB / 0.5948 GB, free: 13.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005868/1.133, allocations: 3.73 MB / 0.5984 GB, free: 9.613 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.898e-05/1.133, allocations: 24 kB / 0.5984 GB, free: 9.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=706) (initialization): time 0.01623/1.15, allocations: 8.72 MB / 0.6069 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.042e-05/1.15, allocations: 40 kB / 0.607 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001338/1.15, allocations: 80 kB / 0.607 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003249/1.153, allocations: 1.215 MB / 0.6082 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004641/1.158, allocations: 1.236 MB / 0.6094 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01485/1.173, allocations: 9.402 MB / 0.6186 GB, free: 4.719 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004653/1.177, allocations: 331.4 kB / 0.6189 GB, free: 4.395 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/1.178, allocations: 292 kB / 0.6192 GB, free: 4.109 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (645): * Single equations (assignments): 640 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007257/1.186, allocations: 3.728 MB / 0.6229 GB, free: 376 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1918/1.377, allocations: 385.4 kB / 0.6232 GB, free: 156.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01315/1.391, allocations: 5.919 MB / 0.629 GB, free: 155.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007636/1.398, allocations: 4.873 MB / 0.6338 GB, free: 153.4 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.368e-05/1.398, allocations: 7.844 kB / 0.6338 GB, free: 153.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.371e-05/1.398, allocations: 22.75 kB / 0.6338 GB, free: 153.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02345/1.422, allocations: 13.9 MB / 0.6474 GB, free: 147.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/1.422, allocations: 3.969 kB / 0.6474 GB, free: 147.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002241/1.424, allocations: 0.5699 MB / 0.6479 GB, free: 147.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002698/1.427, allocations: 1.078 MB / 0.649 GB, free: 147.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002516/1.427, allocations: 74.44 kB / 0.649 GB, free: 147.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/1.438, allocations: 8.31 MB / 0.6572 GB, free: 143 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.438, allocations: 9.844 kB / 0.6572 GB, free: 143 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/1.449, allocations: 9.012 MB / 0.666 GB, free: 137.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002072/1.451, allocations: 0.9022 MB / 0.6669 GB, free: 136.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005382/1.452, allocations: 56 kB / 0.6669 GB, free: 136.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00179/1.454, allocations: 191 kB / 0.6671 GB, free: 136.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004974/1.454, allocations: 230.6 kB / 0.6673 GB, free: 136.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001964/1.455, allocations: 95.94 kB / 0.6674 GB, free: 136.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00339/1.458, allocations: 2.549 MB / 0.6699 GB, free: 133.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.458, allocations: 0 / 0.6699 GB, free: 133.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005027/1.463, allocations: 1.554 MB / 0.6714 GB, free: 132.1 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (289): * Single equations (assignments): 284 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,40.8%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005336/1.464, allocations: 243.7 kB / 0.6716 GB, free: 131.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009292/1.473, allocations: 6.633 MB / 0.6781 GB, free: 125.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.473, allocations: 4 kB / 0.6781 GB, free: 125.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004607/1.477, allocations: 3.051 MB / 0.6811 GB, free: 122.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003794/1.481, allocations: 0.8586 MB / 0.6819 GB, free: 121.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02568/1.507, allocations: 19.35 MB / 0.7008 GB, free: 102 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005692/1.513, allocations: 6.382 MB / 0.7071 GB, free: 95.55 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004977/1.518, allocations: 1.883 MB / 0.7089 GB, free: 93.66 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008482/1.519, allocations: 311.4 kB / 0.7092 GB, free: 93.36 MB / 462.1 MB Notification: Performance of SimCode: time 1.322e-06/1.519, allocations: 0 / 0.7092 GB, free: 93.36 MB / 462.1 MB Notification: Performance of Templates: time 0.08517/1.604, allocations: 59.4 MB / 0.7672 GB, free: 33.92 MB / 462.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) Environment - environmentSimulation: