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.006963/0.006963, allocations: 101.7 kB / 15.73 MB, free: 5.969 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.001529/0.001529, allocations: 195.8 kB / 16.67 MB, free: 5.906 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.741/1.741, 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.001179/0.001179, allocations: 55.22 kB / 326.6 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1532, allocations: 46.63 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01524/0.1685, allocations: 11.42 MB / 384.6 MB, free: 5.844 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01178/0.1804, allocations: 3.901 MB / 388.5 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004206/0.1847, allocations: 55.75 kB / 388.6 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003592/0.1884, allocations: 0.8423 MB / 389.4 MB, free: 1.031 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005277/0.1937, allocations: 0.9355 MB / 390.3 MB, free: 92 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.1957, allocations: 0.5187 MB / 390.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007032/0.2027, allocations: 3.215 MB / 394.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004671/0.2074, allocations: 2.546 MB / 396.6 MB, free: 9.727 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003893/0.2113, allocations: 1.421 MB / 398 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004763/0.2161, allocations: 1.814 MB / 399.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0018/0.218, allocations: 388 kB / 400.2 MB, free: 6.102 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002184/0.2202, allocations: 0.6207 MB / 400.9 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001251/0.2214, allocations: 1.079 MB / 401.9 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002476/0.2239, allocations: 1.715 MB / 403.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007415/0.2313, allocations: 5.047 MB / 408.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.2314, allocations: 0 / 408.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.2314, allocations: 0 / 408.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002147/0.2316, allocations: 8 kB / 408.7 MB, free: 13.61 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.01153/0.2432, allocations: 3.464 MB / 412.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.938e-05/0.2433, allocations: 11.89 kB / 412.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/0.245, allocations: 416.9 kB / 412.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004105/0.2491, allocations: 1.733 MB / 414.3 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/0.2493, allocations: 193.2 kB / 414.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004156/0.2498, allocations: 247.9 kB / 414.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006477/0.2562, allocations: 3.247 MB / 418 MB, free: 4.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-05/0.2564, allocations: 4 kB / 418 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002586/0.2566, allocations: 108 kB / 418.1 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001628/0.2568, allocations: 112.9 kB / 418.2 MB, free: 3.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00539/0.2622, allocations: 2.705 MB / 420.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02107/0.2833, allocations: 10.25 MB / 431.2 MB, free: 6.578 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002721/0.2861, allocations: 1.774 MB / 432.9 MB, free: 4.684 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/0.288, allocations: 1.042 MB / 434 MB, free: 3.641 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003827/0.2884, allocations: 203.2 kB / 434.2 MB, free: 3.406 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.444e-05/0.2885, allocations: 55.56 kB / 434.2 MB, free: 3.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=115): time 4.589e-06/0.2885, allocations: 0 / 434.2 MB, free: 3.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=134): time 0.02388/0.3124, allocations: 7.412 MB / 441.7 MB, free: 11.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.694e-05/0.3125, allocations: 68.72 kB / 441.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005462/0.318, allocations: 1.865 MB / 443.6 MB, free: 9.863 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003073/0.3183, allocations: 49.7 kB / 443.6 MB, free: 9.809 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00148/0.3198, allocations: 1.245 MB / 444.9 MB, free: 8.547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006563/0.3205, allocations: 469.3 kB / 445.3 MB, free: 8.082 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007108/0.3212, allocations: 295.3 kB / 445.6 MB, free: 7.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3214, allocations: 305.1 kB / 445.9 MB, free: 7.484 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002121/0.3236, allocations: 0.812 MB / 446.7 MB, free: 6.672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002272/0.3258, allocations: 1.317 MB / 448.1 MB, free: 5.129 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004658/0.3305, allocations: 2.259 MB / 450.3 MB, free: 2.656 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.208e-05/0.3306, allocations: 4 kB / 450.3 MB, free: 2.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.3858/0.7163, allocations: 2.784 MB / 453.1 MB, free: 67.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.008e-05/0.7165, allocations: 15.72 kB / 453.1 MB, free: 67.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-05/0.7165, allocations: 15.78 kB / 453.1 MB, free: 67.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0019/0.7185, allocations: 421.1 kB / 453.5 MB, free: 67.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002244/0.7207, allocations: 394.7 kB / 453.9 MB, free: 67.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007344/0.7281, allocations: 5.776 MB / 459.7 MB, free: 64.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002557/0.7307, allocations: 126 kB / 459.8 MB, free: 64.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001905/0.7309, allocations: 73.86 kB / 459.9 MB, free: 64.65 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.002243/0.7331, allocations: 0.7851 MB / 460.7 MB, free: 64.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007151/0.7338, allocations: 197.9 kB / 460.9 MB, free: 64.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005327/0.7392, allocations: 2.385 MB / 463.3 MB, free: 63.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.907e-05/0.7392, allocations: 14.97 kB / 463.3 MB, free: 63.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/0.7393, allocations: 4.156 kB / 463.3 MB, free: 63.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.678e-05/0.7393, allocations: 7.828 kB / 463.3 MB, free: 63.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01163/0.7509, allocations: 5.273 MB / 468.6 MB, free: 61.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-05/0.751, allocations: 12.42 kB / 468.6 MB, free: 61.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.7521, allocations: 251.6 kB / 468.8 MB, free: 61.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001348/0.7535, allocations: 458.8 kB / 469.3 MB, free: 60.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.966e-05/0.7536, allocations: 41.25 kB / 469.3 MB, free: 60.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007106/0.7607, allocations: 7.325 MB / 476.6 MB, free: 55.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.84e-06/0.7607, allocations: 7.906 kB / 476.6 MB, free: 55.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006273/0.767, allocations: 3.58 MB / 480.2 MB, free: 53.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001486/0.7685, allocations: 452.1 kB / 480.7 MB, free: 52.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002668/0.7688, allocations: 39.08 kB / 480.7 MB, free: 52.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.7701, allocations: 105.2 kB / 480.8 MB, free: 52.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004101/0.7705, allocations: 112.5 kB / 480.9 MB, free: 52.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.7706, allocations: 41.17 kB / 481 MB, free: 52.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002431/0.773, allocations: 1.292 MB / 482.2 MB, free: 52.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7731, allocations: 0 / 482.2 MB, free: 52.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003056/0.7761, allocations: 0.5445 MB / 482.8 MB, free: 52.03 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.0006919/0.7768, allocations: 224.7 kB / 483 MB, free: 51.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004822/0.7817, allocations: 2.416 MB / 485.4 MB, free: 50.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/0.7817, allocations: 0 / 485.4 MB, free: 50.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002208/0.7839, allocations: 1.521 MB / 486.9 MB, free: 48.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/0.7865, allocations: 444.2 kB / 487.4 MB, free: 48.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.7979, allocations: 5.12 MB / 492.5 MB, free: 43.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002694/0.8007, allocations: 2.006 MB / 494.5 MB, free: 41.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001906/0.8026, allocations: 423.7 kB / 494.9 MB, free: 40.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008656/0.8035, allocations: 131.4 kB / 495 MB, free: 40.64 MB / 382.1 MB Notification: Performance of SimCode: time 1.824e-06/0.8035, allocations: 0 / 495 MB, free: 40.64 MB / 382.1 MB Notification: Performance of Templates: time 0.05767/0.8612, allocations: 28.5 MB / 0.5113 GB, free: 12.12 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)