Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009949/0.009949, allocations: 100.7 kB / 15.73 MB, free: 6.008 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.001833/0.001833, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.834/1.834, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.001649/0.001649, allocations: 54.77 kB / 326.6 MB, free: 14.33 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1446, allocations: 46.62 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01679/0.1615, allocations: 11.41 MB / 384.6 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01154/0.1731, allocations: 3.916 MB / 388.5 MB, free: 1.898 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003563/0.1767, allocations: 55.75 kB / 388.6 MB, free: 1.844 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004108/0.1809, allocations: 0.858 MB / 389.4 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006644/0.1875, allocations: 0.9824 MB / 390.4 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002445/0.19, allocations: 0.5109 MB / 390.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007245/0.1973, allocations: 3.222 MB / 394.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009127/0.2064, allocations: 2.542 MB / 396.7 MB, free: 9.637 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005347/0.2118, allocations: 1.433 MB / 398.1 MB, free: 8.199 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006716/0.2186, allocations: 1.814 MB / 399.9 MB, free: 6.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002341/0.221, allocations: 384 kB / 400.3 MB, free: 6.004 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004064/0.2251, allocations: 0.6284 MB / 400.9 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003457/0.2286, allocations: 1.071 MB / 402 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007253/0.2359, allocations: 1.719 MB / 403.7 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01267/0.2486, allocations: 5.035 MB / 408.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.2486, allocations: 0 / 408.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.2486, allocations: 0 / 408.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000153/0.2488, allocations: 0 / 408.8 MB, free: 13.52 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.0145/0.2633, allocations: 3.48 MB / 412.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.909e-05/0.2634, allocations: 11.89 kB / 412.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002634/0.2661, allocations: 412.9 kB / 412.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006279/0.2724, allocations: 1.73 MB / 414.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003924/0.2728, allocations: 197.1 kB / 414.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007937/0.2736, allocations: 251.9 kB / 414.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01342/0.2871, allocations: 3.255 MB / 418.1 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001542/0.2873, allocations: 0 / 418.1 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005517/0.2878, allocations: 104 kB / 418.2 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003255/0.2882, allocations: 112.9 kB / 418.3 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01032/0.2985, allocations: 2.697 MB / 421 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02081/0.3194, allocations: 10.25 MB / 431.2 MB, free: 6.488 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002353/0.3218, allocations: 1.782 MB / 433 MB, free: 4.586 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001782/0.3236, allocations: 1.038 MB / 434.1 MB, free: 3.547 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003396/0.3239, allocations: 203.2 kB / 434.3 MB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.577e-05/0.324, allocations: 47.56 kB / 434.3 MB, free: 3.254 MB / 366.1 MB Notification: Performance of pre-optimization done (n=115): time 4.459e-06/0.324, allocations: 7.938 kB / 434.3 MB, free: 3.246 MB / 366.1 MB Notification: Performance of matching and sorting (n=134): time 0.01806/0.3421, allocations: 7.408 MB / 441.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.3422, allocations: 68.72 kB / 441.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003859/0.346, allocations: 1.865 MB / 443.7 MB, free: 9.773 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001197/0.3462, allocations: 49.7 kB / 443.7 MB, free: 9.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.3473, allocations: 1.256 MB / 445 MB, free: 8.445 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004787/0.3478, allocations: 465.3 kB / 445.4 MB, free: 7.984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005898/0.3484, allocations: 295.3 kB / 445.7 MB, free: 7.688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3485, allocations: 301.1 kB / 446 MB, free: 7.391 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/0.35, allocations: 0.8159 MB / 446.8 MB, free: 6.574 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001893/0.3519, allocations: 1.317 MB / 448.1 MB, free: 5.031 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003451/0.3554, allocations: 2.243 MB / 450.4 MB, free: 2.574 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-05/0.3554, allocations: 8 kB / 450.4 MB, free: 2.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.2983/0.6538, allocations: 2.788 MB / 453.2 MB, free: 68.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.164e-05/0.6539, allocations: 18.47 kB / 453.2 MB, free: 68.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.234e-05/0.6539, allocations: 15.75 kB / 453.2 MB, free: 68.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/0.6554, allocations: 420.3 kB / 453.6 MB, free: 68.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002356/0.6578, allocations: 400.5 kB / 454 MB, free: 68.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006607/0.6644, allocations: 5.775 MB / 459.8 MB, free: 64.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/0.6666, allocations: 125.8 kB / 459.9 MB, free: 64.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/0.6668, allocations: 71.41 kB / 460 MB, free: 64.84 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 182 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001945/0.6688, allocations: 0.7862 MB / 460.8 MB, free: 64.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006267/0.6694, allocations: 199.4 kB / 461 MB, free: 64.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004649/0.6741, allocations: 2.383 MB / 463.3 MB, free: 63.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.014e-05/0.6741, allocations: 17.58 kB / 463.4 MB, free: 63.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.986e-06/0.6741, allocations: 4.156 kB / 463.4 MB, free: 63.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.997e-05/0.6742, allocations: 8.203 kB / 463.4 MB, free: 63.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008876/0.683, allocations: 5.271 MB / 468.6 MB, free: 61.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/0.6831, allocations: 4.656 kB / 468.6 MB, free: 61.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.6841, allocations: 251.6 kB / 468.9 MB, free: 61.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001155/0.6853, allocations: 462.1 kB / 469.3 MB, free: 61.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-05/0.6854, allocations: 41.3 kB / 469.4 MB, free: 61.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006471/0.6919, allocations: 7.325 MB / 476.7 MB, free: 55.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/0.6919, allocations: 11.44 kB / 476.7 MB, free: 55.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005495/0.6974, allocations: 3.579 MB / 480.3 MB, free: 53.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009243/0.6984, allocations: 456.8 kB / 480.7 MB, free: 53.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002511/0.6986, allocations: 30.36 kB / 480.8 MB, free: 53.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.6997, allocations: 106.9 kB / 480.9 MB, free: 52.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002615/0.7, allocations: 116.9 kB / 481 MB, free: 52.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.324e-05/0.7001, allocations: 43.11 kB / 481 MB, free: 52.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001729/0.7018, allocations: 1.292 MB / 482.3 MB, free: 52.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7018, allocations: 0 / 482.3 MB, free: 52.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001957/0.7038, allocations: 0.5448 MB / 482.9 MB, free: 52.18 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 111 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004367/0.7042, allocations: 221.1 kB / 483.1 MB, free: 52.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003559/0.7078, allocations: 2.421 MB / 485.5 MB, free: 50.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.7078, allocations: 0 / 485.5 MB, free: 50.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002053/0.7099, allocations: 1.51 MB / 487 MB, free: 48.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/0.712, allocations: 458.6 kB / 487.5 MB, free: 48.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007669/0.7197, allocations: 5.111 MB / 492.6 MB, free: 43.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00131/0.721, allocations: 2.013 MB / 494.6 MB, free: 41.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001316/0.7224, allocations: 427.6 kB / 495 MB, free: 40.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000417/0.7228, allocations: 135.4 kB / 495.1 MB, free: 40.73 MB / 382.1 MB Notification: Performance of SimCode: time 1.553e-06/0.7228, allocations: 0 / 495.1 MB, free: 40.73 MB / 382.1 MB Notification: Performance of Templates: time 0.04529/0.7681, allocations: 28.48 MB / 0.5113 GB, free: 12.22 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1)