Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009961/0.0009961, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.195/1.195, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001574/0.001575, allocations: 107.5 kB / 223.2 MB, free: 4.039 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.999e-05/4.003e-05, allocations: 4 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07325/0.0733, allocations: 38.77 MB / 307.6 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2902/0.3636, allocations: 98.32 MB / 406 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.3639, allocations: 90.45 kB / 406 MB, free: 10.22 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1288/0.4927, allocations: 48.84 MB / 454.9 MB, free: 14.74 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4927, allocations: 0 / 454.9 MB, free: 14.74 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001856/0.4929, allocations: 63.92 kB / 455 MB, free: 14.68 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.005872/0.4988, allocations: 2.41 MB / 457.4 MB, free: 12.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.4988, allocations: 8.031 kB / 457.4 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.5002, allocations: 332.3 kB / 457.7 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003672/0.5039, allocations: 1.713 MB / 459.4 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.504, allocations: 151.9 kB / 459.6 MB, free: 9.961 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003468/0.5044, allocations: 199.9 kB / 459.7 MB, free: 9.766 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004426/0.5088, allocations: 2.588 MB / 462.3 MB, free: 7.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-05/0.5089, allocations: 7.906 kB / 462.3 MB, free: 7.062 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001961/0.5091, allocations: 87.94 kB / 462.4 MB, free: 6.977 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.623e-05/0.5092, allocations: 83.89 kB / 462.5 MB, free: 6.895 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003504/0.5127, allocations: 2.042 MB / 464.6 MB, free: 4.852 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1952/0.7079, allocations: 8.279 MB / 472.8 MB, free: 78.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002607/0.7105, allocations: 1.564 MB / 474.4 MB, free: 77.92 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/0.7121, allocations: 0.9505 MB / 475.3 MB, free: 77.9 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003189/0.7124, allocations: 143.7 kB / 475.5 MB, free: 77.81 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.7124, allocations: 46.61 kB / 475.5 MB, free: 77.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=115): time 3.857e-06/0.7125, allocations: 0 / 475.5 MB, free: 77.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=131): time 0.0101/0.7226, allocations: 4.989 MB / 480.5 MB, free: 77.08 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.7226, allocations: 65.59 kB / 480.6 MB, free: 77.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003056/0.7257, allocations: 1.832 MB / 482.4 MB, free: 76.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001633/0.7259, allocations: 45.67 kB / 482.5 MB, free: 76.76 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000614/0.7265, allocations: 1.089 MB / 483.6 MB, free: 76.46 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002998/0.7268, allocations: 455.8 kB / 484 MB, free: 76.23 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-05/0.7269, allocations: 26.66 kB / 484 MB, free: 76.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.783e-05/0.727, allocations: 362.7 kB / 484.4 MB, free: 75.92 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008829/0.7279, allocations: 0.704 MB / 485.1 MB, free: 75.92 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009789/0.7289, allocations: 0.9652 MB / 486 MB, free: 75.67 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.7299, allocations: 0.8694 MB / 486.9 MB, free: 75.62 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.7299, allocations: 0 / 486.9 MB, free: 75.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004247/0.7342, allocations: 2.733 MB / 489.6 MB, free: 75.39 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.144e-05/0.7342, allocations: 40.81 kB / 489.7 MB, free: 75.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.237e-05/0.7343, allocations: 7.219 kB / 489.7 MB, free: 75.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001915/0.7362, allocations: 0.8384 MB / 490.5 MB, free: 75.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.7372, allocations: 264.8 kB / 490.8 MB, free: 75.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009831/0.7471, allocations: 9.281 MB / 0.4884 GB, free: 71.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/0.7488, allocations: 101.9 kB / 0.4885 GB, free: 71.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/0.7489, allocations: 53.42 kB / 0.4885 GB, free: 71.42 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(6,88.9%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002825/0.7492, allocations: 178.4 kB / 0.4887 GB, free: 71.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003576/0.7496, allocations: 197.1 kB / 0.4889 GB, free: 71.17 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003823/0.7534, allocations: 2.464 MB / 0.4913 GB, free: 70.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.7534, allocations: 10.91 kB / 0.4913 GB, free: 70.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/0.7535, allocations: 7.406 kB / 0.4913 GB, free: 70.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.7535, allocations: 7.078 kB / 0.4913 GB, free: 70.25 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00823/0.7617, allocations: 4.958 MB / 0.4961 GB, free: 68.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/0.7618, allocations: 6.156 kB / 0.4961 GB, free: 68.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008922/0.7627, allocations: 220.4 kB / 0.4963 GB, free: 68.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001671/0.7644, allocations: 0.7067 MB / 0.497 GB, free: 68.12 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.863e-05/0.7645, allocations: 34.95 kB / 0.4971 GB, free: 68.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007507/0.772, allocations: 8.458 MB / 0.5053 GB, free: 62.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.772, allocations: 4.531 kB / 0.5053 GB, free: 62.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004927/0.777, allocations: 3.582 MB / 0.5088 GB, free: 60.62 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/0.7781, allocations: 477.5 kB / 0.5093 GB, free: 60.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002417/0.7784, allocations: 31.52 kB / 0.5093 GB, free: 60.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009231/0.7793, allocations: 90.92 kB / 0.5094 GB, free: 60.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000282/0.7796, allocations: 112 kB / 0.5095 GB, free: 60.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.315e-05/0.7797, allocations: 42.09 kB / 0.5096 GB, free: 60.27 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001822/0.7815, allocations: 1.423 MB / 0.5109 GB, free: 59.71 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.7816, allocations: 0 / 0.5109 GB, free: 59.71 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001896/0.7835, allocations: 0.5732 MB / 0.5115 GB, free: 59.66 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 6,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008804/0.7843, allocations: 435.6 kB / 0.5119 GB, free: 59.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003419/0.7878, allocations: 2.429 MB / 0.5143 GB, free: 58.42 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.7878, allocations: 3.469 kB / 0.5143 GB, free: 58.42 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002177/0.79, allocations: 1.666 MB / 0.5159 GB, free: 57.51 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/0.7921, allocations: 404.6 kB / 0.5163 GB, free: 57.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006416/0.7986, allocations: 4.235 MB / 0.5204 GB, free: 55.2 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/0.7999, allocations: 1.988 MB / 0.5224 GB, free: 53.61 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001375/0.8013, allocations: 396.8 kB / 0.5228 GB, free: 53.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003622/0.8017, allocations: 125.2 kB / 0.5229 GB, free: 53.22 MB / 346.7 MB Notification: Performance of SimCode: time 1.372e-06/0.8017, allocations: 0 / 0.5229 GB, free: 53.22 MB / 346.7 MB Notification: Performance of Templates: time 0.04743/0.8491, allocations: 30.98 MB / 0.5531 GB, free: 29.33 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1)