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_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.IMS_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008641/0.0008641, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008583/0.0008583, allocations: 172.7 kB / 15.95 MB, free: 208 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.315/1.315, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.0004514/0.0004514, allocations: 12 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2076, allocations: 47.58 MB / 326.5 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02375/0.2314, allocations: 23.56 MB / 350.1 MB, free: 11.88 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0166/0.2481, allocations: 7.365 MB / 357.4 MB, free: 4.492 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005004/0.2531, allocations: 159.4 kB / 357.6 MB, free: 4.336 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005638/0.2588, allocations: 1.476 MB / 359.1 MB, free: 2.852 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009908/0.2687, allocations: 2.804 MB / 361.9 MB, free: 36 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004633/0.2734, allocations: 1.252 MB / 363.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02031/0.2937, allocations: 14.82 MB / 377.9 MB, free: 15.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03847/0.3322, allocations: 19.86 MB / 397.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007799/0.3401, allocations: 4.832 MB / 402.6 MB, free: 7.109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008332/0.3484, allocations: 5.386 MB / 408 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002412/0.3509, allocations: 0.7227 MB / 408.7 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004221/0.3551, allocations: 1.074 MB / 409.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003248/0.3584, allocations: 2.274 MB / 412.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004115/0.3625, allocations: 2.332 MB / 414.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02124/0.3838, allocations: 20.93 MB / 435.4 MB, free: 6.289 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.3838, allocations: 7.938 kB / 435.4 MB, free: 6.281 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3838, allocations: 0 / 435.4 MB, free: 6.281 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005724/0.3844, allocations: 0 / 435.4 MB, free: 6.281 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.03293/0.4173, allocations: 12.39 MB / 447.8 MB, free: 9.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.4174, allocations: 8.031 kB / 447.8 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05005/0.4675, allocations: 9.463 MB / 457.2 MB, free: 296 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.313/0.7805, allocations: 6.809 MB / 464 MB, free: 88.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008819/0.7814, allocations: 0.8223 MB / 464.9 MB, free: 87.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004517/0.7859, allocations: 1.075 MB / 465.9 MB, free: 87.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04199/0.828, allocations: 18.68 MB / 484.6 MB, free: 78.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003793/0.8284, allocations: 17.94 kB / 484.6 MB, free: 78.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002848/0.8312, allocations: 455.5 kB / 485.1 MB, free: 78.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005679/0.8318, allocations: 0.7027 MB / 485.8 MB, free: 77.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03455/0.8664, allocations: 18.14 MB / 0.4921 GB, free: 59.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09339/0.9598, allocations: 60.14 MB / 0.5508 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03779/0.9976, allocations: 46.67 MB / 0.5964 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008243/1.006, allocations: 4.317 MB / 0.6006 GB, free: 6.332 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02503/1.031, allocations: 12.47 MB / 0.6128 GB, free: 9.898 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.649e-05/1.031, allocations: 73.61 kB / 0.6129 GB, free: 9.816 MB / 462.1 MB Notification: Performance of pre-optimization done (n=391): time 5.36e-06/1.031, allocations: 0 / 0.6129 GB, free: 9.816 MB / 462.1 MB Notification: Performance of matching and sorting (n=397): time 0.237/1.268, allocations: 21.52 MB / 0.6339 GB, free: 152.8 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/1.268, allocations: 89.62 kB / 0.634 GB, free: 152.7 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007141/1.275, allocations: 4.31 MB / 0.6382 GB, free: 151.1 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005417/1.276, allocations: 84.86 kB / 0.6383 GB, free: 151 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002327/1.278, allocations: 4.818 MB / 0.643 GB, free: 147.4 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001283/1.28, allocations: 1.362 MB / 0.6443 GB, free: 146.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005758/1.28, allocations: 131.3 kB / 0.6444 GB, free: 146.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0004027/1.281, allocations: 0.5616 MB / 0.645 GB, free: 145.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004482/1.285, allocations: 3.14 MB / 0.648 GB, free: 144.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005792/1.291, allocations: 5.757 MB / 0.6537 GB, free: 140.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006176/1.297, allocations: 4.42 MB / 0.658 GB, free: 138.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-05/1.297, allocations: 23.06 kB / 0.658 GB, free: 138.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01777/1.315, allocations: 10.3 MB / 0.6681 GB, free: 134.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.463e-05/1.315, allocations: 47.77 kB / 0.6681 GB, free: 134.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000137/1.315, allocations: 91.52 kB / 0.6682 GB, free: 134 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003205/1.318, allocations: 1.41 MB / 0.6696 GB, free: 132.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00491/1.323, allocations: 1.463 MB / 0.671 GB, free: 131.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/1.337, allocations: 10.56 MB / 0.6813 GB, free: 122.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004821/1.342, allocations: 403.3 kB / 0.6817 GB, free: 121.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001115/1.343, allocations: 335.9 kB / 0.682 GB, free: 121.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (755): * Single equations (assignments): 750 * 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%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006402/1.349, allocations: 4.173 MB / 0.6861 GB, free: 117.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/1.35, allocations: 446.5 kB / 0.6865 GB, free: 116.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01176/1.362, allocations: 7.411 MB / 0.6938 GB, free: 109.4 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008215/1.37, allocations: 6.075 MB / 0.6997 GB, free: 103.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.072e-05/1.37, allocations: 12 kB / 0.6997 GB, free: 103.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.44e-05/1.37, allocations: 20.8 kB / 0.6997 GB, free: 103.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02491/1.395, allocations: 16.45 MB / 0.7158 GB, free: 86.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-05/1.395, allocations: 4 kB / 0.7158 GB, free: 86.83 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002866/1.398, allocations: 0.7303 MB / 0.7165 GB, free: 86.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003021/1.401, allocations: 1.242 MB / 0.7177 GB, free: 84.86 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003629/1.402, allocations: 87.97 kB / 0.7178 GB, free: 84.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01159/1.413, allocations: 9.305 MB / 0.7269 GB, free: 75.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.413, allocations: 0 / 0.7269 GB, free: 75.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01434/1.428, allocations: 10.62 MB / 0.7373 GB, free: 64.66 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002261/1.43, allocations: 1.065 MB / 0.7383 GB, free: 63.57 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001115/1.431, allocations: 68 kB / 0.7384 GB, free: 63.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002594/1.434, allocations: 259.8 kB / 0.7386 GB, free: 63.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006533/1.434, allocations: 267.5 kB / 0.7389 GB, free: 62.99 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003269/1.435, allocations: 120 kB / 0.739 GB, free: 62.88 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004363/1.439, allocations: 2.873 MB / 0.7418 GB, free: 59.99 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.61e-07/1.439, allocations: 3.938 kB / 0.7418 GB, free: 59.99 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006628/1.446, allocations: 1.842 MB / 0.7436 GB, free: 58.15 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (363): * Single equations (assignments): 358 * 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.3%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007289/1.446, allocations: 262.6 kB / 0.7438 GB, free: 57.89 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01179/1.458, allocations: 7.965 MB / 0.7516 GB, free: 49.91 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.458, allocations: 4 kB / 0.7516 GB, free: 49.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006114/1.464, allocations: 3.686 MB / 0.7552 GB, free: 46.22 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006711/1.471, allocations: 1.049 MB / 0.7562 GB, free: 45.18 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03723/1.508, allocations: 22.61 MB / 0.7783 GB, free: 22.54 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01112/1.52, allocations: 7.032 MB / 0.7852 GB, free: 15.45 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.187/1.707, allocations: 2.246 MB / 0.7874 GB, free: 149.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00174/1.708, allocations: 365 kB / 0.7877 GB, free: 149.2 MB / 462.1 MB Notification: Performance of SimCode: time 9.12e-07/1.708, allocations: 0 / 0.7877 GB, free: 149.2 MB / 462.1 MB Notification: Performance of Templates: time 0.09665/1.805, allocations: 70.25 MB / 0.8563 GB, free: 98.75 MB / 462.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1)