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.01124/0.01124, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.002229/0.002229, allocations: 194.9 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.734/1.734, allocations: 205.1 MB / 222.6 MB, free: 4.5 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.001478/0.001478, allocations: 58.89 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.157, allocations: 46.63 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01807/0.1752, allocations: 11.43 MB / 384.6 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01085/0.1861, allocations: 3.905 MB / 388.5 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003012/0.1892, allocations: 55.75 kB / 388.6 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003325/0.1926, allocations: 0.858 MB / 389.4 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005168/0.1978, allocations: 0.9784 MB / 390.4 MB, free: 4 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.1996, allocations: 0.5071 MB / 390.9 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005816/0.2055, allocations: 3.226 MB / 394.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0038/0.2093, allocations: 2.538 MB / 396.7 MB, free: 9.648 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00287/0.2122, allocations: 1.437 MB / 398.1 MB, free: 8.207 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003573/0.2158, allocations: 1.814 MB / 399.9 MB, free: 6.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007382/0.2165, allocations: 388 kB / 400.3 MB, free: 6.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.2181, allocations: 0.6206 MB / 400.9 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001298/0.2194, allocations: 1.067 MB / 402 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002532/0.222, allocations: 1.719 MB / 403.7 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007921/0.2299, allocations: 5.06 MB / 408.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.155e-05/0.23, allocations: 0 / 408.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.23, allocations: 0 / 408.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002156/0.2303, allocations: 0 / 408.8 MB, free: 13.51 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.01119/0.2415, allocations: 3.562 MB / 412.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.263e-05/0.2416, allocations: 15.88 kB / 412.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/0.2433, allocations: 430.8 kB / 412.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004075/0.2474, allocations: 1.735 MB / 414.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001911/0.2476, allocations: 205.1 kB / 414.7 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004222/0.2481, allocations: 251.9 kB / 415 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006791/0.2549, allocations: 3.235 MB / 418.2 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.902e-05/0.255, allocations: 15.94 kB / 418.2 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002414/0.2552, allocations: 104 kB / 418.3 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001422/0.2554, allocations: 116.9 kB / 418.4 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005392/0.2608, allocations: 2.697 MB / 421.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02046/0.2813, allocations: 10.28 MB / 431.4 MB, free: 6.332 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002677/0.284, allocations: 1.774 MB / 433.2 MB, free: 4.438 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001874/0.2859, allocations: 1.046 MB / 434.2 MB, free: 3.391 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003743/0.2863, allocations: 203.2 kB / 434.4 MB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.071e-05/0.2863, allocations: 47.56 kB / 434.5 MB, free: 3.098 MB / 366.1 MB Notification: Performance of pre-optimization done (n=115): time 7.434e-06/0.2864, allocations: 0 / 434.5 MB, free: 3.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=134): time 0.02208/0.3085, allocations: 7.452 MB / 441.9 MB, free: 11.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/0.3086, allocations: 64.72 kB / 442 MB, free: 11.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003644/0.3122, allocations: 1.876 MB / 443.9 MB, free: 9.578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001733/0.3124, allocations: 49.7 kB / 443.9 MB, free: 9.523 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001161/0.3136, allocations: 1.283 MB / 445.2 MB, free: 8.227 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005431/0.3141, allocations: 487.9 kB / 445.7 MB, free: 7.746 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005587/0.3147, allocations: 295.4 kB / 446 MB, free: 7.449 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3149, allocations: 301.1 kB / 446.3 MB, free: 7.152 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/0.3164, allocations: 0.8159 MB / 447.1 MB, free: 6.336 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001943/0.3184, allocations: 1.317 MB / 448.4 MB, free: 4.793 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003395/0.3218, allocations: 2.247 MB / 450.6 MB, free: 2.332 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/0.3218, allocations: 4 kB / 450.6 MB, free: 2.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.3564/0.6783, allocations: 2.796 MB / 453.4 MB, free: 67.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.339e-05/0.6784, allocations: 11.5 kB / 453.4 MB, free: 67.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-05/0.6784, allocations: 15.88 kB / 453.5 MB, free: 67.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001493/0.6799, allocations: 423.5 kB / 453.9 MB, free: 67.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002137/0.6821, allocations: 399 kB / 454.3 MB, free: 67.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006955/0.6891, allocations: 5.787 MB / 460.1 MB, free: 64.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002616/0.6917, allocations: 127.6 kB / 460.2 MB, free: 64.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002533/0.692, allocations: 70.48 kB / 460.2 MB, free: 64.54 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.002539/0.6945, allocations: 0.7901 MB / 461 MB, free: 64.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006816/0.6952, allocations: 208.9 kB / 461.2 MB, free: 64.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005513/0.7007, allocations: 2.375 MB / 463.6 MB, free: 63.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.64e-05/0.7008, allocations: 18.5 kB / 463.6 MB, free: 63.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/0.7008, allocations: 4 kB / 463.6 MB, free: 63.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.7e-05/0.7009, allocations: 7.844 kB / 463.6 MB, free: 63.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0122/0.7131, allocations: 5.282 MB / 468.9 MB, free: 60.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.975e-05/0.7131, allocations: 4.125 kB / 468.9 MB, free: 60.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.7142, allocations: 244.7 kB / 469.2 MB, free: 60.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001196/0.7154, allocations: 457.8 kB / 469.6 MB, free: 60.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.715e-05/0.7156, allocations: 45.09 kB / 469.7 MB, free: 60.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006966/0.7225, allocations: 7.341 MB / 477 MB, free: 55.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.7226, allocations: 7.906 kB / 477 MB, free: 55.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005548/0.7281, allocations: 3.586 MB / 480.6 MB, free: 53.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/0.7293, allocations: 460.5 kB / 481 MB, free: 52.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002449/0.7295, allocations: 47.44 kB / 481.1 MB, free: 52.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.7306, allocations: 104.5 kB / 481.2 MB, free: 52.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003206/0.731, allocations: 113.5 kB / 481.3 MB, free: 52.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.7311, allocations: 42.86 kB / 481.3 MB, free: 52.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002335/0.7334, allocations: 1.294 MB / 482.6 MB, free: 51.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7334, allocations: 0 / 482.6 MB, free: 51.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002783/0.7362, allocations: 0.5425 MB / 483.2 MB, free: 51.83 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.0005802/0.7368, allocations: 218.3 kB / 483.4 MB, free: 51.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004027/0.7409, allocations: 2.422 MB / 485.8 MB, free: 49.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.7409, allocations: 0 / 485.8 MB, free: 49.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002094/0.743, allocations: 1.52 MB / 487.3 MB, free: 48.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/0.7449, allocations: 450 kB / 487.8 MB, free: 47.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007756/0.7527, allocations: 5.195 MB / 493 MB, free: 42.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001399/0.7541, allocations: 2.006 MB / 495 MB, free: 40.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001419/0.7555, allocations: 431.7 kB / 495.4 MB, free: 40.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004303/0.756, allocations: 134.4 kB / 495.5 MB, free: 40.12 MB / 382.1 MB Notification: Performance of SimCode: time 1.203e-06/0.756, allocations: 0 / 495.5 MB, free: 40.12 MB / 382.1 MB Notification: Performance of Templates: time 0.05131/0.8073, allocations: 28.48 MB / 0.5117 GB, free: 11.61 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)