Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001435/0.001435, allocations: 110.5 kB / 17.06 MB, free: 6.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.001306/0.001306, allocations: 198.9 kB / 18 MB, free: 5.172 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.51/1.51, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.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.001206/0.001206, allocations: 51.94 kB / 327.9 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1028, allocations: 46.62 MB / 374.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.2624/0.3653, allocations: 27.07 MB / 401.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02185/0.3872, allocations: 7.998 MB / 409.6 MB, free: 6.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009142/0.3964, allocations: 169.8 kB / 409.8 MB, free: 6.117 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02465/0.4211, allocations: 9.368 MB / 419.1 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0168/0.4379, allocations: 3.363 MB / 422.5 MB, free: 13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007998/0.446, allocations: 1.852 MB / 424.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02355/0.4695, allocations: 12.28 MB / 436.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04354/0.5131, allocations: 24.42 MB / 461 MB, free: 8.859 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01171/0.5249, allocations: 6.526 MB / 467.6 MB, free: 2.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01386/0.5388, allocations: 7.265 MB / 474.8 MB, free: 11.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005609/0.5444, allocations: 1.848 MB / 476.7 MB, free: 9.176 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008127/0.5526, allocations: 2.218 MB / 478.9 MB, free: 6.961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006484/0.5591, allocations: 3.671 MB / 482.6 MB, free: 3.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01408/0.5732, allocations: 7 MB / 489.6 MB, free: 12.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0332/0.6064, allocations: 24.77 MB / 0.5023 GB, free: 3.414 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.6065, allocations: 0 / 0.5023 GB, free: 3.414 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.6065, allocations: 0 / 0.5023 GB, free: 3.414 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007987/0.6073, allocations: 0 / 0.5023 GB, free: 3.414 MB / 430.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.05041/0.6577, allocations: 14.66 MB / 0.5166 GB, free: 4.645 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.6578, allocations: 8.031 kB / 0.5166 GB, free: 4.637 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05346/0.7112, allocations: 9.467 MB / 0.5258 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01844/0.7297, allocations: 6.895 MB / 0.5326 GB, free: 4.164 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008276/0.7306, allocations: 0.8227 MB / 0.5334 GB, free: 3.34 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005503/0.7361, allocations: 1.07 MB / 0.5344 GB, free: 2.27 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4993/1.235, allocations: 18.74 MB / 0.5527 GB, free: 134.5 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006786/1.236, allocations: 12.59 kB / 0.5527 GB, free: 134.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005497/1.242, allocations: 455.8 kB / 0.5532 GB, free: 134.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001542/1.243, allocations: 0.6996 MB / 0.5539 GB, free: 134.5 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05119/1.294, allocations: 18.22 MB / 0.5717 GB, free: 128.8 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.113/1.407, allocations: 59.35 MB / 0.6296 GB, free: 80.04 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03226/1.44, allocations: 46.72 MB / 0.6752 GB, free: 28.39 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00649/1.446, allocations: 4.281 MB / 0.6794 GB, free: 24.09 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02017/1.467, allocations: 12.35 MB / 0.6915 GB, free: 11.78 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.774e-05/1.467, allocations: 73.58 kB / 0.6916 GB, free: 11.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=385): time 5.541e-06/1.467, allocations: 0 / 0.6916 GB, free: 11.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=391): time 0.04699/1.514, allocations: 19.3 MB / 0.7104 GB, free: 8.312 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.366e-05/1.514, allocations: 98.47 kB / 0.7105 GB, free: 8.203 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007697/1.521, allocations: 4.331 MB / 0.7147 GB, free: 3.852 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001094/1.523, allocations: 89.7 kB / 0.7148 GB, free: 3.758 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003946/1.527, allocations: 4.834 MB / 0.7195 GB, free: 14.89 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002404/1.529, allocations: 1.346 MB / 0.7208 GB, free: 13.56 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002492/1.531, allocations: 1.274 MB / 0.7221 GB, free: 12.27 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001018/1.532, allocations: 304.1 kB / 0.7224 GB, free: 11.98 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00552/1.537, allocations: 3.124 MB / 0.7254 GB, free: 8.848 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008253/1.545, allocations: 5.736 MB / 0.731 GB, free: 1.887 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0171/1.563, allocations: 9.442 MB / 0.7403 GB, free: 7.203 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001239/1.563, allocations: 27.94 kB / 0.7403 GB, free: 7.176 MB / 0.5138 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.2945/1.857, allocations: 10.27 MB / 0.7503 GB, free: 163.8 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.812e-05/1.857, allocations: 42.88 kB / 0.7504 GB, free: 163.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000158/1.858, allocations: 89.72 kB / 0.7504 GB, free: 163.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004031/1.862, allocations: 1.448 MB / 0.7519 GB, free: 163.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006093/1.868, allocations: 1.459 MB / 0.7533 GB, free: 163.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0206/1.888, allocations: 11.45 MB / 0.7645 GB, free: 159 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007017/1.895, allocations: 400.7 kB / 0.7648 GB, free: 158.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001857/1.897, allocations: 325.2 kB / 0.7652 GB, free: 158.9 MB / 0.5138 GB 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 (752): * Single equations (assignments): 750 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008988/1.906, allocations: 4.179 MB / 0.7692 GB, free: 157 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001337/1.908, allocations: 445.4 kB / 0.7697 GB, free: 157 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0132/1.921, allocations: 7.358 MB / 0.7768 GB, free: 154.1 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008632/1.93, allocations: 6.039 MB / 0.7827 GB, free: 151.8 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.839e-05/1.93, allocations: 11.72 kB / 0.7828 GB, free: 151.8 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.013e-05/1.93, allocations: 18.84 kB / 0.7828 GB, free: 151.8 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02521/1.955, allocations: 16.34 MB / 0.7987 GB, free: 145.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/1.955, allocations: 3.406 kB / 0.7987 GB, free: 145.5 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002937/1.958, allocations: 0.7263 MB / 0.7994 GB, free: 145.4 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00334/1.961, allocations: 1.295 MB / 0.8007 GB, free: 144.6 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000457/1.962, allocations: 87.55 kB / 0.8008 GB, free: 144.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01266/1.974, allocations: 10.18 MB / 0.8107 GB, free: 135.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/1.974, allocations: 0 / 0.8107 GB, free: 135.7 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01738/1.992, allocations: 10.54 MB / 0.821 GB, free: 125.6 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003216/1.995, allocations: 1.043 MB / 0.822 GB, free: 124.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001025/1.996, allocations: 68 kB / 0.8221 GB, free: 124.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002762/1.999, allocations: 255.8 kB / 0.8223 GB, free: 124.4 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008496/2, allocations: 267.5 kB / 0.8226 GB, free: 124.1 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002742/2, allocations: 116 kB / 0.8227 GB, free: 124 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004401/2.004, allocations: 2.912 MB / 0.8256 GB, free: 121.1 MB / 0.5138 GB Notification: Performance of sort global known variables: time 5.92e-07/2.004, allocations: 0 / 0.8256 GB, free: 121.1 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007867/2.012, allocations: 1.845 MB / 0.8274 GB, free: 119.2 MB / 0.5138 GB 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 (360): * Single equations (assignments): 358 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001085/2.013, allocations: 260.2 kB / 0.8276 GB, free: 119 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01253/2.026, allocations: 7.912 MB / 0.8353 GB, free: 111.1 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/2.026, allocations: 7.844 kB / 0.8353 GB, free: 111.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.006604/2.033, allocations: 3.636 MB / 0.8389 GB, free: 107.4 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005733/2.038, allocations: 1.092 MB / 0.84 GB, free: 106.4 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03266/2.071, allocations: 18.72 MB / 0.8582 GB, free: 87.62 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01024/2.081, allocations: 7.032 MB / 0.8651 GB, free: 80.54 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.00622/2.088, allocations: 2.248 MB / 0.8673 GB, free: 78.28 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001338/2.089, allocations: 367.4 kB / 0.8676 GB, free: 77.92 MB / 0.5138 GB Notification: Performance of SimCode: time 1.643e-06/2.089, allocations: 4 kB / 0.8677 GB, free: 77.92 MB / 0.5138 GB Notification: Performance of Templates: time 0.1112/2.2, allocations: 71.93 MB / 0.9379 GB, free: 5.973 MB / 0.5138 GB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1)