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.0009352/0.0009353, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.00841/0.008411, allocations: 170.4 kB / 16.27 MB, free: 6.648 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.942/1.942, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0005435/0.0005436, allocations: 16 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.506/0.5066, allocations: 47.58 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01707/0.5237, allocations: 10.77 MB / 337.8 MB, free: 8.562 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01468/0.5385, allocations: 3.833 MB / 341.6 MB, free: 4.719 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005618/0.5442, allocations: 47.81 kB / 341.7 MB, free: 4.672 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005125/0.5494, allocations: 0.7306 MB / 342.4 MB, free: 3.938 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006657/0.5561, allocations: 0.8469 MB / 343.3 MB, free: 3.086 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002775/0.5589, allocations: 459.5 kB / 343.7 MB, free: 2.637 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00798/0.5669, allocations: 3.581 MB / 347.3 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005528/0.5725, allocations: 2.11 MB / 349.4 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003445/0.576, allocations: 1.081 MB / 350.5 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0043/0.5804, allocations: 1.54 MB / 352 MB, free: 10.24 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001378/0.5818, allocations: 164 kB / 352.2 MB, free: 10.08 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002542/0.5844, allocations: 427.5 kB / 352.6 MB, free: 9.664 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002229/0.5866, allocations: 0.8058 MB / 353.4 MB, free: 8.855 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005242/0.5919, allocations: 1.451 MB / 354.9 MB, free: 7.391 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01036/0.6023, allocations: 4.733 MB / 359.6 MB, free: 2.641 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.482e-05/0.6024, allocations: 4 kB / 359.6 MB, free: 2.637 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.157e-06/0.6024, allocations: 0 / 359.6 MB, free: 2.637 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002979/0.6027, allocations: 0 / 359.6 MB, free: 2.637 MB / 286.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.01195/0.6147, allocations: 2.95 MB / 362.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.067e-05/0.6148, allocations: 16.02 kB / 362.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003319/0.6181, allocations: 409 kB / 363 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007024/0.6252, allocations: 1.71 MB / 364.7 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004329/0.6257, allocations: 205.3 kB / 364.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001509/0.6272, allocations: 255.8 kB / 365.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01225/0.6395, allocations: 3.255 MB / 368.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.909e-05/0.6396, allocations: 11.84 kB / 368.4 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002739/0.6399, allocations: 108 kB / 368.5 MB, free: 9.535 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001639/0.64, allocations: 112.9 kB / 368.6 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00617/0.6462, allocations: 2.725 MB / 371.3 MB, free: 6.684 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02106/0.6673, allocations: 10.44 MB / 381.8 MB, free: 11.9 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0026/0.6699, allocations: 1.794 MB / 383.6 MB, free: 9.992 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001878/0.6718, allocations: 1.061 MB / 384.6 MB, free: 8.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003315/0.6722, allocations: 203.2 kB / 384.8 MB, free: 8.691 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.183e-05/0.6723, allocations: 47.56 kB / 384.9 MB, free: 8.637 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 3.998e-06/0.6723, allocations: 4 kB / 384.9 MB, free: 8.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.02119/0.6935, allocations: 7.761 MB / 392.6 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.42e-05/0.6936, allocations: 68.72 kB / 392.7 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004195/0.6978, allocations: 1.869 MB / 394.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000285/0.6981, allocations: 49.7 kB / 394.6 MB, free: 14.74 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001181/0.6993, allocations: 1.249 MB / 395.9 MB, free: 13.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005753/0.6999, allocations: 465.3 kB / 396.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.7001, allocations: 137.6 kB / 396.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.7003, allocations: 301.1 kB / 396.8 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/0.7018, allocations: 0.8237 MB / 397.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00202/0.7039, allocations: 1.332 MB / 398.9 MB, free: 10.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003549/0.7074, allocations: 2.29 MB / 401.2 MB, free: 7.699 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.7075, allocations: 4 kB / 401.2 MB, free: 7.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005972/0.7134, allocations: 2.83 MB / 404 MB, free: 4.824 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.232e-05/0.7135, allocations: 12 kB / 404 MB, free: 4.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.878e-05/0.7135, allocations: 16 kB / 404.1 MB, free: 4.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.7148, allocations: 430.4 kB / 404.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/0.7163, allocations: 403.4 kB / 404.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006847/0.7232, allocations: 5.308 MB / 410.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002788/0.726, allocations: 135.7 kB / 410.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000357/0.7263, allocations: 75.98 kB / 410.4 MB, free: 14.19 MB / 350.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.002832/0.7292, allocations: 0.79 MB / 411.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001127/0.7303, allocations: 193.7 kB / 411.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006262/0.7366, allocations: 2.418 MB / 413.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.92e-05/0.7367, allocations: 19.98 kB / 413.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.392e-05/0.7367, allocations: 4 kB / 413.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.021e-05/0.7368, allocations: 3.984 kB / 413.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01413/0.7509, allocations: 5.317 MB / 419.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-05/0.751, allocations: 8.125 kB / 419.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.7522, allocations: 263.6 kB / 419.4 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001422/0.7536, allocations: 462 kB / 419.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/0.7538, allocations: 39.86 kB / 419.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009475/0.7633, allocations: 6.734 MB / 426.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-05/0.7633, allocations: 11.94 kB / 426.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00791/0.7713, allocations: 3.623 MB / 430.3 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00182/0.7731, allocations: 458.7 kB / 430.7 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000814/0.774, allocations: 43.97 kB / 430.7 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/0.7758, allocations: 111.9 kB / 430.9 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003743/0.7762, allocations: 112.7 kB / 431 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/0.7763, allocations: 43.98 kB / 431 MB, free: 8.812 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003643/0.78, allocations: 1.291 MB / 432.3 MB, free: 7.531 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.78, allocations: 7.938 kB / 432.3 MB, free: 7.523 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003553/0.7836, allocations: 0.543 MB / 432.8 MB, free: 6.98 MB / 366.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.0008655/0.7845, allocations: 215 kB / 433.1 MB, free: 6.758 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005257/0.7897, allocations: 2.444 MB / 435.5 MB, free: 4.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.04e-05/0.7898, allocations: 4.312 kB / 435.5 MB, free: 4.266 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003283/0.7931, allocations: 1.529 MB / 437 MB, free: 2.699 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005696/0.7988, allocations: 422.3 kB / 437.4 MB, free: 2.285 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01402/0.8129, allocations: 6.386 MB / 443.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002586/0.8155, allocations: 2.006 MB / 445.8 MB, free: 9.762 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002072/0.8176, allocations: 431.6 kB / 446.3 MB, free: 9.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004265/0.8181, allocations: 131.4 kB / 446.4 MB, free: 9.207 MB / 382.1 MB Notification: Performance of SimCode: time 1.532e-06/0.8181, allocations: 0 / 446.4 MB, free: 9.207 MB / 382.1 MB Notification: Performance of Templates: time 0.3357/1.154, allocations: 26.41 MB / 472.8 MB, free: 102.4 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)