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.007842/0.007842, allocations: 95.61 kB / 15.73 MB, free: 6.043 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.00145/0.00145, allocations: 196.7 kB / 16.67 MB, free: 5.973 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.729/1.729, 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.001267/0.001267, allocations: 53.3 kB / 326.6 MB, free: 14.56 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1444, allocations: 46.63 MB / 373.2 MB, free: 1.426 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01394/0.1584, allocations: 11.43 MB / 384.6 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009368/0.1678, allocations: 3.905 MB / 388.5 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002972/0.1708, allocations: 51.75 kB / 388.6 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003579/0.1745, allocations: 0.8424 MB / 389.4 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004622/0.1792, allocations: 0.9355 MB / 390.3 MB, free: 192 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.1811, allocations: 0.5148 MB / 390.9 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00661/0.1878, allocations: 3.222 MB / 394.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005497/0.1933, allocations: 2.538 MB / 396.6 MB, free: 9.828 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004099/0.1974, allocations: 1.437 MB / 398.1 MB, free: 8.387 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00436/0.2018, allocations: 1.81 MB / 399.9 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002206/0.204, allocations: 388 kB / 400.2 MB, free: 6.191 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003443/0.2075, allocations: 0.6207 MB / 400.9 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002271/0.2098, allocations: 1.067 MB / 401.9 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005054/0.2149, allocations: 1.719 MB / 403.7 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0115/0.2264, allocations: 5.06 MB / 408.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.174e-05/0.2265, allocations: 0 / 408.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.2265, allocations: 4 kB / 408.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000373/0.2269, allocations: 0 / 408.7 MB, free: 13.69 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.01268/0.2396, allocations: 3.551 MB / 412.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.91e-05/0.2397, allocations: 15.89 kB / 412.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/0.2412, allocations: 426.7 kB / 412.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003444/0.2446, allocations: 1.743 MB / 414.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/0.2448, allocations: 201.1 kB / 414.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003638/0.2452, allocations: 252 kB / 414.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005753/0.2509, allocations: 3.239 MB / 418.1 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.902e-05/0.251, allocations: 11.98 kB / 418.1 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000254/0.2513, allocations: 104 kB / 418.2 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001416/0.2514, allocations: 112.9 kB / 418.3 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005059/0.2565, allocations: 2.705 MB / 421.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02058/0.2771, allocations: 10.29 MB / 431.3 MB, free: 6.516 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002391/0.2796, allocations: 1.766 MB / 433.1 MB, free: 4.629 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001788/0.2814, allocations: 1.042 MB / 434.1 MB, free: 3.586 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003699/0.2818, allocations: 219.1 kB / 434.4 MB, free: 3.336 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/0.2818, allocations: 43.56 kB / 434.4 MB, free: 3.281 MB / 366.1 MB Notification: Performance of pre-optimization done (n=115): time 6.032e-06/0.2818, allocations: 0 / 434.4 MB, free: 3.281 MB / 366.1 MB Notification: Performance of matching and sorting (n=134): time 0.01954/0.3014, allocations: 7.444 MB / 441.8 MB, free: 11.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.868e-05/0.3016, allocations: 72.72 kB / 441.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003888/0.3055, allocations: 1.873 MB / 443.8 MB, free: 9.766 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001205/0.3056, allocations: 49.7 kB / 443.8 MB, free: 9.711 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001104/0.3067, allocations: 1.272 MB / 445.1 MB, free: 8.426 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004923/0.3072, allocations: 487.9 kB / 445.6 MB, free: 7.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005368/0.3078, allocations: 307.4 kB / 445.9 MB, free: 7.637 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3079, allocations: 305.1 kB / 446.2 MB, free: 7.336 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/0.3093, allocations: 0.8081 MB / 447 MB, free: 6.527 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00195/0.3113, allocations: 1.32 MB / 448.3 MB, free: 4.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003354/0.3147, allocations: 2.251 MB / 450.6 MB, free: 2.516 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.3147, allocations: 4 kB / 450.6 MB, free: 2.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.419/0.7338, allocations: 2.794 MB / 453.4 MB, free: 67.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.036e-05/0.7339, allocations: 19.34 kB / 453.4 MB, free: 67.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.107e-05/0.734, allocations: 15.5 kB / 453.4 MB, free: 67.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001935/0.736, allocations: 420.3 kB / 453.8 MB, free: 67.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002841/0.7388, allocations: 400.4 kB / 454.2 MB, free: 67.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01012/0.749, allocations: 5.778 MB / 460 MB, free: 64.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003317/0.7524, allocations: 126.8 kB / 460.1 MB, free: 64.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003116/0.7527, allocations: 72.02 kB / 460.2 MB, free: 64.4 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.003253/0.756, allocations: 0.7856 MB / 461 MB, free: 64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001189/0.7572, allocations: 209.5 kB / 461.2 MB, free: 63.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007237/0.7644, allocations: 2.379 MB / 463.5 MB, free: 63.03 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.05e-05/0.7645, allocations: 19.69 kB / 463.6 MB, free: 63.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.809e-05/0.7646, allocations: 8.406 kB / 463.6 MB, free: 63.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-05/0.7646, allocations: 5.766 kB / 463.6 MB, free: 63.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01584/0.7805, allocations: 5.271 MB / 468.8 MB, free: 60.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/0.7806, allocations: 4.125 kB / 468.9 MB, free: 60.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/0.7818, allocations: 251.9 kB / 469.1 MB, free: 60.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001585/0.7834, allocations: 465.2 kB / 469.6 MB, free: 60.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001451/0.7836, allocations: 38.98 kB / 469.6 MB, free: 60.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008018/0.7916, allocations: 7.333 MB / 476.9 MB, free: 54.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.377e-06/0.7917, allocations: 7.875 kB / 476.9 MB, free: 54.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007362/0.799, allocations: 3.588 MB / 480.5 MB, free: 52.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001731/0.8008, allocations: 465 kB / 481 MB, free: 52.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000288/0.8011, allocations: 34.06 kB / 481 MB, free: 52.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/0.8024, allocations: 105.4 kB / 481.1 MB, free: 52.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004312/0.8028, allocations: 122.1 kB / 481.2 MB, free: 52.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/0.8029, allocations: 39.06 kB / 481.3 MB, free: 52.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002708/0.8056, allocations: 1.291 MB / 482.6 MB, free: 51.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8057, allocations: 3.781 kB / 482.6 MB, free: 51.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003225/0.8089, allocations: 0.5448 MB / 483.1 MB, free: 51.73 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.0006724/0.8096, allocations: 220.4 kB / 483.3 MB, free: 51.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004836/0.8144, allocations: 2.421 MB / 485.7 MB, free: 50.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/0.8145, allocations: 0 / 485.7 MB, free: 50.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002534/0.817, allocations: 1.52 MB / 487.3 MB, free: 48.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003883/0.8209, allocations: 440 kB / 487.7 MB, free: 48.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01358/0.8345, allocations: 5.204 MB / 492.9 MB, free: 42.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002083/0.8367, allocations: 2.006 MB / 494.9 MB, free: 40.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001983/0.8387, allocations: 423.7 kB / 495.3 MB, free: 40.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004397/0.8391, allocations: 131.4 kB / 495.4 MB, free: 40.19 MB / 382.1 MB Notification: Performance of SimCode: time 2.865e-06/0.8392, allocations: 0 / 495.4 MB, free: 40.19 MB / 382.1 MB Notification: Performance of Templates: time 0.05676/0.8959, allocations: 28.5 MB / 0.5117 GB, free: 11.66 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)