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/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.2.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.2.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.001122/0.001122, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.009811/0.009812, allocations: 172.2 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.088/2.088, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.0006099/0.0006099, allocations: 15.94 kB / 279.5 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4443/0.4449, allocations: 47.58 MB / 327 MB, free: 1.367 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01361/0.4586, allocations: 10.77 MB / 337.8 MB, free: 8.598 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01264/0.4713, allocations: 3.837 MB / 341.6 MB, free: 4.75 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004756/0.4761, allocations: 47.81 kB / 341.7 MB, free: 4.703 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004045/0.4802, allocations: 0.7267 MB / 342.4 MB, free: 3.973 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005979/0.4862, allocations: 0.8391 MB / 343.3 MB, free: 3.129 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002782/0.4891, allocations: 463.5 kB / 343.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.007686/0.4968, allocations: 3.577 MB / 347.3 MB, free: 15.09 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004763/0.5016, allocations: 2.117 MB / 349.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002929/0.5046, allocations: 1.081 MB / 350.5 MB, free: 11.82 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003781/0.5084, allocations: 1.536 MB / 352 MB, free: 10.28 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007125/0.5091, allocations: 164 kB / 352.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00178/0.5109, allocations: 427.5 kB / 352.6 MB, free: 9.703 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009545/0.5119, allocations: 0.8057 MB / 353.4 MB, free: 8.895 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002241/0.5141, allocations: 1.455 MB / 354.9 MB, free: 7.426 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00622/0.5203, allocations: 4.733 MB / 359.6 MB, free: 2.676 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.5204, allocations: 4 kB / 359.6 MB, free: 2.672 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.138e-06/0.5204, allocations: 0 / 359.6 MB, free: 2.672 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001946/0.5206, allocations: 0 / 359.6 MB, free: 2.672 MB / 286.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.008611/0.5292, allocations: 2.954 MB / 362.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.207e-05/0.5293, allocations: 12.03 kB / 362.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002123/0.5314, allocations: 409 kB / 363 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004148/0.5356, allocations: 1.718 MB / 364.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002524/0.5359, allocations: 205.3 kB / 364.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007156/0.5366, allocations: 251.8 kB / 365.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006929/0.5436, allocations: 3.251 MB / 368.4 MB, free: 9.688 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.552e-05/0.5437, allocations: 11.84 kB / 368.4 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002441/0.5439, allocations: 104 kB / 368.5 MB, free: 9.574 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001488/0.5441, allocations: 116.9 kB / 368.6 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00572/0.5498, allocations: 2.729 MB / 371.3 MB, free: 6.715 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02124/0.5711, allocations: 10.43 MB / 381.8 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002553/0.5737, allocations: 1.798 MB / 383.6 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001891/0.5756, allocations: 1.061 MB / 384.6 MB, free: 8.965 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003581/0.576, allocations: 207.2 kB / 384.8 MB, free: 8.723 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/0.5761, allocations: 47.56 kB / 384.9 MB, free: 8.668 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 3.537e-06/0.5761, allocations: 0 / 384.9 MB, free: 8.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.02003/0.5961, allocations: 7.761 MB / 392.6 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.5962, allocations: 72.72 kB / 392.7 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003782/0.6, allocations: 1.869 MB / 394.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002061/0.6003, allocations: 53.7 kB / 394.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001139/0.6014, allocations: 1.241 MB / 395.9 MB, free: 13.51 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005042/0.6019, allocations: 465.3 kB / 396.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.6022, allocations: 129.6 kB / 396.4 MB, free: 12.92 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.6023, allocations: 305.1 kB / 396.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/0.6039, allocations: 0.8276 MB / 397.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/0.6057, allocations: 1.336 MB / 398.9 MB, free: 10.24 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003315/0.609, allocations: 2.282 MB / 401.2 MB, free: 7.738 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/0.6091, allocations: 7.938 kB / 401.2 MB, free: 7.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.00567/0.6148, allocations: 2.838 MB / 404 MB, free: 4.852 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/0.6148, allocations: 12 kB / 404 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.564e-05/0.6149, allocations: 16 kB / 404.1 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.616, allocations: 422.4 kB / 404.5 MB, free: 4.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.6174, allocations: 411.3 kB / 404.9 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006795/0.6242, allocations: 5.309 MB / 410.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002168/0.6264, allocations: 139.7 kB / 410.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/0.6266, allocations: 72 kB / 410.4 MB, free: 14.21 MB / 350.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.002066/0.6287, allocations: 0.7861 MB / 411.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006517/0.6294, allocations: 197.7 kB / 411.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00482/0.6342, allocations: 2.422 MB / 413.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.749e-05/0.6342, allocations: 16 kB / 413.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.6343, allocations: 4 kB / 413.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.6343, allocations: 3.984 kB / 413.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/0.6446, allocations: 5.317 MB / 419.1 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.6447, allocations: 4.094 kB / 419.1 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.6458, allocations: 264.2 kB / 419.4 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001266/0.647, allocations: 462 kB / 419.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.777e-05/0.6472, allocations: 39.92 kB / 419.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007625/0.6548, allocations: 6.729 MB / 426.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.444e-05/0.6549, allocations: 11.94 kB / 426.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007233/0.6621, allocations: 3.623 MB / 430.2 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001851/0.664, allocations: 458.5 kB / 430.7 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008374/0.6648, allocations: 40.06 kB / 430.7 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001878/0.6667, allocations: 115.9 kB / 430.8 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004551/0.6672, allocations: 116.7 kB / 431 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001623/0.6674, allocations: 43.98 kB / 431 MB, free: 8.844 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003556/0.671, allocations: 1.287 MB / 432.3 MB, free: 7.566 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.671, allocations: 3.938 kB / 432.3 MB, free: 7.562 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00343/0.6744, allocations: 0.5469 MB / 432.8 MB, free: 7.016 MB / 366.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.0007502/0.6752, allocations: 215 kB / 433.1 MB, free: 6.793 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005418/0.6806, allocations: 2.446 MB / 435.5 MB, free: 4.301 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/0.6807, allocations: 5.812 kB / 435.5 MB, free: 4.297 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003114/0.6838, allocations: 1.521 MB / 437 MB, free: 2.738 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00493/0.6887, allocations: 430.6 kB / 437.4 MB, free: 2.316 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/0.702, allocations: 6.386 MB / 443.8 MB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003239/0.7053, allocations: 2.01 MB / 445.8 MB, free: 9.789 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002216/0.7076, allocations: 423.7 kB / 446.3 MB, free: 9.371 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007667/0.7084, allocations: 131.4 kB / 446.4 MB, free: 9.242 MB / 382.1 MB Notification: Performance of SimCode: time 1.382e-06/0.7084, allocations: 0 / 446.4 MB, free: 9.242 MB / 382.1 MB Notification: Performance of Templates: time 0.3634/1.072, allocations: 26.41 MB / 472.8 MB, free: 102.5 MB / 382.1 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)