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.009491/0.009491, allocations: 101.8 kB / 15.73 MB, free: 5.492 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.001254/0.001254, allocations: 186.8 kB / 16.67 MB, free: 5.422 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.772/1.772, allocations: 205.1 MB / 222.5 MB, free: 12.21 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.00115/0.00115, allocations: 47.92 kB / 326.6 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1202, allocations: 46.62 MB / 373.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.3474/0.4676, allocations: 11.42 MB / 384.6 MB, free: 7.465 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01116/0.4789, allocations: 3.92 MB / 388.5 MB, free: 4.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004169/0.4831, allocations: 50.28 kB / 388.6 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003675/0.4869, allocations: 0.8357 MB / 389.4 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006203/0.4931, allocations: 0.9438 MB / 390.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002991/0.4961, allocations: 0.5149 MB / 390.9 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008122/0.5043, allocations: 3.218 MB / 394.1 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005014/0.5093, allocations: 2.552 MB / 396.6 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004306/0.5136, allocations: 1.418 MB / 398 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006031/0.5197, allocations: 1.813 MB / 399.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001934/0.5217, allocations: 387.3 kB / 400.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003301/0.525, allocations: 0.6259 MB / 400.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001823/0.5268, allocations: 1.069 MB / 401.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004288/0.5312, allocations: 1.726 MB / 403.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.5419, allocations: 5.038 MB / 408.7 MB, free: 9.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.542, allocations: 1.156 kB / 408.7 MB, free: 9.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.542, allocations: 0 / 408.7 MB, free: 9.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002516/0.5423, allocations: 0 / 408.7 MB, free: 9.73 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.01535/0.5576, allocations: 3.484 MB / 412.2 MB, free: 7.352 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.503e-05/0.5577, allocations: 13.58 kB / 412.2 MB, free: 7.348 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002226/0.56, allocations: 413.4 kB / 412.6 MB, free: 7.156 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005239/0.5653, allocations: 1.719 MB / 414.3 MB, free: 5.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002219/0.5655, allocations: 195 kB / 414.5 MB, free: 5.836 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007433/0.5663, allocations: 255.5 kB / 414.8 MB, free: 5.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00814/0.5744, allocations: 3.251 MB / 418 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.691e-05/0.5746, allocations: 7.938 kB / 418 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002717/0.5748, allocations: 100 kB / 418.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001926/0.575, allocations: 120.9 kB / 418.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006033/0.5811, allocations: 2.694 MB / 420.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02946/0.6106, allocations: 10.25 MB / 431.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003258/0.6139, allocations: 1.782 MB / 433 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002118/0.6161, allocations: 1.038 MB / 434 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003825/0.6165, allocations: 215.1 kB / 434.2 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.412e-05/0.6166, allocations: 43.56 kB / 434.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=115): time 4.499e-06/0.6166, allocations: 0 / 434.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=134): time 0.02141/0.638, allocations: 7.408 MB / 441.7 MB, free: 10.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.576e-05/0.6381, allocations: 68.7 kB / 441.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004356/0.6425, allocations: 1.869 MB / 443.6 MB, free: 8.453 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003203/0.6428, allocations: 50.53 kB / 443.6 MB, free: 8.398 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001001/0.6439, allocations: 1.249 MB / 444.9 MB, free: 7.133 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005152/0.6444, allocations: 469.2 kB / 445.3 MB, free: 6.668 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005007/0.6449, allocations: 295.3 kB / 445.6 MB, free: 6.371 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.645, allocations: 305.1 kB / 445.9 MB, free: 6.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/0.6464, allocations: 0.812 MB / 446.7 MB, free: 5.258 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/0.6481, allocations: 1.313 MB / 448.1 MB, free: 3.719 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003207/0.6513, allocations: 2.251 MB / 450.3 MB, free: 1.254 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.6514, allocations: 4 kB / 450.3 MB, free: 1.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005232/0.6566, allocations: 2.795 MB / 453.1 MB, free: 14.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.6567, allocations: 15.94 kB / 453.1 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-05/0.6567, allocations: 16.28 kB / 453.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.6578, allocations: 422.2 kB / 453.5 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.6593, allocations: 403.3 kB / 453.9 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006309/0.6656, allocations: 5.77 MB / 459.7 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002708/0.6684, allocations: 123.8 kB / 459.8 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004109/0.6688, allocations: 75.98 kB / 459.9 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.002239/0.671, allocations: 0.7979 MB / 460.7 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008672/0.6719, allocations: 193.7 kB / 460.9 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004487/0.6764, allocations: 2.379 MB / 463.3 MB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.619e-05/0.6765, allocations: 12 kB / 463.3 MB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.6765, allocations: 4 kB / 463.3 MB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.069e-05/0.6765, allocations: 15.91 kB / 463.3 MB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01044/0.687, allocations: 5.259 MB / 468.6 MB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.687, allocations: 7.984 kB / 468.6 MB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.6881, allocations: 251.6 kB / 468.8 MB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001245/0.6893, allocations: 467.2 kB / 469.3 MB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001156/0.6895, allocations: 35.98 kB / 469.3 MB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007285/0.6968, allocations: 7.328 MB / 476.6 MB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/0.6968, allocations: 15.86 kB / 476.7 MB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006383/0.7032, allocations: 3.575 MB / 480.2 MB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001624/0.7048, allocations: 450.6 kB / 480.7 MB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004386/0.7053, allocations: 35.97 kB / 480.7 MB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.7065, allocations: 103.9 kB / 480.8 MB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002945/0.7068, allocations: 112.7 kB / 480.9 MB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.951e-05/0.707, allocations: 47.92 kB / 481 MB, free: 1.492 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002013/0.709, allocations: 1.295 MB / 482.3 MB, free: 212 kB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.709, allocations: 0 / 482.3 MB, free: 212 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.002405/0.7114, allocations: 0.543 MB / 482.8 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.0005296/0.712, allocations: 218.8 kB / 483 MB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004282/0.7162, allocations: 2.421 MB / 485.4 MB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.7163, allocations: 4.062 kB / 485.4 MB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002531/0.7188, allocations: 1.513 MB / 486.9 MB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002781/0.7216, allocations: 450.9 kB / 487.4 MB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.7325, allocations: 5.101 MB / 492.5 MB, free: 5.789 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001699/0.7343, allocations: 2.006 MB / 494.5 MB, free: 3.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00171/0.736, allocations: 431.6 kB / 494.9 MB, free: 3.324 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004129/0.7364, allocations: 131.4 kB / 495 MB, free: 3.195 MB / 414.1 MB Notification: Performance of SimCode: time 8.62e-07/0.7364, allocations: 0 / 495 MB, free: 3.195 MB / 414.1 MB Notification: Performance of Templates: time 0.05894/0.7954, allocations: 28.5 MB / 0.5113 GB, free: 6.645 MB / 446.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)