Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001252/0.001252, allocations: 109.1 kB / 17.06 MB, free: 6.016 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.00163/0.001631, allocations: 192 kB / 18 MB, free: 5.098 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.701/1.701, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001658/0.001658, allocations: 55.86 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1475, allocations: 46.61 MB / 374.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.3779/0.5254, allocations: 11.42 MB / 385.9 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01199/0.5375, allocations: 3.926 MB / 389.8 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004469/0.542, allocations: 54.94 kB / 389.9 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00428/0.5464, allocations: 0.8458 MB / 390.7 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006716/0.5532, allocations: 0.9393 MB / 391.7 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002632/0.5558, allocations: 0.515 MB / 392.2 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01191/0.5677, allocations: 3.215 MB / 395.4 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007859/0.5757, allocations: 2.54 MB / 397.9 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00596/0.5817, allocations: 1.436 MB / 399.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00782/0.5896, allocations: 1.813 MB / 401.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003045/0.5927, allocations: 386.3 kB / 401.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005066/0.5978, allocations: 0.6261 MB / 402.2 MB, free: 15 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003488/0.6013, allocations: 1.075 MB / 403.3 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007098/0.6085, allocations: 1.72 MB / 405 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01421/0.6227, allocations: 5.043 MB / 410 MB, free: 9.734 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-05/0.6228, allocations: 1.125 kB / 410 MB, free: 9.734 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.93e-06/0.6229, allocations: 0 / 410 MB, free: 9.734 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002833/0.6232, allocations: 0 / 410 MB, free: 9.734 MB / 334.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.02734/0.6505, allocations: 3.471 MB / 413.5 MB, free: 7.367 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.207e-05/0.6507, allocations: 14.52 kB / 413.5 MB, free: 7.363 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004901/0.6556, allocations: 416 kB / 413.9 MB, free: 7.168 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01051/0.6661, allocations: 1.732 MB / 415.7 MB, free: 5.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006588/0.6669, allocations: 187.2 kB / 415.8 MB, free: 5.844 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002123/0.669, allocations: 261.1 kB / 416.1 MB, free: 5.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01512/0.6842, allocations: 3.245 MB / 419.3 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001865/0.6844, allocations: 7.938 kB / 419.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001006/0.6854, allocations: 104 kB / 419.5 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002122/0.6857, allocations: 112.9 kB / 419.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008829/0.6945, allocations: 2.701 MB / 422.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03225/0.7268, allocations: 10.25 MB / 432.5 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003563/0.7305, allocations: 1.786 MB / 434.3 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002659/0.7332, allocations: 1.038 MB / 435.3 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004895/0.7337, allocations: 207.2 kB / 435.5 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.413e-05/0.7338, allocations: 43.56 kB / 435.6 MB, free: 1.938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=115): time 1.053e-05/0.7338, allocations: 0 / 435.6 MB, free: 1.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=134): time 0.02383/0.7577, allocations: 7.412 MB / 443 MB, free: 10.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.933e-05/0.7578, allocations: 64.72 kB / 443.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005856/0.7637, allocations: 1.869 MB / 444.9 MB, free: 8.457 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005237/0.7643, allocations: 45.7 kB / 445 MB, free: 8.406 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00155/0.7658, allocations: 1.253 MB / 446.2 MB, free: 7.137 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008511/0.7667, allocations: 465.2 kB / 446.7 MB, free: 6.676 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006483/0.7674, allocations: 299.3 kB / 447 MB, free: 6.375 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.7675, allocations: 301.1 kB / 447.3 MB, free: 6.078 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/0.7691, allocations: 0.8158 MB / 448.1 MB, free: 5.262 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002037/0.7712, allocations: 1.313 MB / 449.4 MB, free: 3.723 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003741/0.7749, allocations: 2.255 MB / 451.6 MB, free: 1.254 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-05/0.7749, allocations: 4 kB / 451.6 MB, free: 1.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.006127/0.7811, allocations: 2.795 MB / 454.4 MB, free: 14.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/0.7812, allocations: 12 kB / 454.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-05/0.7812, allocations: 16 kB / 454.5 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/0.7825, allocations: 419.2 kB / 454.9 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/0.7842, allocations: 415.2 kB / 455.3 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007446/0.7916, allocations: 5.772 MB / 461.1 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003118/0.7948, allocations: 119.8 kB / 461.2 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003708/0.7952, allocations: 76.14 kB / 461.2 MB, free: 7.328 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.7979, allocations: 0.7862 MB / 462 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/0.799, allocations: 197.6 kB / 462.2 MB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004895/0.8039, allocations: 2.383 MB / 464.6 MB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-05/0.8039, allocations: 23.88 kB / 464.6 MB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.804, allocations: 0 / 464.6 MB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.286e-05/0.804, allocations: 15.91 kB / 464.6 MB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01247/0.8165, allocations: 5.255 MB / 469.9 MB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.416e-05/0.8166, allocations: 15.92 kB / 469.9 MB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/0.8178, allocations: 256.2 kB / 470.2 MB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001591/0.8194, allocations: 454 kB / 470.6 MB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/0.8196, allocations: 39.97 kB / 470.7 MB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009596/0.8292, allocations: 7.326 MB / 478 MB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.819e-06/0.8292, allocations: 7.938 kB / 478 MB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009232/0.8385, allocations: 3.59 MB / 481.6 MB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002399/0.841, allocations: 450.6 kB / 482 MB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001169/0.8422, allocations: 32 kB / 482 MB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002604/0.8448, allocations: 99.88 kB / 482.1 MB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005255/0.8453, allocations: 116.7 kB / 482.3 MB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000203/0.8456, allocations: 39.94 kB / 482.3 MB, free: 1.496 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.004188/0.8498, allocations: 1.298 MB / 483.6 MB, free: 212 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8498, allocations: 0 / 483.6 MB, free: 212 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.004829/0.8546, allocations: 0.5391 MB / 484.1 MB, free: 15.66 MB / 414.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.001235/0.8559, allocations: 220.7 kB / 484.4 MB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006327/0.8623, allocations: 2.423 MB / 486.8 MB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/0.8623, allocations: 0 / 486.8 MB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003581/0.8659, allocations: 1.527 MB / 488.3 MB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005582/0.8715, allocations: 455.8 kB / 488.7 MB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/0.8855, allocations: 5.098 MB / 493.8 MB, free: 5.773 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003134/0.8887, allocations: 2.002 MB / 495.8 MB, free: 3.738 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002512/0.8913, allocations: 431.6 kB / 496.3 MB, free: 3.312 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005051/0.8918, allocations: 131.4 kB / 496.4 MB, free: 3.184 MB / 414.1 MB Notification: Performance of SimCode: time 1.623e-06/0.8918, allocations: 0 / 496.4 MB, free: 3.184 MB / 414.1 MB Notification: Performance of Templates: time 0.07465/0.9665, allocations: 28.99 MB / 0.5131 GB, free: 6.137 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1)