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.0088/0.0088, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.001527/0.001527, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.756/1.756, allocations: 205.1 MB / 222.6 MB, free: 4.52 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.001285/0.001285, allocations: 54.33 kB / 326.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1389, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01361/0.1526, allocations: 11.42 MB / 384.6 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01009/0.1627, allocations: 3.909 MB / 388.5 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002863/0.1657, allocations: 55.75 kB / 388.6 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003366/0.1691, allocations: 0.858 MB / 389.4 MB, free: 1 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005498/0.1746, allocations: 0.9746 MB / 390.4 MB, free: 20 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00302/0.1777, allocations: 0.5226 MB / 390.9 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005877/0.1836, allocations: 3.215 MB / 394.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004703/0.1883, allocations: 2.546 MB / 396.7 MB, free: 9.652 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002869/0.1912, allocations: 1.433 MB / 398.1 MB, free: 8.215 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004007/0.1952, allocations: 1.814 MB / 399.9 MB, free: 6.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001618/0.1969, allocations: 388 kB / 400.3 MB, free: 6.016 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002408/0.1993, allocations: 0.6322 MB / 400.9 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001923/0.2013, allocations: 1.063 MB / 402 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004342/0.2056, allocations: 1.719 MB / 403.7 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008749/0.2144, allocations: 5.043 MB / 408.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.2144, allocations: 4 kB / 408.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.2144, allocations: 0 / 408.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002387/0.2147, allocations: 4 kB / 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.0124/0.2271, allocations: 3.468 MB / 412.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.2272, allocations: 11.89 kB / 412.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002262/0.2294, allocations: 416.9 kB / 412.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004634/0.2341, allocations: 1.726 MB / 414.4 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002194/0.2343, allocations: 201.1 kB / 414.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009079/0.2353, allocations: 251.9 kB / 414.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009295/0.2446, allocations: 3.239 MB / 418.1 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001359/0.2448, allocations: 8 kB / 418.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006397/0.2454, allocations: 108 kB / 418.2 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002226/0.2456, allocations: 116.9 kB / 418.3 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00696/0.2526, allocations: 2.697 MB / 421 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02244/0.2751, allocations: 10.26 MB / 431.3 MB, free: 6.488 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002782/0.2779, allocations: 1.77 MB / 433 MB, free: 4.598 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00203/0.28, allocations: 1.042 MB / 434.1 MB, free: 3.555 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004024/0.2804, allocations: 207.2 kB / 434.3 MB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.358e-05/0.2805, allocations: 43.56 kB / 434.3 MB, free: 3.262 MB / 366.1 MB Notification: Performance of pre-optimization done (n=115): time 5.15e-06/0.2805, allocations: 0 / 434.3 MB, free: 3.262 MB / 366.1 MB Notification: Performance of matching and sorting (n=134): time 0.01839/0.2989, allocations: 7.416 MB / 441.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.299, allocations: 68.72 kB / 441.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003852/0.3029, allocations: 1.869 MB / 443.7 MB, free: 9.777 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001284/0.303, allocations: 49.7 kB / 443.7 MB, free: 9.723 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.3041, allocations: 1.245 MB / 445 MB, free: 8.461 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004579/0.3045, allocations: 469.3 kB / 445.4 MB, free: 7.996 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005355/0.3051, allocations: 295.3 kB / 445.7 MB, free: 7.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3052, allocations: 305.1 kB / 446 MB, free: 7.398 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/0.3067, allocations: 0.812 MB / 446.8 MB, free: 6.586 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001897/0.3086, allocations: 1.313 MB / 448.1 MB, free: 5.047 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003592/0.3122, allocations: 2.255 MB / 450.4 MB, free: 2.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.926e-05/0.3122, allocations: 4 kB / 450.4 MB, free: 2.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.3522/0.6645, allocations: 2.782 MB / 453.2 MB, free: 67.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.831e-05/0.6647, allocations: 16.12 kB / 453.2 MB, free: 67.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-05/0.6648, allocations: 16.16 kB / 453.2 MB, free: 67.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001728/0.6665, allocations: 424.7 kB / 453.6 MB, free: 67.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002336/0.6688, allocations: 393.3 kB / 454 MB, free: 67.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008863/0.6777, allocations: 5.777 MB / 459.8 MB, free: 64.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002945/0.6807, allocations: 129.5 kB / 459.9 MB, free: 64.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003832/0.6812, allocations: 72.19 kB / 460 MB, free: 64.59 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.002676/0.6838, allocations: 0.7886 MB / 460.8 MB, free: 64.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/0.6849, allocations: 200.6 kB / 461 MB, free: 64.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006009/0.6909, allocations: 2.378 MB / 463.3 MB, free: 63.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-05/0.691, allocations: 17.14 kB / 463.3 MB, free: 63.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.648e-05/0.6911, allocations: 6.312 kB / 463.4 MB, free: 63.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-05/0.6911, allocations: 7.875 kB / 463.4 MB, free: 63.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01572/0.7068, allocations: 5.275 MB / 468.6 MB, free: 61.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-05/0.7069, allocations: 4.125 kB / 468.6 MB, free: 61.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/0.7082, allocations: 250.1 kB / 468.9 MB, free: 61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001635/0.7098, allocations: 457.6 kB / 469.3 MB, free: 60.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001939/0.7101, allocations: 42.03 kB / 469.4 MB, free: 60.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007932/0.718, allocations: 7.342 MB / 476.7 MB, free: 55.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/0.7181, allocations: 3.938 kB / 476.7 MB, free: 55.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006886/0.725, allocations: 3.582 MB / 480.3 MB, free: 53.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00172/0.7268, allocations: 451.6 kB / 480.7 MB, free: 52.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007653/0.7275, allocations: 37.8 kB / 480.8 MB, free: 52.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00182/0.7294, allocations: 105.5 kB / 480.9 MB, free: 52.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003515/0.7298, allocations: 113 kB / 481 MB, free: 52.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/0.7299, allocations: 45.67 kB / 481 MB, free: 52.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003291/0.7332, allocations: 1.292 MB / 482.3 MB, free: 52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7332, allocations: 0 / 482.3 MB, free: 52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003663/0.7369, allocations: 0.5429 MB / 482.9 MB, free: 51.95 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.0006824/0.7376, allocations: 222.4 kB / 483.1 MB, free: 51.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004834/0.7424, allocations: 2.417 MB / 485.5 MB, free: 50.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.769e-06/0.7425, allocations: 0.875 kB / 485.5 MB, free: 50.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002514/0.745, allocations: 1.515 MB / 487 MB, free: 48.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003936/0.749, allocations: 455.9 kB / 487.5 MB, free: 48.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/0.7631, allocations: 5.101 MB / 492.6 MB, free: 43.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003017/0.7662, allocations: 2.006 MB / 494.6 MB, free: 41.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002282/0.7685, allocations: 427.7 kB / 495 MB, free: 40.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008698/0.7694, allocations: 131.4 kB / 495.1 MB, free: 40.56 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.7694, allocations: 0 / 495.1 MB, free: 40.56 MB / 382.1 MB Notification: Performance of Templates: time 0.05615/0.8256, allocations: 28.51 MB / 0.5114 GB, free: 12.02 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)