Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=12000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=12000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001366/0.001367, allocations: 169.3 kB / 12.72 MB, free: 2.59 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.404/1.404, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001691/0.001691, allocations: 103.5 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.107e-05/3.109e-05, allocations: 0 / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07504/0.07509, allocations: 38.77 MB / 307.6 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3173/0.3925, allocations: 103.7 MB / 411.3 MB, free: 5.094 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/0.3928, allocations: 86.39 kB / 411.4 MB, free: 5.051 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3997/0.7925, allocations: 82.38 MB / 493.8 MB, free: 75.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.7926, allocations: 0 / 493.8 MB, free: 75.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001807/0.7928, allocations: 67.77 kB / 493.8 MB, free: 75.22 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: 655 * Number of variables: 655 Notification: Performance of Generate backend data structure: time 0.006088/0.7989, allocations: 2.607 MB / 496.4 MB, free: 74.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.7989, allocations: 7.5 kB / 496.4 MB, free: 74.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001854/0.8008, allocations: 416.1 kB / 496.9 MB, free: 73.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004148/0.805, allocations: 1.752 MB / 498.6 MB, free: 73.49 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.8051, allocations: 186.2 kB / 498.8 MB, free: 73.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004132/0.8055, allocations: 256.8 kB / 499 MB, free: 73.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005076/0.8106, allocations: 3.142 MB / 0.4904 GB, free: 73.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-05/0.8107, allocations: 3.688 kB / 0.4904 GB, free: 73.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000238/0.811, allocations: 108 kB / 0.4905 GB, free: 73.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/0.8111, allocations: 107 kB / 0.4906 GB, free: 73.08 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003792/0.8149, allocations: 2.453 MB / 0.493 GB, free: 73.05 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01591/0.8308, allocations: 10.4 MB / 0.5032 GB, free: 68.45 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001859/0.8327, allocations: 1.742 MB / 0.5049 GB, free: 67.37 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.8337, allocations: 0.8631 MB / 0.5057 GB, free: 67.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000298/0.8341, allocations: 137.8 kB / 0.5058 GB, free: 66.95 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.8341, allocations: 46.06 kB / 0.5059 GB, free: 66.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=116): time 3.817e-06/0.8341, allocations: 0 / 0.5059 GB, free: 66.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=141): time 0.01454/0.8487, allocations: 6.869 MB / 0.5126 GB, free: 64.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.8487, allocations: 71.09 kB / 0.5127 GB, free: 64.49 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/0.851, allocations: 1.566 MB / 0.5142 GB, free: 63.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.8511, allocations: 48.33 kB / 0.5142 GB, free: 63.83 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005918/0.8517, allocations: 1.229 MB / 0.5154 GB, free: 62.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003391/0.852, allocations: 494.2 kB / 0.5159 GB, free: 62.51 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.54e-05/0.8521, allocations: 35.28 kB / 0.5159 GB, free: 62.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.8522, allocations: 372.5 kB / 0.5163 GB, free: 62.15 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.8533, allocations: 0.7991 MB / 0.5171 GB, free: 61.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.8544, allocations: 1.285 MB / 0.5183 GB, free: 60.94 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.8556, allocations: 1.01 MB / 0.5193 GB, free: 60.55 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.8556, allocations: 3.938 kB / 0.5193 GB, free: 60.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004144/0.8598, allocations: 2.83 MB / 0.5221 GB, free: 59.29 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.8598, allocations: 12.31 kB / 0.5221 GB, free: 59.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.164e-05/0.8599, allocations: 23.94 kB / 0.5221 GB, free: 59.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/0.8612, allocations: 0.5761 MB / 0.5227 GB, free: 58.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.8626, allocations: 407.2 kB / 0.5231 GB, free: 58.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005873/0.8684, allocations: 5.457 MB / 0.5284 GB, free: 53.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/0.8703, allocations: 139.1 kB / 0.5285 GB, free: 53.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.8704, allocations: 71.19 kB / 0.5286 GB, free: 53.36 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 181 * 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: 1 * 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: 1 {(6,72.2%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002912/0.8707, allocations: 201 kB / 0.5288 GB, free: 53.15 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003/0.871, allocations: 193.7 kB / 0.529 GB, free: 52.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003743/0.8748, allocations: 2.51 MB / 0.5314 GB, free: 50.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.8748, allocations: 12 kB / 0.5314 GB, free: 50.83 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.8748, allocations: 12 kB / 0.5315 GB, free: 50.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.8748, allocations: 6 kB / 0.5315 GB, free: 50.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007916/0.8828, allocations: 5.342 MB / 0.5367 GB, free: 46.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.829e-05/0.8828, allocations: 8 kB / 0.5367 GB, free: 46.42 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009647/0.8838, allocations: 243.3 kB / 0.5369 GB, free: 46.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001525/0.8853, allocations: 0.6494 MB / 0.5375 GB, free: 45.72 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.911e-05/0.8854, allocations: 43.03 kB / 0.5376 GB, free: 45.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006782/0.8922, allocations: 7.138 MB / 0.5446 GB, free: 39.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.8923, allocations: 4 kB / 0.5446 GB, free: 39.04 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004908/0.8972, allocations: 3.906 MB / 0.5484 GB, free: 35.39 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/0.8985, allocations: 464.2 kB / 0.5488 GB, free: 34.97 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002741/0.8987, allocations: 35.14 kB / 0.5489 GB, free: 34.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.8998, allocations: 105.2 kB / 0.549 GB, free: 34.86 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002866/0.9001, allocations: 123.3 kB / 0.5491 GB, free: 34.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.279e-05/0.9002, allocations: 43.31 kB / 0.5491 GB, free: 34.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001655/0.9019, allocations: 1.214 MB / 0.5503 GB, free: 33.62 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9019, allocations: 0 / 0.5503 GB, free: 33.62 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00203/0.9039, allocations: 0.6093 MB / 0.5509 GB, free: 33.02 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * 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 {(6,75.0%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005231/0.9045, allocations: 317.9 kB / 0.5512 GB, free: 32.72 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003408/0.9079, allocations: 2.465 MB / 0.5536 GB, free: 30.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.9079, allocations: 0 / 0.5536 GB, free: 30.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002125/0.9101, allocations: 1.559 MB / 0.5551 GB, free: 28.61 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/0.9122, allocations: 408.6 kB / 0.5555 GB, free: 28.22 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006806/0.919, allocations: 4.131 MB / 0.5596 GB, free: 24.05 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/0.9204, allocations: 2.064 MB / 0.5616 GB, free: 21.95 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001435/0.9219, allocations: 409.2 kB / 0.562 GB, free: 21.56 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003536/0.9222, allocations: 123.4 kB / 0.5621 GB, free: 21.45 MB / 346.7 MB Notification: Performance of SimCode: time 7.81e-07/0.9222, allocations: 4 kB / 0.5621 GB, free: 21.44 MB / 346.7 MB Notification: Performance of Templates: time 0.04723/0.9695, allocations: 30.23 MB / 0.5916 GB, free: 7.461 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1)