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.01315/0.01315, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.002394/0.002395, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.628/1.628, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.002237/0.002237, allocations: 53.73 kB / 326.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.212, allocations: 46.63 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.02378/0.2359, allocations: 11.42 MB / 384.6 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01819/0.2542, allocations: 3.916 MB / 388.5 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005387/0.2597, allocations: 55.75 kB / 388.6 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005814/0.2656, allocations: 0.8423 MB / 389.4 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007941/0.2736, allocations: 0.9394 MB / 390.4 MB, free: 44 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003391/0.2771, allocations: 0.5109 MB / 390.9 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009566/0.2867, allocations: 3.226 MB / 394.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007749/0.2945, allocations: 2.538 MB / 396.6 MB, free: 9.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004782/0.2993, allocations: 1.433 MB / 398.1 MB, free: 8.246 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005327/0.3047, allocations: 1.818 MB / 399.9 MB, free: 6.422 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001777/0.3065, allocations: 384 kB / 400.3 MB, free: 6.047 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003076/0.3096, allocations: 0.6207 MB / 400.9 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002989/0.3126, allocations: 1.067 MB / 401.9 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007364/0.32, allocations: 1.723 MB / 403.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01551/0.3356, allocations: 5.043 MB / 408.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.258e-05/0.3357, allocations: 0 / 408.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.318e-06/0.3357, allocations: 0 / 408.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003435/0.3361, allocations: 0 / 408.7 MB, free: 13.57 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.01886/0.355, allocations: 3.476 MB / 412.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.704e-05/0.3551, allocations: 11.89 kB / 412.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003405/0.3585, allocations: 416.9 kB / 412.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005589/0.3641, allocations: 1.73 MB / 414.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002106/0.3644, allocations: 189.2 kB / 414.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005234/0.3649, allocations: 259.8 kB / 414.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006322/0.3713, allocations: 3.239 MB / 418 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.28e-05/0.3713, allocations: 7.938 kB / 418 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002277/0.3716, allocations: 104 kB / 418.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001496/0.3717, allocations: 120.9 kB / 418.2 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005271/0.377, allocations: 2.693 MB / 420.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01977/0.3968, allocations: 10.26 MB / 431.2 MB, free: 6.527 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002569/0.3994, allocations: 1.774 MB / 433 MB, free: 4.633 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001958/0.4014, allocations: 1.038 MB / 434 MB, free: 3.594 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003427/0.4018, allocations: 207.2 kB / 434.2 MB, free: 3.355 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.022e-05/0.4018, allocations: 47.56 kB / 434.3 MB, free: 3.297 MB / 366.1 MB Notification: Performance of pre-optimization done (n=115): time 4.759e-06/0.4019, allocations: 0 / 434.3 MB, free: 3.297 MB / 366.1 MB Notification: Performance of matching and sorting (n=134): time 0.02008/0.4219, allocations: 7.416 MB / 441.7 MB, free: 11.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.4221, allocations: 68.72 kB / 441.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003524/0.4256, allocations: 1.869 MB / 443.6 MB, free: 9.812 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001169/0.4257, allocations: 45.7 kB / 443.7 MB, free: 9.762 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001025/0.4268, allocations: 1.245 MB / 444.9 MB, free: 8.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004307/0.4272, allocations: 469.3 kB / 445.4 MB, free: 8.035 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005308/0.4277, allocations: 299.3 kB / 445.6 MB, free: 7.734 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.4279, allocations: 301.1 kB / 445.9 MB, free: 7.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/0.4294, allocations: 0.812 MB / 446.8 MB, free: 6.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001854/0.4313, allocations: 1.313 MB / 448.1 MB, free: 5.086 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00339/0.4347, allocations: 2.255 MB / 450.3 MB, free: 2.617 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/0.4347, allocations: 8 kB / 450.3 MB, free: 2.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.388/0.8228, allocations: 2.79 MB / 453.1 MB, free: 67.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.441e-05/0.8229, allocations: 15.44 kB / 453.1 MB, free: 67.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.095e-05/0.823, allocations: 16.31 kB / 453.2 MB, free: 67.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001518/0.8245, allocations: 417 kB / 453.6 MB, free: 67.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002146/0.8267, allocations: 400.3 kB / 453.9 MB, free: 67.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007547/0.8342, allocations: 5.778 MB / 459.7 MB, free: 64.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002667/0.8369, allocations: 125.4 kB / 459.9 MB, free: 64.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000229/0.8372, allocations: 71.86 kB / 459.9 MB, free: 64.62 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.002332/0.8395, allocations: 0.7857 MB / 460.7 MB, free: 64.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008079/0.8403, allocations: 201.3 kB / 460.9 MB, free: 64.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005451/0.8458, allocations: 2.385 MB / 463.3 MB, free: 63.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-05/0.8458, allocations: 16.3 kB / 463.3 MB, free: 63.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/0.8459, allocations: 3.812 kB / 463.3 MB, free: 63.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.458e-05/0.8459, allocations: 6.516 kB / 463.3 MB, free: 63.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01202/0.8579, allocations: 5.268 MB / 468.6 MB, free: 61.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-05/0.858, allocations: 5.5 kB / 468.6 MB, free: 61.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.8591, allocations: 250.4 kB / 468.8 MB, free: 61.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001374/0.8604, allocations: 464.9 kB / 469.3 MB, free: 60.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/0.8606, allocations: 41.45 kB / 469.3 MB, free: 60.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007245/0.8678, allocations: 7.331 MB / 476.7 MB, free: 55.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.8679, allocations: 7.906 kB / 476.7 MB, free: 55.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00571/0.8736, allocations: 3.577 MB / 480.2 MB, free: 53.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/0.8749, allocations: 451.2 kB / 480.7 MB, free: 52.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002433/0.8752, allocations: 33.45 kB / 480.7 MB, free: 52.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.8763, allocations: 109.6 kB / 480.8 MB, free: 52.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003003/0.8766, allocations: 116.6 kB / 480.9 MB, free: 52.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-05/0.8767, allocations: 42.98 kB / 481 MB, free: 52.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002021/0.8788, allocations: 1.296 MB / 482.3 MB, free: 52.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8788, allocations: 0 / 482.3 MB, free: 52.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002437/0.8812, allocations: 0.5428 MB / 482.8 MB, free: 51.99 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.0005473/0.8818, allocations: 221 kB / 483 MB, free: 51.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004215/0.886, allocations: 2.422 MB / 485.5 MB, free: 50.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/0.8861, allocations: 0 / 485.5 MB, free: 50.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002294/0.8884, allocations: 1.512 MB / 487 MB, free: 48.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003272/0.8916, allocations: 454.2 kB / 487.4 MB, free: 48.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/0.9037, allocations: 5.107 MB / 492.5 MB, free: 43.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002604/0.9063, allocations: 2.002 MB / 494.5 MB, free: 41.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002217/0.9086, allocations: 427.7 kB / 494.9 MB, free: 40.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009617/0.9096, allocations: 135.4 kB / 495.1 MB, free: 40.59 MB / 382.1 MB Notification: Performance of SimCode: time 2.114e-06/0.9096, allocations: 0 / 495.1 MB, free: 40.59 MB / 382.1 MB Notification: Performance of Templates: time 0.05457/0.9642, allocations: 29 MB / 0.5118 GB, free: 11.58 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)